Επεξεργασία

Κοινή χρήση μέσω


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.