Skip to content

spo list list

Gets all lists within the specified site


spo list list [options]


Option Description
--help output usage information
-u, --webUrl <webUrl> URL of the site where the lists to retrieve are located
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging


Before using this command, connect to a SharePoint Online site, using the spo connect command.


To get all lists, you have to first connect to a SharePoint Online site using the spo connect command, eg. spo connect


Return all lists located in site

spo list list --webUrl

More information