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 aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
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 aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.