spo site apppermission list¶
Lists application permissions for a site
Usage¶
m365 spo site apppermission list [options]
Options¶
-u, --siteUrl <siteUrl>
- URL of the site collection to retrieve information for
-i, --appId [appId]
- Id of the application to filter by
-n, --appDisplayName [appDisplayName]
- Display name of the application to filter by
-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
. Defaulttext
--verbose
- Runs command with verbose logging
--debug
- Runs command with debug logging
Remarks¶
To filter by an app, pass in either appId
or appDisplayName
not both
Examples¶
Return list of application permissions for the https://contoso.sharepoint.com/sites/project-x site collection.
m365 spo site apppermission list --siteUrl https://contoso.sharepoint.com/sites/project-x
Return list of application permissions for the https://contoso.sharepoint.com/sites/project-x site collection and filter by an application called Foo
m365 spo site apppermission list --siteUrl https://contoso.sharepoint.com/sites/project-x --appDisplayName Foo