Remove-AzureADMSRoleAssignment
This article provides migration details from Remove-AzureADMSRoleAssignment command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Remove-AzureADMSRoleAssignment
- Azure AD Module: AzureAD
- Microsoft Graph Command: Remove-MgRoleManagementDirectoryRoleAssignment (Community Examples)
- Graph Module: Microsoft.Graph.Identity.Governance
- Graph Endpoint: DELETE /roleManagement/directory/roleAssignments/{unifiedRoleAssignment-id}
Permissions
For the directory (Microsoft Entra ID) provider
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | RoleManagement.ReadWrite.Directory |
Delegated (personal Microsoft account) | Not supported. |
Application | RoleManagement.ReadWrite.Directory |
For the Entitlement management provider
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | EntitlementManagement.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | EntitlementManagement.ReadWrite.All |
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
Id | UnifiedRoleAssignmentId |
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for