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, log in to a SharePoint Online site, using the spo login command.


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


Return all lists located in site

spo list list --webUrl

More information