Editar

Compartilhar via


Get-AzADAppPermission

Lists API permissions the application has requested.

Syntax

Get-AzADAppPermission
   -ObjectId <Guid>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzADAppPermission
   -ApplicationId <Guid>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Lists API permissions the application has requested.

Examples

Example 1: Get API permission

Get-AzADAppPermission -ObjectId 18797549-86a9-4906-b2a9-54f08cd3c427

ApiId                                Id                                   Type
-----                                --                                   ----
00000003-0000-0000-c000-000000000000 df021288-bdef-4463-88db-98f22de89214 Scope
00000003-0000-0000-c000-000000000000 5b567255-7703-4780-807c-7be8301ae99b Scope

Fetches all API permissions of Azure AD object 18797549-86a9-4906-b2a9-54f08cd3c427

Parameters

-ApplicationId

The application Id.

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

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:PSObject
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ObjectId

The object Id of application.

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

Outputs

MicrosoftGraphApplicationApiPermission

Notes

ALIASES