共用方式為


Remove-AzureADUserAppRoleAssignment

拿掉使用者應用程式角色指派。

語法

Remove-AzureADUserAppRoleAssignment
      -ObjectId <String>
      -AppRoleAssignmentId <String>
      [-InformationAction <ActionPreference>]
      [-InformationVariable <String>]
      [<CommonParameters>]

Description

Remove-AzureADUserAppRoleAssignment Cmdlet 會移除 Azure Active Directory (AD) 中的使用者應用程式角色指派。

參數

-AppRoleAssignmentId

指定應用程式角色指派的識別碼。

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

-InformationAction

指定此 Cmdlet 如何回應資訊事件。 此參數可接受的值為:

  • 繼續
  • 忽略
  • 詢問
  • SilentlyContinue
  • Stop
  • 暫止
類型:ActionPreference
別名:infa
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InformationVariable

指定資訊變數。

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

-ObjectId

指定標識子 (為 Azure AD 中使用者的 UPN 或 ObjectId) 。

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