Skip to content

spo web list

Lists subsites of the specified site


m365 spo web list [options]


-u, --webUrl <webUrl>
URL of the parent site for which to retrieve the list of subsites
-h, --help
output usage information
--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 all subsites from site

m365 spo web list -u