Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save moiaune/03e0fa4bc9fa73d41b8e0a281bd6f38d to your computer and use it in GitHub Desktop.
Save moiaune/03e0fa4bc9fa73d41b8e0a281bd6f38d to your computer and use it in GitHub Desktop.
# list delegated permissions
(Get-AzADServicePrincipal -DisplayName "Microsoft Graph").Oauth2PermissionScope |
Select-Object Id, Value, AdminConsentDisplayName
# list application permissions
(Get-AzADServicePrincipal -DisplayName "Microsoft Graph").AppRole |
Select-Object Id, Value, DisplayName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment