spo serviceprincipal grant list¶
Lists permissions granted to the service principal
Usage¶
m365 spo serviceprincipal grant list [options]
Alias¶
m365 spo sp grant list
Options¶
-h, --help
- output usage information
--query [query]
- JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
- Output type.
json,text,csv
. Defaultjson
--verbose
- Runs command with verbose logging
--debug
- Runs command with debug logging
Important
To use this command you have to have permissions to access the tenant admin site.
Examples¶
List all permissions granted to the service principal
m365 spo serviceprincipal grant list