Skip to main content

spo tenant commandset list

Retrieves a list of ListView Command Sets that are installed tenant-wide

Usage

m365 spo tenant commandset list [options]

Options

-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 http://jmespath.org/ for more information and examples.

-o, --output [output]

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

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks

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

Examples

Retrieves a list of ListView Command Sets.

m365 spo tenant commandset list

Response

[
{
"FileSystemObjectType": 0,
"Id": 9,
"ServerRedirectedEmbedUri": null,
"ServerRedirectedEmbedUrl": "",
"ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
"Title": "HelloWorld",
"Modified": "2023-05-25T12:11:21Z",
"Created": "2023-05-25T12:11:21Z",
"AuthorId": 9,
"EditorId": 9,
"OData__UIVersionString": "1.0",
"Attachments": false,
"GUID": "6c47dd94-f5d5-4ea8-8b39-920385a56c37",
"OData__ColorTag": null,
"ComplianceAssetId": null,
"TenantWideExtensionComponentId": "f61d4ae8-3480-4541-930b-d641233c4fea",
"TenantWideExtensionComponentProperties": "{\"sampleTextOne\":\"One item is selected in the list.\", \"sampleTextTwo\":\"This command is always visible.\"}",
"TenantWideExtensionWebTemplate": null,
"TenantWideExtensionListTemplate": 100,
"TenantWideExtensionLocation": "ClientSideExtension.ListViewCommandSet.CommandBar",
"TenantWideExtensionSequence": 0,
"TenantWideExtensionHostProperties": null,
"TenantWideExtensionDisabled": false
}
]
CTRL + M