Skip to main content

spo commandset list

Get a list of ListView Command Sets that are added to a site


m365 spo commandset list [options]


-u, --webUrl <webUrl>

The url of the site.

-s, --scope [scope]

Scope of the ListView Command Sets. Allowed values: Site, Web, All. Defaults to All.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.


Runs command with verbose logging.


Runs command with debug logging.


This command can be used for retrieving a list of ListView Command Sets from a specific site. To retrieve a list of ListView Command Sets that are installed tenant-wide, view our dedicated spo tenant commandset list command.


Retrieves a list of ListView Command Sets.

m365 spo commandset list --webUrl


"ClientSideComponentId": "b206e130-1a5b-4ae7-86a7-4f91c9924d0a",
"ClientSideComponentProperties": "",
"CommandUIExtension": null,
"Description": null,
"Group": null,
"HostProperties": "",
"Id": "e7000aef-f756-4997-9420-01cc84f9ac9c",
"ImageUrl": null,
"Location": "ClientSideExtension.ListViewCommandSet.CommandBar",
"Name": "{e7000aef-f756-4997-9420-01cc84f9ac9c}",
"RegistrationId": "100",
"RegistrationType": 0,
"Rights": {
"High": 0,
"Low": 0
"Scope": 2,
"ScriptBlock": null,
"ScriptSrc": null,
"Sequence": 0,
"Title": "test",
"Url": null,
"VersionOfUserCustomAction": ""