Module 2: Identity in Azure

Module 2Level 1Azure Explorer

Identity in Azure

Microsoft Entra ID·45 minutes

Microsoft Entra ID conceptsUsers and groupsGroup membership typesAuthentication methodsExternal users and guest access+3 more
The situation

Who should administer Azure?

The Snips resource structure is in place. Now the Security team has asked you to define who should have access to the Azure environment and at what level. They want least-privilege access from day one and a clear group structure that can be managed centrally.

You need to design the Entra ID group structure for Azure administration and assign the right people to the right groups.

What you will learn

Microsoft Entra ID concepts
Users and groups
Group membership types
Authentication methods
External users and guest access
Administrative units
Managed identities introduction
Designing the Snips Entra ID structure

Microsoft Entra ID concepts

Users

Individual identity accounts. Snips staff use their existing Microsoft 365 accounts. No new accounts are needed for Azure access.

Groups

Collections of users. Assign Azure permissions to groups, not individuals. When someone changes role, update their group membership rather than hunting for individual permission assignments.

Security groups

Used for controlling access to resources. These are the groups you will use for Azure RBAC assignments.

Microsoft 365 groups

Used for collaboration features like shared mailboxes and Teams. Not typically used for Azure RBAC.

Dynamic membership

Group membership can be rule-based. For example, all users with the Department attribute set to Infrastructure could automatically join AZ-Platform-Admins.

Guest users (B2B)

External users invited to the Snips tenant. Contractors can be given guest access rather than full internal accounts.

Managed identities

An identity for Azure resources (not people). The Contractor Document Portal application can use a managed identity to access Azure Storage without storing credentials in code.

Administrator mindset: Always ask whether a permission should be assigned to a person or a group. If more than one person will ever need the same access, use a group. If the access is temporary, consider whether a group with a defined review date is appropriate.

The Snips Azure groups

AZ-Platform-AdminsFull administration of the Azure environment. Infrastructure Engineers only.
AZ-Network-AdminsAdministration of networking resources: VNets, NSGs, route tables, DNS.
AZ-ReadersRead-only access across all subscriptions. Service Desk and Finance.
AZ-Contractor-App-AdminsAdministration of the Contractor Document Portal resource group only.

Interactive exercise: assign staff to groups

For each Snips staff member, select the most appropriate Azure group. Consider the principle of least privilege.

Alice Morgan

Infrastructure Engineer

Sam Taylor

Service Desk Analyst

Priya Shah

Application Engineer

Jamie Wilson

Finance Analyst

Azure CLI

Manage Entra ID groups
# List all users in the Entra ID tenant
az ad user list --output table

# Create a new Entra ID group
az ad group create \
  --display-name "AZ-Platform-Admins" \
  --mail-nickname "AZ-Platform-Admins"

# Add a user to a group (use the user object ID)
az ad group member add \
  --group "AZ-Platform-Admins" \
  --member-id "<user-object-id>"

# List members of a group
az ad group member list --group "AZ-Platform-Admins" --output table

Knowledge check

Five questions on Microsoft Entra ID and identity management.

1.Alice Morgan needs to administer Azure infrastructure across all Snips subscriptions. Which Entra ID group should she be added to?

2.Why is it better to assign Azure permissions to groups rather than individual users?

3.A contractor needs temporary access to the Snips Azure environment. Which Entra ID feature should you use?

4.The Contractor Document Portal application needs to access Azure Storage without storing credentials in code. Which Entra ID feature should you use?

5.Jamie Wilson has moved from Finance to the Service Desk team. What is the correct action to update his Azure access?

Ready to mark this module complete?

Mark complete when you have read all sections, attempted the lab and completed the knowledge check.

AZ-104 objectives covered
  • Manage Azure identities and governance