Exams / AZ-104 / D1 Manage Azure identities and governance
D1.1
Manage Microsoft Entra users and groups
- Create users and groups
- Manage user and group properties
- Manage licenses in Microsoft Entra ID
- Manage external users
- Configure self-service password reset (SSPR)
You are reading a free preview. The rest of the AZ-104 course unlocks with an Exam pass or All access.See plans
Identities at a glance
Users
| Task | How |
|---|---|
| Create one user | Admin center or New-MgUser (member account) |
| Many members | Bulk create: download and fill the CSV template |
| Many external users | Bulk invite (CSV) or New-MgInvitation per user → guest accounts |
| Bulk delete | CSV with the UPN or object ID of each user |
| Custom UPN suffix | Add custom domain → create the TXT or MX record at the DNS host → Verify |
- Synced users (from Windows Server AD): edit source attributes such as JobTitle on-premises. Entra-only attributes such as Usage Location can be edited in the admin center. Cloud members and guests are edited in Entra.
- Roles are per tenant: the creator of a new tenant is automatically its Global Administrator; roles held in another tenant don't apply. Subscription Owner is an Azure role and gives no directory rights.
- Default user permissions: members can register applications (which creates service principals) and invite guests. "Restrict access to Microsoft Entra administration portal" hides the portal pages but doesn't block PowerShell or Microsoft Graph.
- Administrative units scope an Entra role (User or Helpdesk Administrator) to the users of one office or region.
- Custom security attributes apply to users and enterprise applications (service principals). Attribute Definition Administrator defines them; Attribute Assignment Administrator assigns values. Global Administrator has no attribute permissions by default.
Groups
| Security group | Microsoft 365 group | |
|---|---|---|
| Membership types | Assigned, Dynamic user, Dynamic device | Assigned, Dynamic user |
| Expiration policy | No | Yes (only group type that expires) |
| Naming policy | No | Yes: Prefix[GroupName]Suffix; prefix or suffix = string or user attribute ([Department]) |
| Licensing | Yes | Yes, if security-enabled |
Dynamic membership rules:
(user.department -eq "Marketing") and (user.country -eq "France")
(user.city -startsWith "m")
(user.department -notIn ["human resources"])
- Nobody can add members manually to a dynamic group: the rule decides. Assigned groups are managed by their owners or group admins.
- Dynamic groups need Microsoft Entra ID P1 for each unique member.
- Bulk import + automatic placement by department = CSV bulk create + dynamic user groups.
Licenses
- Buying licenses entitles nobody: assign them to users directly or to a group.
- Group-based licensing:
- assigns licenses to the group's first-level members only: nested groups get nothing;
- inherited licenses are changed on the group (or by membership), not on the user;
- a user can still receive extra direct licenses;
- a group with licenses must have them removed before it can be deleted;
- users can always be deleted, which releases their licenses.
- On an Entra ID Free tenant, assign licenses to users directly. Group-based licensing is a premium feature.
Devices
| Device setting | Effect |
|---|---|
| Users may join devices to Microsoft Entra ID | All / Selected (users or groups) / None |
| Additional local administrators on joined devices | Users added to every Entra-joined device's local Administrators group |
| Require MFA to register or join devices | Second factor at join (Microsoft recommends the Conditional Access "Register or join devices" user action instead) |
| Maximum number of devices | Per-user cap on joined and registered devices |
At join, the local Administrators group gets the joining user, the Global Administrator role and the Microsoft Entra Joined Device Local Administrator role. Cloud Device and Intune administrators aren't added.
External users (B2B)
- External collaboration settings:
- Guest invite settings decide who may invite. A "Generic authorization exception" for an admin means invitations are restricted there.
- Collaboration restrictions take an allow list or block list of domains, for example to invite only fabrikam.com.
- Guest changes their sign-in email:
- In Edit properties, update Email.
- Under Overview > My Feed > B2B collaboration tile, select Reset redemption status.
- Entitlement management:
- An access package requested by "all configured connected organizations" is open only to the organizations you added.
- When an assignment expires, its access is removed.
- When the external user loses their last assignment, the account is blocked, then removed after N days (30 by default).
- Access reviews:
- Reviewers can be group owners.
- The scope "Guest users only" skips members.
- Nested groups are flattened in a group review.
Self-service password reset
- Scope: None / Selected (one group in the admin center) / All, never an individual user.
- Methods: you choose the number required (1 or 2) and the methods available. Security questions count as one method, however many questions are asked.
- Administrators always use a separate two-gate policy: two methods, no security questions.
Conditional Access in one line
Conditions (users, locations…) decide when. Grant controls (MFA, compliant or hybrid-joined device, "require all") decide what is required. Session controls only shape the session after access.
Exam traps
- Could join devices before, can't now: Maximum number of devices.
- Local admin on all joined PCs: Device settings, Additional local administrators.
- Only some users may join, with MFA: Users may join = Selected; Require MFA = Yes.
- Groups that delete themselves after N days: Microsoft 365 groups (assigned or dynamic).
- Can't add a member manually: it's a dynamic group.
- License not inherited: nested group.
- Can't delete a group: it still has licenses.
- 500 external users: Bulk invite or
New-MgInvitation, not Bulk create orNew-MgUser. The AzureAD module (New-AzureAD*) is retired. - Invite only one partner domain: collaboration restrictions (allow list), not cross-tenant access settings.
- Synced user: change UsageLocation in Entra, JobTitle on-premises.
- Delegate per office: administrative units.
- SSPR for admins: two methods, never security questions.
Docs
- Bulk create
- Bulk delete
- Manage user profile info
- Add a custom domain
- Default user permissions
- Administrative units
- Custom security attributes
- Dynamic membership rules
- Group expiration
- Group naming policy
- Group-based licensing scenarios
- Device settings
- Local administrators on joined devices
- External collaboration settings
- Allow/block lists
- Bulk invite
- Reset redemption status
- Entitlement management for external users
- Access reviews
- SSPR policies
- Enable SSPR
- Security questions
- Grant controls