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
The command
spo list sensitivitylabel ensurethat 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
-n, --name [name]nameorid, but not both.-i, --id [id]nameorid, but not both.Reference to the original issue: #4716