Created
May 4, 2023 06:21
-
-
Save moiaune/b6ed6ffc126cb80d22c558f7218ede34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-AzADAppPermission -ObjectId <object_id> | | |
Foreach-Object { | |
$permissionId = $_.Id | |
(Get-AzADServicePrincipal -DisplayName "Microsoft Graph").Oauth2PermissionScope | | |
Where-Object { $_.Id -eq $permissionId } | |
} | Select-Object Id, Value, AdminConsentDisplayName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment