Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 899 Bytes

serviceprincipal-grant-list.md

File metadata and controls

39 lines (26 loc) · 899 Bytes

spo serviceprincipal grant list

Lists permissions granted to the service principal

Usage

spo serviceprincipal grant list [options]

Alias

spo sp grant list

Options

Option Description
--help output usage information
-o, --output <output> Output type. `json
--verbose Runs command with verbose logging
--debug Runs command with debug logging

!!! important Before using this command, connect to a SharePoint Online tenant admin site, using the spo connect command.

Remarks

To list permission granted to the service principal, you have to first connect to a tenant admin site using the spo connect command, eg. spo connect https://contoso-admin.sharepoint.com.

Examples

List all permissions granted to the service principal

spo serviceprincipal grant list