Skip to content

spo group list

Lists all the groups within specific web

Usage

m365 spo group list [options]

Options

-u, --webUrl <webUrl>
Url of the web to list the group within
-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. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Lists all the groups within specific web https://contoso.sharepoint.com/sites/contoso

m365 spo group list --webUrl "https://contoso.sharepoint.com/sites/contoso"