Get-AzADAppPermission

Visar en lista över API-behörigheter som programmet har begärt.

Syntax

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

Description

Visar en lista över API-behörigheter som programmet har begärt.

Exempel

Exempel 1: Hämta API-behörighet

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

Hämtar alla API-behörigheter för Azure AD-objektet 18797549-86a9-4906-b2a9-54f08cd3c427

Parametrar

-ApplicationId

Program-ID:t.

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

-DefaultProfile

Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.

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

-ObjectId

Objekt-ID för programmet.

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

Utdata

MicrosoftGraphApplicationApiPermission

Kommentarer

ALIAS