Skip to content

spo web list

Lists subsites of the specified site


spo web list [options]


Option Description
--help output usage information
-u, --webUrl <webUrl> URL of the parent site for which to retrieve the list of subsites
--query [query] JMESPath query string. See for more information and examples
-o, --output [output] Output type. json,text. Default text
--pretty Prettifies json output
--verbose Runs command with verbose logging
--debug Runs command with debug logging


Return all subsites from site

spo web list -u