Set sensitivity label
Write a sensitivity label into the workbook's MSIP_Label custom properties, replacing any earlier label; this marks the file but does not encrypt it.
Command in the Excel toolkit · id ooa.excel/set_sensitivity_label · 5 inputs (2 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Sensitivity label ID | String | Yes | Label GUID from your organisation's compliance centre; it may come from the vault. | |
| Tenant (site) ID | String | Yes | Tenant (site) GUID the label belongs to. | |
| Name | String | No | Label display name, e.g. Confidential. | |
| Method | String | No | Standard | Standard for a default label, Privileged for one chosen by a person. |
| Session | String | No | excel | Workbook session. |