您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Remove-AzureADScopedRoleMembership

Removes a scoped role membership.

Syntax

Remove-AzureADScopedRoleMembership
      -ObjectId <String>
      -ScopedRoleMembershipId <String>
      [<CommonParameters>]

Description

The Remove-AzureADScopedRoleMembership cmdlet removes a scoped role membership from Azure Active Directory (AD).

Required Parameters

-ObjectId

Specifies an object ID.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-ScopedRoleMembershipId

Specifies the ID of the scoped role membership to remove.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False