Get-​Azure​AD​Service​App​Role​Assigned​To

Get the objects to which an application role is assigned

Syntax

Get-AzureADServiceAppRoleAssignedTo
   [-All <Boolean>]
   -ObjectId <String>
   [-Top <Int32>]

Description

Get the objects to which an application role is assigned

Required Parameters

-ObjectId

The Object ID of the Service Principal

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-All

$True if all objects need to be returned

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-Top

The number of objects to return

Type:Int32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Inputs

System.String

System.Nullable1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] System.Nullable1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

Outputs

System.Object