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