Get-AzureADMSPrivilegedRoleDefinition

Get role definitions

Syntax

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

Description

Get role definitions

Examples

Example 1

PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId e5e7d29d-5465-45ac-885f-4716a5ee74b5 -Top 10

Get role definitions for a specific provider and resource

Example 1

PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId e5e7d29d-5465-45ac-885f-4716a5ee74b5 -Id ff67e02b-d77b-4588-9f32-e02b7da6539b

Get a role definitions for a specific provider, resource and Id

Parameters

-Filter

{{ Fill Filter Description }}

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

-Id

The id of a role definition

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

{{ Fill Top Description }}

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

Inputs

String

Outputs

Object