Skip to main content
Five Steps for Cloud Compliance Readiness·A practical playbook for security teamsDownload
CIS Microsoft 365 Foundations v7.0.0 · 3.2.1

Data loss prevention policies should be switched on in Microsoft 365

  • E3 Level 1
  • Microsoft Purview
  • Automated check

This check looks at whether your tenant has at least one Microsoft Purview data loss prevention (DLP) policy that is turned on and covers your core Microsoft 365 locations. The safe setting is an active policy, not one that is switched off or only drafted.

Why it matters

People share files and emails every day, and some of them contain customer records, payment details or other sensitive content. A DLP policy lets Microsoft Purview recognise that content and warn the user, block the action, or record it. Without an active policy, nobody is warned and nothing is recorded when a sensitive file leaves through email, SharePoint or OneDrive.

Microsoft describes DLP as applying to locations such as Exchange email, SharePoint sites, OneDrive accounts and Teams chat and channel messages, and notes that monitored activities are written to the Microsoft 365 audit log. A policy that exists but is switched off gives you none of that. See Learn about data loss prevention on Microsoft Learn.

How to check it yourself

In the Microsoft Purview portal, open Solutions, then Data loss prevention, then Policies. Look at the Status column: you want at least one policy showing On that includes Exchange, SharePoint and OneDrive. A status of Off or a simulation state means the policy is not enforcing.

The same view from PowerShell is read-only. Connect to Security & Compliance PowerShell and list the policies:

Connect-IPPSSession
Get-DlpCompliancePolicy | Select-Object Name, Mode, Enabled, ExchangeLocation, SharePointLocation, OneDriveLocation

Run it with an account that has read access to compliance settings. The command only lists policies and changes nothing.

How to fix it

ConfigCobra only reads your tenant, so the fix is made by you or your admin. In the Purview portal go to Data loss prevention, then Policies, and select Create policy. Start from a predefined template or a custom policy, choose the locations (Exchange email, SharePoint sites, OneDrive accounts), pick the conditions and the action to take, and finish the wizard.

Microsoft recommends first running a new policy in simulation mode, where actions are not applied, reviewing the matches, tuning it, and only then turning it on. If a suitable policy already exists but is not enforcing, you can enable it with PowerShell after you have reviewed it:

Set-DlpCompliancePolicy -Identity "<policy name>" -Mode Enable

Microsoft notes that policies generally take effect about an hour after being turned on.

What changes when you fix it

Users who handle sensitive content may now see policy tips, be blocked from a sharing action, or be asked to give a business reason, depending on the actions you chose. Helpdesk may get questions in the first weeks, especially from teams that send data outside the company routinely, such as finance or HR. Compliance staff gain alerts and activity records to review.

Simulation mode is the safe way to learn who would be affected before anyone is blocked. Nothing changes for mailboxes, sites or files that do not match a rule.

Included in

BenchmarkCIS IDProfile
CIS Microsoft 365 Foundations v7.0.03.2.1E3 Level 1

Check this on your Microsoft 365

ConfigCobra runs this check with every other control of the CIS Microsoft 365 Foundations Benchmark, read-only.

Get in touch

Let's talk.

Whether you're evaluating ConfigCobra, running an audit, or managing a client fleet — we respond within one business day.

Free trial