Get-AzADAppPermission
Lists API permissions the application has requested.
Syntax
ObjectIdParameterSet (Default)
Get-AzADAppPermission
-ObjectId <Guid>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
AppIdParameterSet
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.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
AppIdParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
Type: | PSObject |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ObjectId
The object Id of application.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ObjectIdParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.