Manage Users and Groups in Microsoft Entra ID: Accounts, Licenses, Dynamic Groups, Guests and Self-Service Password Reset
Tenant and Directory
A Microsoft Entra tenant is your organization's directory of users, groups and apps (Entra ID was called Azure Active Directory). It has a default domain like contoso.onmicrosoft.com. Add custom domains after DNS verification.
User Types
| Type | Meaning |
|---|---|
| Member (cloud) | Created in Entra ID |
| Member (synced) | Synced from on-premises Active Directory with Entra Connect |
| Guest | External person invited with B2B collaboration |
| Service principal / managed identity | Identity for an application or Azure resource |
bash
az ad user create --display-name "Asha Rao" --user-principal-name asha@contoso.com --password '<TempPassword>' --force-change-password-next-sign-in true
az ad user list --query "[].{Name:displayName, UPN:userPrincipalName}" -o table
az ad user update --id asha@contoso.com --account-enabled false
az ad user delete --id asha@contoso.com
powershell
Connect-MgGraph -Scopes "User.ReadWrite.All","Group.ReadWrite.All"
$pw = @{ Password = "<TempPassword>"; ForceChangePasswordNextSignIn = $true }
New-MgUser -DisplayName "Asha Rao" -UserPrincipalName asha@contoso.com -MailNickname asha -AccountEnabled -PasswordProfile $pw
- Bulk operations: upload a CSV in the portal to create, invite or delete many users
- A deleted user can be restored within 30 days
- Set a usage location before assigning licenses
Groups
| Group type | Use |
|---|---|
| Security group | Assign access to Azure resources and apps |
| Microsoft 365 group | Teams, shared mailbox, SharePoint |
| Membership | How |
|---|---|
| Assigned | You add members manually |
| Dynamic user | Members added automatically by a rule |
| Dynamic device | Rules on device properties |
text
(user.department -eq "Sales") -and (user.accountEnabled -eq true)
(user.userType -eq "Guest")
bash
az ad group create --display-name "Sales-Team" --mail-nickname salesteam
az ad group member add --group "Sales-Team" --member-id $(az ad user show --id asha@contoso.com --query id -o tsv)
az ad group member list --group "Sales-Team" -o table
Role-assignable groups To assign Entra roles to a group you must create the group as role-assignable at creation time.
Licenses
- Features such as Conditional Access, PIM and dynamic groups need Entra ID P1 or P2 (or Microsoft 365 plans that include them). Check current plans
- Use group-based licensing: assign a license to a group and members receive it
- Fix license errors in the group's license page
Guests and Administrative Units
- Invite guests by email. They accept and use their own identity
- Control who can invite in External collaboration settings
- Administrative units let a helpdesk manage only part of the directory
Self-Service Password Reset (SSPR)
- Entra ID, then Password reset
- Enable for selected group or all users
- Choose methods (Authenticator app, phone, email) and the number required
- Require registration at sign-in
- For on-premises users enable password writeback with Entra Connect
Practice
- Create a user and a security group and add the user
- Create a dynamic group based on department
- Invite a guest user
- Turn on SSPR for a pilot group
Conclusion
Entra ID holds your identities. Create users and groups (use dynamic groups and group-based licensing to save time), invite guests when needed and enable SSPR to reduce help desk work.
Quick Summary: tenant; users; groups; licenses; guests; SSPR.

