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).
Parameters
-ObjectId
Specifies an object ID.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ScopedRoleMembershipId
Specifies the ID of the scoped role membership to remove.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |