Skip to content

spo site get

Gets information about the specific site collection


m365 spo site get [options]


-u, --url <url>
URL of the site collection to retrieve information for
-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,md. Default json
Runs command with verbose logging
Runs command with debug logging


This command can retrieve information for both classic and modern sites.


Return information about the site collection.

m365 spo site get -u