Remove-AzureADMSRoleAssignment
Removes an Azure AD role assignment.
Syntax
Remove-AzureADMSRoleAssignment
-Id <String>
[<CommonParameters>]
Description
The Remove-AzureADMSRoleAssignment cmdlet removes a role assignment from Azure Active Directory (Azure AD).
Examples
Example 1
PS C:\> Remove-AzureADMSRoleAssignment -Id Y1vFBcN4i0e3ngdNDocmngJAWGnAbFVAnJQyBBLv1lM-1
Removes the specified role assignment from Azure AD.
Parameters
-Id
Specifies the ID for role assignment.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
string
Notes
See the migration guide for Remove-AzureADMSRoleAssignment to the Microsoft Graph PowerShell.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for