Get-AzureADMSPrivilegedRoleAssignment

Get role assignments for a specific provider and resource

Syntax

Get-AzureADMSPrivilegedRoleAssignment
   -ProviderId <String>
   -ResourceId <String>
   [-Top <Int32>]
   [-Filter <String>]
   [<CommonParameters>]
Get-AzureADMSPrivilegedRoleAssignment
   -ProviderId <String>
   -ResourceId <String>
   -Id <String>
   [<CommonParameters>]

Description

Get role assignments for a specific provider and resource

Examples

Example 1

PS C:\> Get-AzureADMSPrivilegedRoleAssignment -ProviderId AzureResources -ResourceId 3f5887ed-dd6e-4821-8bde-c813ec508cf9

Get all role assignments for a specific provider and resource

Example 2

PS C:\> Get-AzureADMSPrivilegedRoleAssignment -ProviderId AzureResources -ResourceId 3f5887ed-dd6e-4821-8bde-c813ec508cf9 -Id b83c177a-10e0-4eeb-8d0b-f3668fbf81fa

Get a role assignment for a specific provider and resource

Parameters

-Filter

The Odata filter

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

-Id

The unique identifier of the specific role assignment

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

-ProviderId

The unique identifier of the specific provider

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

-ResourceId

The unique identifier of the specific resource

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

-Top

The top count

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

Inputs

String

Nullable<T>[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

Outputs

Object