Users, groups and licences in Microsoft Entra ID
Create and manage users and groups, use dynamic membership, assign licences, invite guests, and set up self-service password reset.
In this lesson you'll learn
- The difference between member, guest, cloud-only and synced users
- Security groups versus Microsoft 365 groups, assigned versus dynamic
- How licences are assigned, and why nested groups do not inherit them
- External users, SSPR and administrative units
1. The tenant and its users
New to Entra ID? Start here
Microsoft Entra ID (formerly Azure Active Directory) is Microsoft's cloud identity service. Your organisation gets a tenant, a dedicated directory with a name like sskaiser.onmicrosoft.com. Every person, group and app that signs in lives in that tenant.
Azure subscriptions trust one tenant for sign-in. So the users you create here are the people you later give access to VMs, storage and everything else.
- Create or Bulk create (CSV upload) makes internal member accounts.
- Invite or Bulk invite makes guest accounts for people outside the organisation.
- Deleted users can be restored for 30 days.
2. Groups
| Group type | Used for |
|---|---|
| Security group | Giving access to resources and apps, and assigning licences |
| Microsoft 365 group | Collaboration: shared mailbox, calendar, SharePoint site and Teams |
Each group also has a membership type:
- Assigned: owners or admins add and remove members by hand.
- Dynamic user or dynamic device: members are added and removed automatically by a rule. Nobody can add members manually, not even a Global Administrator. Dynamic groups need an Entra ID P1 licence.
Example: a dynamic group for the Marketing team in Egypt
(user.department -eq "Marketing") -and (user.country -eq "Egypt")
- Both conditions must be true, so the two parts are joined with -and. Using -or would pull in everyone in Marketing plus everyone in Egypt.
- Device groups use device properties instead, for example (device.deviceOSType -eq "Windows").
- A group is either user-based or device-based. It cannot mix both.
3. Licences
Premium features such as Conditional Access, dynamic groups and Privileged Identity Management need Entra ID P1 or P2 licences. You can assign them to users directly or to a group.
- Group licensing works with security groups, mail-enabled security groups and Microsoft 365 groups. Licences reach direct members only.
- A user needs a usage location before any licence can be assigned.
Example
SS Kaiser buys 50 Entra ID P2 licences for its IT staff. Instead of licensing people one at a time, it licenses the IT-Staff security group. New starters get P2 automatically when HR adds them to the group, and leavers lose it when they are removed.
4. External users and self-service password reset
External collaboration settings control who can invite guests, what guests can see in the directory, and which domains are allowed or blocked. You can use an allow list or a deny list, but not both at once.
Self-service password reset (SSPR) lets users reset their own password after proving who they are with registered methods, such as the Authenticator app, a phone or email.
- SSPR can be enabled for None, Selected groups or All users.
- Administrators always need two methods, whatever the user policy says.
- Password writeback sends cloud resets back to on-premises AD. It needs Entra ID P1 and Entra Connect.
5. Administrative units
An administrative unit is a container that limits where an admin role applies. Give the Hull office helpdesk the User Administrator role scoped to the "Hull" administrative unit, and they can reset passwords for Hull staff only.
Exam focus
"Delegate admin rights to a region, office or department only" means administrative units. A directory role without an administrative unit applies to the whole tenant.
6. Entra ID, on-premises AD and Entra Domain Services
Three directory services come up again and again, and they're easy to mix up. Active Directory Domain Services (AD DS) is the directory most organisations run on their own servers. Microsoft Entra ID is the cloud identity service your Azure subscriptions trust. Microsoft Entra Domain Services is a managed domain in Azure for older apps that still need what AD DS offers.
| AD DS (on-premises) | Microsoft Entra ID | Entra Domain Services | |
|---|---|---|---|
| Where it runs | Your own domain controllers | Microsoft's cloud, as a service | Managed domain controllers in your Azure virtual network |
| Sign-in protocols | Kerberos and NTLM, plus LDAP queries | Modern web protocols: OpenID Connect, OAuth 2.0 and SAML | Kerberos, NTLM and LDAP |
| Structure | Domains, forests and organisational units (OUs) | A flat tenant with users, groups and administrative units | One domain with OUs, synced from Entra ID |
| Device management | Domain join and Group Policy | Entra join and Intune | Domain join and Group Policy |
| Who manages the servers | You | Microsoft | Microsoft (you don't get Domain Admin) |
- Hybrid identity: Entra Connect Sync or Entra Cloud Sync copies users from AD DS into Entra ID, so people use one account for both.
- Entra Domain Services syncs one way, from Entra ID into the managed domain. Use it to lift legacy apps that need domain join, LDAP or Kerberos into Azure without building your own domain controllers.
- Entra ID isn't "AD DS in the cloud". It has no OUs, no Group Policy and no Kerberos for your servers.
Example
SS Kaiser moves an old stock-control app to Azure VMs. The app only supports Kerberos sign-in and needs its servers joined to a domain. Instead of building and patching two domain controller VMs, the team turns on Entra Domain Services in the app's virtual network. The VMs join the managed domain, and staff sign in with the same accounts they use everywhere else.
Exam traps to remember
- Synced users: edit job title and department on-premises. Usage location can be set in the cloud.
- External users are invited, not created. Bulk create is for members only.
- Nobody can manually add members to a dynamic group.
- Group licences do not reach members of nested groups.
Test yourself: 4 check questions and exam-style practice questions on this topic are in the AZ-104 Azure Administrator app.
Practise in the app