DLP for Microsoft 365 Copilot after Ignite: blocking labeled content versus blocking sensitive prompts
4 December 2025 · Samantha Kloos-KilkensSince June 2025 it's generally available: you can use a DLP policy to stop Microsoft 365 Copilot from using files and emails with specific sensitivity labels. Around Ignite in November, Microsoft added a second mechanism in preview: blocking Copilot from answering when the prompt itself contains sensitive information. Both live in the same DLP policy location, but they protect against different things and behave differently for users, so it helps to be clear about which one you need.
Photo: Frank Flores on Unsplash
The policy location
Blocking content with a sensitivity label
This is the one to use when the risk is the content itself. A typical case is a set of board documents or HR files labeled Highly Confidential that are technically accessible to more people than you'd like (an old sharing link, a group that grew over the years), and you don't want Copilot to surface their content in a summary. Copilot only ever works with data the user already has access to, so this doesn't fix oversharing, but it stops Copilot from making overshared content easy to find and quote.
It only works on content that carries the label, of course. If your labeling coverage is thin, this policy protects the few files that are labeled and nothing else, and the honest first step is to look at how much of the sensitive content is actually labeled.
Blocking prompts with sensitive information
This protects against a different risk: a user pasting sensitive data into Copilot, for example a customer list or an export with personal data, to have it summarised or reformatted. The data is in the prompt, not in a labeled file, so the label rule doesn't see it. Only text that's typed or pasted into the prompt is checked: a file uploaded in the prompt isn't scanned.
The two are complementary. The label rule protects stored content from being pulled into answers, the prompt rule protects data that users bring to Copilot themselves. You can't use both conditions in the same rule anyway, so they go in separate rules in the same policy, and an alert tells you straight away which of the two fired.
Creating the label policy in PowerShell
ExchangeLocation but a JSON value for -Locations, with a fixed location ID for Copilot. This creates a policy for all users and a rule that excludes content with one label: Connect-IPPSSession
# GUID of the label to exclude from Copilot processing
Get-Label | Format-Table Name, DisplayName, Guid
$labelGuid = "<label GUID>"
# Microsoft 365 Copilot location, scoped to all users
$loc = '[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","Inclusions":[{"Type":"Tenant","Identity":"All"}]}]'
New-DlpCompliancePolicy -Name "Copilot - exclude labeled content" -Locations $loc -EnforcementPlanes @("CopilotExperiences") -Mode TestWithNotifications
$advRule = @{
Version = "1.0"
Condition = @{
Operator = "And"
SubConditions = @(
@{
ConditionName = "ContentContainsSensitiveInformation"
Value = @(
@{
groups = @(
@{
Operator = "Or"
name = "Default"
labels = @( @{ name = $labelGuid; type = "Sensitivity" } )
}
)
}
)
}
)
}
} | ConvertTo-Json -Depth 100
New-DlpComplianceRule -Name "Copilot - exclude labeled content" -Policy "Copilot - exclude labeled content" -AdvancedRule $advRule -RestrictAccess @(@{ setting = "ExcludeContentProcessing"; value = "Block" })
$loc. The example in the cmdlet documentation puts the JSON in double quotes, with double quotes inside, which PowerShell can't parse. The policy starts in TestWithNotifications, so you can look at what it matches before you enforce it. Rolling it out
Pick the one label your organisation would least like to see in a Copilot summary, check how much content actually carries it, and put a simulation policy on it.
The script from this post is also on GitHub, in purview-scripts.
Sources
- Learn about using Microsoft Purview Data Loss Prevention to protect interactions with Microsoft 365 Copilot and Copilot Chat (Microsoft Learn)
- New-DlpCompliancePolicy (Microsoft Learn)
- MC1105017: Restrict Microsoft 365 Copilot using content with sensitivity labels, general availability (Message Center, via mc.merill.net)
- Ignite 2025: Copilot Control System and related updates for IT (Microsoft Tech Community)
- MC1181998: Microsoft Purview | Data Loss Prevention for Microsoft 365 Copilot to safeguard prompts (Message center, via merill.net)