< Back
get-azureRMADAppPermissions
Post
NAME get-azureRMADAppPermissions
SYNOPSIS
Retrieve all permissions an Azure AD application has set
SYNTAX
get-azureRMADAppPermissions [-token] <Object> [-appId] <Object> [<CommonParameters>]
DESCRIPTION
Returns a hashtable with 'admin' and 'user' as properties, which contain arrays of all permissions this
application has
PARAMETERS
-token <Object>
a valid Azure RM token retrieved through my get-azureRMtoken function
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-appId <Object>
object ID of the application you want to retrieve permissions from
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
filename: get-azureRMADAppPermissions.ps1
author: Jos Lieben
blog: www.lieben.nu
created: 26/7/2018
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$permissions = get-azureRMADAppPermissions -token (get-azureRMtoken -username jos.lieben@xxx.com -password
password01) -appId 479c3c0d-a103-4899-84ce-54b05e5be5fa
RELATED LINKS
SYNOPSIS
Retrieve all permissions an Azure AD application has set
SYNTAX
get-azureRMADAppPermissions [-token] <Object> [-appId] <Object> [<CommonParameters>]
DESCRIPTION
Returns a hashtable with 'admin' and 'user' as properties, which contain arrays of all permissions this
application has
PARAMETERS
-token <Object>
a valid Azure RM token retrieved through my get-azureRMtoken function
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-appId <Object>
object ID of the application you want to retrieve permissions from
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
filename: get-azureRMADAppPermissions.ps1
author: Jos Lieben
blog: www.lieben.nu
created: 26/7/2018
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$permissions = get-azureRMADAppPermissions -token (get-azureRMtoken -username jos.lieben@xxx.com -password
password01) -appId 479c3c0d-a103-4899-84ce-54b05e5be5fa
RELATED LINKS