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

AI AdministratorMicrosoft Entra built-in role

Manage all aspects of Microsoft Copilot and AI-related enterprise services in Microsoft 365.

Role IDd2562ede-74db-457e-a7b6-544e236ebb61
PrivilegedYes. Microsoft marks this role as privileged.
Permissions70

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/adminConsentRequestPolicy/allProperties/allTasksManage admin consent request policies in Microsoft Entra ID
microsoft.directory/agentIdentities/allProperties/readRead all properties of agent identities
microsoft.directory/agentIdentities/appRoleAssignedTo/updateUpdate agent identity role assignments
microsoft.directory/agentIdentities/authentication/updateUpdate authentication on agent identities
microsoft.directory/agentIdentities/basic/updateUpdate basic properties on agent identities
microsoft.directory/agentIdentities/createCreate agent identities
microsoft.directory/agentIdentities/deleteDelete agent identities
microsoft.directory/agentIdentities/disableDisable agent identities
microsoft.directory/agentIdentities/enableEnable agent identities
microsoft.directory/agentIdentities/owners/updateUpdate owners on agent identities
microsoft.directory/agentIdentities/tag/updateUpdate tags of agent identities
microsoft.directory/agentIdentityBlueprintPrincipals/allProperties/readRead all properties of agent identity blueprint principals
microsoft.directory/agentIdentityBlueprintPrincipals/appRoleAssignedTo/updateUpdate agent identity blueprint principal role assignments
microsoft.directory/agentIdentityBlueprintPrincipals/authentication/updateUpdate authentication on agent identity blueprint principals
microsoft.directory/agentIdentityBlueprintPrincipals/basic/updateUpdate basic properties on agent identity blueprint principals
microsoft.directory/agentIdentityBlueprintPrincipals/createCreate agent identity blueprint principals
microsoft.directory/agentIdentityBlueprintPrincipals/deleteDelete agent identity blueprint principals
microsoft.directory/agentIdentityBlueprintPrincipals/disableDisable agent identity blueprint principals
microsoft.directory/agentIdentityBlueprintPrincipals/enableEnable agent identity blueprint principals
microsoft.directory/agentIdentityBlueprintPrincipals/owners/updateUpdate owners on agent identity blueprint principals
microsoft.directory/agentIdentityBlueprintPrincipals/tag/updateUpdate tags of agent identity blueprint principals
microsoft.directory/agentIdentityBlueprints/allProperties/readRead all properties of agent identity blueprints
microsoft.directory/agentIdentityBlueprints/allProperties/updateUpdate all properties of agent identity blueprints
microsoft.directory/agentIdentityBlueprints/appRoles/updateUpdate appRoles on agent identity blueprints
microsoft.directory/agentIdentityBlueprints/audience/updateUpdate audience on agent identity blueprints
microsoft.directory/agentIdentityBlueprints/authentication/updateUpdate authentication on agent identity blueprints
microsoft.directory/agentIdentityBlueprints/basic/updateUpdate basic properties on agent identity blueprints
microsoft.directory/agentIdentityBlueprints/createCreate agent identity blueprints
microsoft.directory/agentIdentityBlueprints/credentials/updateUpdate credentials on agent identity blueprints
microsoft.directory/agentIdentityBlueprints/deleteDelete agent identity blueprints
microsoft.directory/agentIdentityBlueprints/owners/updateUpdate owners on agent identity blueprints
microsoft.directory/agentIdentityBlueprints/permissions/updateUpdate exposed permissions and required permissions on agent identity blueprints
microsoft.directory/agentIdentityBlueprints/tag/updateUpdate tags of agent identity blueprints
microsoft.directory/agentIdentityBlueprints/verification/updateUpdate verification on agent identity blueprints
microsoft.directory/agentUsers/assignLicenseAssign product licenses for agent users
microsoft.directory/agentUsers/basic/updateUpdate basic properties on agent users, such display name, user type, and mail nickname
microsoft.directory/agentUsers/createCreate agent users
microsoft.directory/agentUsers/deleteDelete agent users
microsoft.directory/agentUsers/disableDisable agent users
microsoft.directory/agentUsers/enableEnable agent users
microsoft.directory/agentUsers/invalidateAllRefreshTokensForce sign-out by invalidating agent user refresh tokens
microsoft.directory/agentUsers/lifeCycleInfo/readRead lifecycle information of agent users, such as employeeLeaveDateTime
microsoft.directory/agentUsers/lifeCycleInfo/updateUpdate lifecycle information of agent users, such as employeeLeaveDateTime
microsoft.directory/agentUsers/manager/updateUpdate manager for agent users
microsoft.directory/agentUsers/photo/updateUpdate photo of agent users
microsoft.directory/agentUsers/reprocessLicenseAssignmentReprocess license assignments for agent users
microsoft.directory/agentUsers/restoreRestore deleted agent users
microsoft.directory/agentUsers/revokeSignInSessionsRevoke sign-in sessions for agent users
microsoft.directory/agentUsers/sponsors/updateUpdate sponsors of agent users
microsoft.directory/agentUsers/usageLocation/updateUpdate usage location of agent users
microsoft.directory/agentUsers/userPrincipalName/updateUpdate the user principal name of agent users
microsoft.directory/deletedItems.agentIdentities/deletePermanently delete agent identities, which can no longer be restored
microsoft.directory/deletedItems.agentIdentities/restoreRestore soft-deleted agent identities to original state
microsoft.directory/deletedItems.agentIdentityBlueprintPrincipals/deletePermanently delete agent identity blueprint principals, which can no longer be restored
microsoft.directory/deletedItems.agentIdentityBlueprintPrincipals/restoreRestore soft-deleted agent identity blueprint principals to original state
microsoft.directory/deletedItems.agentIdentityBlueprints/deletePermanently delete agent identity blueprints, which can no longer be restored
microsoft.directory/deletedItems.agentIdentityBlueprints/restoreRestore soft-deleted agent identity blueprints to original state
microsoft.directory/entitlementManagement/allProperties/readRead all properties in Microsoft Entra entitlement management
microsoft.directory/subscribedSkus/standard/readRead basic properties on subscriptions
microsoft.directory/users/allProperties/readRead all properties of users
microsoft.office365.copilot/allEntities/allProperties/allTasksCreate and manage all settings for Microsoft Copilot
microsoft.office365.messageCenter/messages/readRead messages in Message Center in the Microsoft 365 admin center, excluding security messages
microsoft.office365.network/performance/allProperties/readRead all network performance properties in the Microsoft 365 admin center
microsoft.office365.search/content/manageCreate and delete content, and read and update all properties in Microsoft Search
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.usageReports/allEntities/allProperties/readRead Office 365 usage reports
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 AI Administrator for <reason>"
    RoleDefinitionId = "d2562ede-74db-457e-a7b6-544e236ebb61"
    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 'd2562ede-74db-457e-a7b6-544e236ebb61'" -ExpandProperty Principal |
    ForEach-Object { $_.Principal.AdditionalProperties.displayName }

Related roles

Find the smallest role for a task →