Muokkaa

Jaa


Remove-AzureADMSScopedRoleMembership

Removes a scoped role membership.

Syntax

Remove-AzureADMSScopedRoleMembership
      -Id <String>
      -ScopedRoleMembershipId <String>
      [<CommonParameters>]

Description

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

Examples

Example 1

Remove-AzureADMSScopedRoleMembership -Id "1026185e-25df-4522-a380-7ab697a7241c" -ScopedRoleMembershipId "3028185e-25df-4522-a380-7ab697a7241c"

Removes scoped membership.

Parameters

-Id

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