Skip to content

Enhancement: add option id to spo list senstivity ensure. #5035

@martinlingstuyl

Description

@martinlingstuyl

The command spo list sensitivitylabel ensure that is currently being release allows you to select a sensitivitylabel by name.
However: this will cause an extra request to the ms graph to get the ID of the label. If you already have the ID available, you'd want to just enter it.

We should add an extra option to allow to enter the ID of the label.

Options

Option Description
-n, --name [name] The label name to apply to the list. Specify either name or id, but not both.
-i, --id [id] The Id of the label to apply to the list. Specify either name or id, but not both.

Reference to the original issue: #4716

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions