MT.1173 - Sensitivity labels are published for files used by Microsoft 365 Copilot
Overviewβ
Ensure Microsoft Purview sensitivity labels are published to users and at least one published label is scoped to files, so Microsoft 365 Copilot honors and inherits labels onto AI-generated content.
Microsoft 365 Copilot only:
- Honors sensitivity labels (respecting encryption and usage rights from labelled source files).
- Inherits the most restrictive label from the source files used to generate a response onto the new generated content.
β¦when sensitivity labels are actually published to users in your tenant. If no label policy is published, or no published label is scoped to files (SharePoint, OneDrive, Office documents), Copilot has no labelling signal to apply, and DSPM for AI cannot report on label-based oversharing risks.
The test passes when all of the following are true:
- At least one label policy is published / enforced (
Get-LabelPolicywithMode = Enforce). - At least one label has the
Filescope (Get-LabelwhereContentTypeincludesFile). - That file-scoped label is included in a published label policy (a file-scoped label that exists but isn't in any published policy does not count as compliant).
Remediation action:β
- Open the Microsoft Purview portal β Information Protection β Labels.
- Create or edit a sensitivity label and ensure Files is selected under "Define the scope for this label".
- Open Label policies and publish the label to the relevant users or groups.
- Verify with PowerShell after a few minutes:
Connect-IPPSSessionGet-LabelPolicy | Where-Object { $_.Mode -eq 'Enforce' }Get-Label | Where-Object { $_.ContentType -match 'File' }
Related linksβ
- Microsoft Learn β Sensitivity labels overview
- Microsoft Learn β Microsoft 365 Copilot data protection and sensitivity labels
- Microsoft Learn β How Copilot inherits sensitivity labels
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | MT.1173 |
| Severity | Medium |
| Suite | Maester |
| Category | Purview |
| PowerShell test | Test-MtPurviewAiSensitivityLabelsForFiles |
| Tags | Maester, MT.1173, Purview |
Sourceβ
- Pester test:
tests/Maester/Purview/Test-MtPurviewAi.Tests.ps1 - PowerShell source:
powershell/public/maester/purview/Test-MtPurviewAiSensitivityLabelsForFiles.ps1