How to add exceptions of email addresses in DLP policy in Purview

Oumayma Lakhel 40 Reputation points
2026-11-19T09:13:05.05+00:00

Hello ,
I hope you are doing well.

I am currently creating DLP rules in our organization.
For internal label I created a rule to block any external sharing. But I want to make exception for some emails that are redirecting to our Ticketing systems and they are treated as internal.

I could not find where to add the exeption in the DLP policy under condition " NOT".

Can you guide me how to do this exception for some email addresses?User's image

Thanks,
Kind regards.

Microsoft Security | Microsoft Purview
0 comments No comments

Answer accepted by question author

AI answer

2026-11-19T09:14:00.65+00:00

Create a separate Exchange-only DLP policy, then add a NOT group with Recipient is for each ticketing-system address; the recipient options are absent from the current editor because its available conditions are constrained by the policy locations you selected.

Configure the exception

  1. In the Microsoft Purview portal, open Data Loss Prevention → Policies.
  2. Create a custom policy for Exchange email only, or duplicate the existing policy and change its locations so that only Exchange email is selected.
    • Keep the existing policy for SharePoint, OneDrive, Teams, or other locations.
    • When multiple locations are selected, the rule editor exposes only conditions shared by those locations. Microsoft recommends considering workload-specific policies when different conditions are required.^1^ Location selection also determines which conditions and actions are available.^2^
  3. Edit the Exchange policy’s rule.
  4. Under Conditions, keep the conditions that detect your Internal sensitivity label and external recipients.
  5. Select Add group, and switch that group to NOT.
  6. Inside the NOT group, select Add condition → Recipient is.
  7. Select the mailbox, mail user, or mail contact representing each ticketing-system address.
  8. Save the rule and initially run the policy in simulation mode. Test:
    • Internal-labeled email to an ordinary external address → blocked.
    • Internal-labeled email to the ticketing address → allowed by the exception.
    • Email containing both an excepted and a non-excepted external recipient → verify each recipient’s outcome.

For Exchange DLP, Recipient is has the exception predicate ExceptIfSentTo and evaluates recipients in the To, Cc, and Bcc fields. It accepts a mailbox, mail user, or mail contact represented in the organization.^3^

If the ticketing address is not selectable

Create or use an Exchange mail contact for the external ticketing address, then return to the DLP rule and select that contact under Recipient is. This is preferable to loose text matching because it identifies the specific recipient object.

If creating a contact is not appropriate, Exchange DLP also provides:

  • Recipient address contains words
  • Recipient address matches patterns
  • Recipient domain is

Use a domain exception only if every recipient in that domain should bypass the rule. The address text and pattern predicates inspect the recipient’s primary email address, not proxy addresses.^3^

For several ticketing recipients, a supported alternative is a distribution group, mail-enabled security group, or Microsoft 365 group and the Sent to member of exception. DLP supports those mail-enabled group types for recipient-based conditions.^3^

Important behavior with multiple recipients

Recipient-based conditions can cause message bifurcation: Exchange may allow delivery to an excepted ticketing recipient while blocking delivery to another external recipient on the same message. Test mixed-recipient messages before enabling enforcement.^3^

This exception applies to Exchange email recipients. It does not whitelist the same address for SharePoint or OneDrive sharing; those workloads must remain in a separate policy and use the exclusions available for their locations.


References

  1. is there a way we can setup Exception for the Purview DLP policy? - Microsoft Q&A
  2. Design a data loss prevention policy
  3. Data loss prevention Exchange conditions and actions reference
AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.