Get-EntraScopedRoleMembership
List Microsoft Entra role assignments with administrative unit scope.
Syntax
Default (Default)
Get-EntraScopedRoleMembership
-AdministrativeUnitId <String>
[-ScopedRoleMembershipId <String>]
[-Property <String[]>]
[<CommonParameters>]
Description
The Get-EntraScopedRoleMembership cmdlet lists Microsoft Entra role assignments with an administrative unit scope. Use the ObjectId parameter to retrieve a specific scoped role membership.
Parameters
-AdministrativeUnitId
Specifies the ID of an administrative unit object.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | ObjectId |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-Property
Specifies properties to be returned.
Parameter properties
| Type: | System.String[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | Select |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-ScopedRoleMembershipId
Specifies the ID of a scoped role membership.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.