Skip to content

New command: spo tenant commandset remove #4867

@martinlingstuyl

Description

@martinlingstuyl

Usage

spo tenant commandset remove

Description

Remove a ListView Command Set that is installed tenant wide.

Options

Option Description
-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.

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

Additional Info

Removes the list item from the tenant wide extensions list.

  • If multiple items are found, a disambiguation prompt should be given back to the user.
  • Should only look for items of the type ListView Command Set. (Compare with spo tenant applicationcustomizer get command implementation)
  • The id property is the list item id of the item in the TenantWideExtensionsList

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions