Skip to content

spo roledefinition list

Gets list of role definitions for the specified site


m365 spo roledefinition list [options]


-u, --webUrl <webUrl>
URL of the site for which to retrieve role definitions
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.
--query [query]
JMESPath query string. See for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
Runs command with verbose logging
Runs command with debug logging


Return list of role definitions for site

m365 spo roledefinition list --webUrl