Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Sensitivity label IDStringYesLabel GUID from your organisation's compliance centre; it may come from the vault.
Tenant (site) IDStringYesTenant (site) GUID the label belongs to.
NameStringNoLabel display name, e.g. Confidential.
MethodStringNoStandardStandard for a default label, Privileged for one chosen by a person.
SessionStringNoexcelWorkbook session.