DLP for Microsoft 365 Copilot after Ignite: blocking labeled content versus blocking sensitive prompts

4 December 2025 · Samantha Kloos-Kilkens

Since 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.

A folder stamped Classified on top of case files with redacted lines Photo: Frank Flores on Unsplash

The policy location

Both mechanisms use the Microsoft 365 Copilot and Copilot Chat location in Purview DLP. A few things about that location catch people out the first time. It's only available in the Custom policy template. When you select it, all other locations in that policy are disabled, so a Copilot policy is always a separate policy next to your Exchange, SharePoint and endpoint policies. DLP alerts, notifications and simulation mode work as usual. And changes can take up to four hours to show up in Copilot, which matters when you're testing: a rule that "doesn't work" ten minutes after you saved it may simply not have arrived yet.

Blocking content with a sensitivity label

The first mechanism, generally available since June 2025, uses the condition Content contains > Sensitivity labels. Items with the labels you select are excluded from processing: Copilot doesn't read or use their content when it builds an answer. The item can still show up in the citations of the response, so a user sees that a document exists, but not what's in it. For email this applies to messages sent on or after 1 January 2025.

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

The second mechanism, announced shortly before Ignite and rolling out in preview since mid-November, looks at what the user types. It uses the condition Content contains > Sensitive information types with the action Restrict Copilot from processing content > Processing prompts. When a prompt contains one of the selected sensitive information types, for example a credit card number or a citizen service number, Copilot doesn't return a response and the user gets a message that the request contains information the organisation has blocked. Built-in and custom sensitive information types are supported.

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

The portal works fine for this, but if you manage DLP as code, the Copilot location is a bit unusual: it isn't a named parameter like 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" })
Note the single quotes around $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

For the label rule I'd start with one label you're confident is applied consistently, in simulation, and look at the matches for a week before enforcing. Expect questions from users who see a document in the citations but get no content from it; it helps to tell them up front why that happens. For the prompt rule, keep in mind that it's a preview: test which messages users see, and start with the few sensitive information types that would really hurt in a prompt rather than everything that can be detected.

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.

Written by an Argus IT expert

Want an expert like this in your team, or work like this yourself in security, IAM or cloud?

Samantha Kloos-Kilkens

Samantha Kloos-Kilkens

Sam has worked in security and identity for more than ten years, eight of them at Microsoft in the Identity and Network Access product group. She founded Argus IT in 2023 and has a soft spot for the hidden gems in Entra ID. CISSP, CCSP, CISM, CCSK and Microsoft Certified Trainer.

Stay in the Loop

Subscribe to our newsletter for a friendly nudge whenever we publish a new article or have news to share.