Microsoft Azure Administrator (AZ-104) · Section 1 · 23% of the exam
Manage licenses in Microsoft Entra ID
One of the objectives of the Microsoft Azure Administrator (AZ-104) exam, in the section “Manage Azure identities and governance”. Here is what it covers, the points to remember and a question to try.
What it covers
Every Azure subscription trusts a Microsoft Entra tenant (formerly Azure Active Directory). This lesson covers creating and editing users and groups, dynamic membership rules, and assigning licenses directly or through groups, including the usage-location rule behind most licensing errors.
Points to remember
- Microsoft Entra ID was Azure AD; a tenant (directory) can be trusted by many subscriptions, a subscription trusts exactly one tenant.
- Entra roles manage the directory; Azure roles manage resources. They are independent.
- Create users in the admin center, in bulk with a CSV template, or with
az ad user create/New-AzADUser. - Deleted users can be restored for 30 days; synced users must be edited on-premises.
- Group types: Security and Microsoft 365. Membership types: Assigned, Dynamic User, Dynamic Device.
Try a question
Which dynamic membership rule adds only users whose department is Sales and whose country is US?
- A(user.department -eq "Sales") -or (user.country -eq "US")
- Buser.department = Sales && user.country = US
- C(user.department -eq "Sales") -and (user.country -eq "US")
- D(user.department -contains "Sales") -and (user.country -ne "US")
Show the answer
C. Dynamic rules use the form <property> <operator> <value> with PowerShell-style operators (-eq, -ne, -contains) and combine expressions with -and, -or and -not. Requiring both conditions needs -and.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Users, groups and licenses in Microsoft Entra ID teaches this objective (about 45 minutes), and 16 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Create users and groups
- Manage user and group properties
- Manage external users
- Configure self-service password reset (SSPR)
- Manage built-in Azure roles
- Assign roles at different scopes
- Interpret access assignments
- Implement and manage Azure Policy
- Configure resource locks
- Apply and manage tags on resources
- Manage resource groups
- Manage subscriptions