惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
IT之家
IT之家
博客园_首页
博客园 - 【当耐特】
V
V2EX
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
GbyAI
GbyAI
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
H
Help Net Security
T
Tailwind CSS Blog
B
Blog RSS Feed
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
博客园 - 叶小钗
雷峰网
雷峰网
量子位

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Azure Entra ID User & Role Management — Step-by-Step Prac...
olakunle mak · 2026-05-26 · via DEV Community

Before going into the step by step practical guide on Creating User Via Azure Active Directory (Microsoft Entra ID) and Assigning Roles with RBAC,I will like to define key concepts to learn:

  1. Microsoft Entra ID: Azure's Identity Management System Microsoft Entra ID(previously called Azure Active Directory or Azure AD) is the service that manages all identities in Azure. Every user account, every application identity, every group, all of them are stored and managed here. When you log into the Azure Portal, Entra ID is checking your credentials behind the scene.

2. Identity And Access Management(IAM)
Identity and Access Management(IAM) Is the system that answers three very important questions about every person or application that tries to use cloud: WHO are you? Are you really who you say you are? And what are you ALLOWED to do here? Which talks about IDENTITY! AUTHENTICATION! AUTHORISATION!

3. Role Based Access Control(RBAC)
RBAC is how Azure controls what a logged-in user is allowed to DO. Instead of giving everyone full admin access. RBAC lets you assign specific roles to specific people. RBAC allows administrators to assign permissions based on roles instead of assigning permissions individually.
Examples:
Global Administrator
User Administrator
Security Administrator

4.Principle of Least Privilege (PoLP)
Users should only have the minimum access required to perform their duties.

Azure Entra ID User & Role Management Practice Exercise

Create a new user in Azure Entra ID.

Sign in with the newly created user account.

Grant the user Global Administrator access.

Using the newly promoted account, create another new user in Azure Entra ID.

After creating the second user, revoke the Global Administrator access from the first user account.

Document the entire process with screenshots and explanations

The Practice Exercise involved:
In this exercise, I carried out administrative tasks in Microsoft Azure using Microsoft Entra ID.
Creating users in Azure Entra ID
Assigning Global Administrator privileges
Testing administrative access
Revoking elevated permissions
Demonstrating Identity and Access Management (IAM) best practices

Introduction

This step by step guide will helped us gain practical experience in Azure identity administration and role-based access control (RBAC).

Prerequisites

Before starting, ensure you have:
An active Azure subscription
Access to Azure Portal
First thing login to your Microsoft Azure Portal by going to https://portal.azure.com.

If you do not have an azure account sign up and create an account for free with this link https://azure.microsoft.com/en-us/free/. Registration will require a phone number and a debit or credit card details to validate your account even for the free account. You have a choice between the free or pay as you go account.

Official Portal:
Microsoft Azure Portal

Step 1 — Create a New User in Azure Entra ID

1.First thing login to your Microsoft Azure Portal by going to https://portal.azure.com.

2.Search for Microsoft Entra ID in the search bar at the top of your portal page and Select Microsoft Entra ID.

You are now in the Default Directory| Overview page.

3.Navigate to Users → + New user → Create new user.
Type Users on the search box and click on Users then click on + New User with a drop down arrow and click on create a new user

4.Fill in the details:

User principal name: Shalom1503
Display name: Shalom Ife
Password:***************
First name: Shalom
Last name: Ife
Usage location: Nigeria
And click on Next(Property)-> Next(Assignment)-> Review + create -> Create

Step 2 — Sign In with the Newly Created User Account

  1. Open a new browser/incognito window
  2. Go to: Microsoft Sign In Page
  3. Sign in using: . Newly created username . Username: Shalom1503@makansgreatolakunleoutlook.onmicrosoft.com . Password: saved password . Change password when prompted . Complete MFA setup when prompted by scanning the QRCODE

Step 3: Assign a Role to a User(Grant Global Administrator Access)

  1. Come to Default Directory through the Entra ID

2.Type USER on the search box and Click on the USER → SHALOM IFE(New User Created)

3.Select Assigned roles → + Add assignment.

4.Choose admin roles that you want to assign to user and add it

Step 4 — Use the Newly Promoted Account to Create Another User

# Sign in with the promoted user account to create another new user in Azure Entra ID

1.login to your Microsoft Azure Portal by going to
(https://portal.azure.com)
2.From the Default Directory page of the User created
'Shalom1503@makansgreatolakunleoutlook.onmicrosoft.com".
Click on +ADD → User → Create new user.

3 Fill in the details:
User principal name: Favour1403
Display name: Favour Timi
Password:***************
First Name:************
Last Name:*************

And click on Next(Properties)-> Next(Assignment)->

Review + create -> Create

Step 5 — Revoke Global Administrator Access from the First User

2.Navigate to and click on Microsoft Entra ID

3.Click on Manage button under the overview to bring down the arrow

which brings out the Roles and administrator button.
OVERVIEW -> MANAGE -> ROLES AND ADMINISTRATOR

4.On the search bar under the Administrator Roles, type the Global Administrator Roles given to the User and click on it

5.Click on the User given the Global administrator Roles(Shalom Ife)

6.Click the button in front of Global Administrator to make the X Remove Assignments button active and click on it and it will ask whether to Remove selected assignment. Click on YES

7.This successfully removed assignment "Global Administrator" from the
USER (Shalom Ife)

Removing/Revoking privileged access follows the concept called the Principle of Least Privilege (PoLP), ensuring users only retain permissions necessary for their tasks or give people only the minimum access needed to do their job

Conclusion

This assignment provided hands-on experience with Azure identity and access management using Microsoft Entra ID. This allow us to learn how to create users, assign administrative privileges, manage RBAC roles, and apply security best practices in a cloud environment.

The exercise also reinforced the importance of privilege management and secure administrative operations in enterprise cloud environments.