0 XP

DLP for Exchange email

DLP is where sensitive data is caught

To catch mail containing credit card numbers or other sensitive information types, use a Purview DLP policy on the Exchange email location. Mail flow rules, anti-spam policies and MRM tags are the wrong tools: DLP is built around sensitive information types and sensitivity labels.

Conditions

DLP for Exchange email uses predicates much like mail flow rules, plus content inspection:

  • Senders: From, FromMemberOf (dynamic groups are supported, unlike mail flow rules), SenderIPRanges, sender domain, FromScope, AD attributes.
  • Recipients: SentTo, RecipientDomainIs, SentToMemberOf, AccessScope, RecipientCountOver, DomainCountOver.
  • Content: Content contains (ContentContainsSensitiveInformation, matching sensitive information types or labels), Content is not labeled, subject and body words and patterns.
  • Attachments: password protected, extension, couldn't be scanned, size and more.
  • Message: headers, importance, has sender override, message type, size.

The sender address location defaults to Header. Change it tenant-wide with Set-PolicyConfig -SenderAddressLocation Envelope, or per rule with SenderAddressLocation. Don't confuse this with Reject Direct Send, which checks the envelope sender and is a separate Set-OrganizationConfig switch.

Actions

  • Restrict access or encrypt (BlockAccess, RMS templates).
  • Forward for approval to the manager or specific approvers (Moderate).
  • Redirect; add recipients or the manager.
  • Set or remove a header; prepend or modify the subject; apply an HTML disclaimer.
  • Remove encryption (RemoveRMSTemplate); apply a branding template; EnforcePortalAccess, which makes external users read through the portal.
  • Quarantine.

Litigation Hold, moving mail to the archive and the Tenant Allow/Block List are not DLP actions.

Managing DLP

DLP policies are built in the Purview portal. From PowerShell, DLP cmdlets live in Security & Compliance PowerShell, reached with Connect-IPPSSession, for example New-DlpComplianceRule. New-TransportRule in Exchange Online PowerShell makes mail flow rules, not DLP rules. Remember that Connect-IPPSSession isn't available in PowerShell 7 on macOS or Linux.

Knowledge check

5 questions on what you just read. Each answer shows the full explanation and its source.

Loading…