Remove-AzureADMSRoleAssignment

Removes a role assignment.

Syntax

Remove-AzureADMSRoleAssignment
      -Id <String>
      [<CommonParameters>]

Description

The Remove-AzureADMSRoleAssignment cmdlet removes a role assignment from Azure Active Directory (AD).

Examples

Example 1

PS C:\> Remove-AzureADMSRoleAssignment -Id Y1vFBcN4i0e3ngdNDocmngJAWGnAbFVAnJQyBBLv1lM-1

Removes the specified role assignment from AzureAD.

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

Outputs

Object