Skip to content

spo list list

Gets all lists within the specified site


m365 spo list list [options]


-u, --webUrl <webUrl>
URL of the site where the lists to retrieve are located
Use this option to execute this command with site member or visitor permissions. Not specifying this option will require site owner (or admin) permissions.
-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 lists located in site

m365 spo list list --webUrl

More information