Skip to main content

spo tenant commandset remove

Removes a ListView Command Set that is installed tenant-wide

Usage

m365 spo tenant commandset remove [options]

Options

-t, --title [title]

The title of the ListView Command Set. Specify either title, id, or clientSideComponentId.

-i, --id [id]

The id of the ListView Command Set. Specify either title, id, or clientSideComponentId.

-c, --clientSideComponentId [clientSideComponentId]

The Client Side Component Id (GUID) of the ListView Command Set. Specify either title, id, or clientSideComponentId.

-f, --force

Don't prompt for confirmation.

-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 removing a ListView Command Set that's installed tenant-wide. To remove a ListView Command Set from a specific site, view our dedicated spo commandset remove command.

Examples

Removes an ListView Command Set by title.

m365 spo tenant commandset remove --title "Some command set"

Removes a ListView Command Set by id.

m365 spo tenant commandset remove --id 3

Removes a ListView Command Set by clientSideComponentId.

m365 spo tenant commandset remove --clientSideComponentId 7096cded-b83d-4eab-96f0-df477ed7c0bc

Response

The command won't return a response on success.

CTRL + M