azureblog.co.uk
← cd ~/roles
// roles/entra · privileged

User AdministratorMicrosoft Entra built-in role

Can manage all aspects of users and groups, including resetting passwords for limited admins.

Role IDfe930be7-5e62-47db-91af-98c3a49a38b1
PrivilegedYes. Microsoft marks this role as privileged.
Permissions56

Before you assign it

Microsoft labels this a privileged role, so make it eligible through PIM rather than permanent, require phishing-resistant MFA to activate it, and review who has it regularly.

What it can do

PermissionWhat it allows
microsoft.azure.serviceHealth/allEntities/allTasksRead and configure Azure Service Health
microsoft.azure.supportTickets/allEntities/allTasksCreate and manage Azure support tickets
microsoft.directory/accessReviews/definitions.applications/allProperties/allTasksManage access reviews of application role assignments in Microsoft Entra ID
microsoft.directory/accessReviews/definitions.directoryRoles/allProperties/readRead all properties of access reviews for Microsoft Entra role assignments
microsoft.directory/accessReviews/definitions.entitlementManagement/allProperties/allTasksManage access reviews for access package assignments in entitlement management
microsoft.directory/accessReviews/definitions.groups/allProperties/readRead all properties of access reviews for membership in Security and Microsoft 365 groups, including role-assignable groups.
microsoft.directory/accessReviews/definitions.groups/allProperties/updateUpdate all properties of access reviews for membership in Security and Microsoft 365 groups, excluding role-assignable groups.
microsoft.directory/accessReviews/definitions.groups/createCreate access reviews for membership in Security and Microsoft 365 groups.
microsoft.directory/accessReviews/definitions.groups/deleteDelete access reviews for membership in Security and Microsoft 365 groups.
microsoft.directory/contacts/basic/updateUpdate basic properties on contacts
microsoft.directory/contacts/createCreate contacts
microsoft.directory/contacts/deleteDelete contacts
microsoft.directory/deletedItems.groups/restoreRestore soft deleted groups to original state
microsoft.directory/deletedItems.users/restoreRestore soft deleted users to original state
microsoft.directory/entitlementManagement/allProperties/allTasksCreate and delete resources, and read and update all properties in Microsoft Entra entitlement management
microsoft.directory/groups.unified/assignedLabels/updateUpdate the assigned labels property on Microsoft 365 groups of assigned membership type, excluding role-assignable groups
microsoft.directory/groups/assignLicenseAssign product licenses to groups for group-based licensing
microsoft.directory/groups/basic/updateUpdate basic properties on Security groups and Microsoft 365 groups, excluding role-assignable groups
microsoft.directory/groups/classification/updateUpdate the classification property on Security groups and Microsoft 365 groups, excluding role-assignable groups
microsoft.directory/groups/createCreate Security groups and Microsoft 365 groups, excluding role-assignable groups
microsoft.directory/groups/deleteDelete Security groups and Microsoft 365 groups, excluding role-assignable groups
microsoft.directory/groups/dynamicMembershipRule/updateUpdate the dynamic membership rule on Security groups and Microsoft 365 groups, excluding role-assignable groups
microsoft.directory/groups/groupType/updateUpdate properties that would affect the group type of Security groups and Microsoft 365 groups, excluding role-assignable groups
microsoft.directory/groups/hiddenMembers/readRead hidden members of Security groups and Microsoft 365 groups, including role-assignable groups
microsoft.directory/groups/members/updateUpdate members of Security groups and Microsoft 365 groups, excluding role-assignable groups
microsoft.directory/groups/onPremWriteBack/updateUpdate Microsoft Entra groups to be written back to on-premises with Microsoft Entra Connect
microsoft.directory/groups/owners/updateUpdate owners of Security groups and Microsoft 365 groups, excluding role-assignable groups
microsoft.directory/groups/reprocessLicenseAssignmentReprocess license assignments for group-based licensing
microsoft.directory/groups/restoreRestore groups from soft-deleted container
microsoft.directory/groups/settings/updateUpdate settings of groups
microsoft.directory/groups/visibility/updateUpdate the visibility property of Security groups and Microsoft 365 groups, excluding role-assignable groups
microsoft.directory/oAuth2PermissionGrants/allProperties/allTasksCreate and delete OAuth 2.0 permission grants, and read and update all properties
microsoft.directory/onPremisesSynchronization/standard/readRead standard on-premises directory synchronization information
microsoft.directory/policies/standard/readRead basic properties on policies
microsoft.directory/servicePrincipals/appRoleAssignedTo/updateUpdate service principal role assignments
microsoft.directory/users/assignLicenseManage user licenses
microsoft.directory/users/basic/updateUpdate basic properties on users
microsoft.directory/users/convertExternalToInternalMemberUserConvert external user to internal user
microsoft.directory/users/createAdd users
microsoft.directory/users/deleteDelete users
microsoft.directory/users/disableDisable users
microsoft.directory/users/enableEnable users
microsoft.directory/users/invalidateAllRefreshTokensForce sign-out by invalidating user refresh tokens
microsoft.directory/users/inviteGuestInvite guest users
microsoft.directory/users/lifeCycleInfo/readRead lifecycle information of users, such as employeeLeaveDateTime
microsoft.directory/users/manager/updateUpdate manager for users
microsoft.directory/users/password/updateReset passwords for all users
microsoft.directory/users/photo/updateUpdate photo of users
microsoft.directory/users/reprocessLicenseAssignmentReprocess license assignments for users
microsoft.directory/users/restoreRestore deleted users
microsoft.directory/users/sponsors/updateUpdate sponsors of users
microsoft.directory/users/usageLocation/updateUpdate usage location of users
microsoft.directory/users/userPrincipalName/updateUpdate User Principal Name of users
microsoft.office365.serviceHealth/allEntities/allTasksRead and configure Service Health in the Microsoft 365 admin center
microsoft.office365.supportTickets/allEntities/allTasksCreate and manage Microsoft 365 service requests
microsoft.office365.webPortal/allEntities/standard/readRead basic properties on all resources in the Microsoft 365 admin center

Assign it

The role ID is the same in every tenant, so these work as they are. Make it eligible through PIM:

powershell13 lines
Connect-MgGraph -Scopes "RoleEligibilitySchedule.ReadWrite.Directory"
$user = Get-MgUser -UserId "jane.doe@contoso.com"
New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter @{
    Action           = "AdminAssign"
    Justification    = "Needs User Administrator for <reason>"
    RoleDefinitionId = "fe930be7-5e62-47db-91af-98c3a49a38b1"
    DirectoryScopeId = "/"
    PrincipalId      = $user.Id
    ScheduleInfo     = @{
        StartDateTime = (Get-Date).ToUniversalTime().ToString("o")
        Expiration    = @{ Type = "afterDuration"; Duration = "P180D" }
    }
}

Who already has it?

powershell3 lines
Connect-MgGraph -Scopes "RoleManagement.Read.Directory"
Get-MgRoleManagementDirectoryRoleAssignment -Filter "roleDefinitionId eq 'fe930be7-5e62-47db-91af-98c3a49a38b1'" -ExpandProperty Principal |
    ForEach-Object { $_.Principal.AdditionalProperties.displayName }

Related roles

Find the smallest role for a task →