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 |
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om