Rediger

Del via


Get-AzureADMSScopedRoleMembership

Gets a scoped role membership from an administrative unit.

Syntax

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

Description

The Get-AzureADMSScopedRoleMembership cmdlet gets a scoped role membership from an administrative unit in Azure Active Directory (AD).

Examples

Example 1 Get Scoped Role Administrator

PS C:\>Get-AzureADMSScopedRoleMembership -Id "526b7173-5a6e-49dc-88ec-b677a9093709" -ScopedRoleMembershipId "356b7173-5a6e-49dc-88ec-b677a9093709"

Example 2 List scoped administrators for AU.

PS C:\>Get-AzureADMSScopedRoleMembership -Id "526b7173-5a6e-49dc-88ec-b677a9093709"

Parameters

-Id

Specifies the ID of an object.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ScopedRoleMembershipId

Specifies the ID of a scoped role membership.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False