set_sensitivity_labels
Apply Microsoft Purview sensitivity labels to one or more Power BI items in a single bulk operation. Requires admin scope; missing scope triggers remediation.
Instructions
Apply a Microsoft Purview sensitivity label to one or more items.
Batched via POST /admin/items/labels/bulkSet. Gated by an
explicit *.Admin.* (or InformationProtectionPolicy.Apply.All)
scope; missing scope elicits remediation. Names are SHA-256 redacted
in outputs (toggle via redact_names).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| dry_run | No | ||
| label_id | Yes | ||
| label_name | Yes | ||
| admin_scopes | No | ||
| redact_names | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||