Remove-AzureADMSRoleAssignment

拿掉 Azure AD 角色指派。

語法

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

Description

Remove-AzureADMSRoleAssignment Cmdlet 會從 Azure Active Directory (Azure AD) 移除角色指派。

範例

範例 1

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

從 Azure AD 移除指定的角色指派。

參數

-Id

指定角色指派的標識碼。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

輸入

string

備註

請參閱 Remove-AzureADMSRoleAssignment 至 Microsoft Graph PowerShell 的移轉指南。