CertLumen

Microsoft Azure Administrator (AZ-104) · Section 1 · 23% of the exam

Create users and groups

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

A contractor's contract is suspended for two weeks. The company wants to prevent sign-in but keep the account, its group memberships and its license. What should the administrator do?

  1. ADelete the user and restore it after two weeks
  2. BRemove the user from every group and remove the license
  3. CMove the user to a dynamic group with the rule user.accountEnabled -eq false
  4. DSet Account enabled to No (Block sign in) on the user
Show the answer

D. Blocking sign-in stops authentication but keeps the user object, memberships, roles and licenses. Deleting soft-deletes the user and removes access to everything immediately; stripping groups and licenses means rebuilding them later.

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

All 81 objectives · Next objective →