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

Data loss prevention policies should also cover Microsoft Teams

  • E5 Level 1
  • Microsoft Purview
  • Automated check

This check looks at whether an active Microsoft Purview data loss prevention policy includes the Teams chat and channel messages location. The safe setting is that Teams is in scope of an enabled policy, so sensitive content shared in chats is detected like it is in email.

Why it matters

Much day-to-day sharing has moved from email into chats and channels. If your DLP policies only cover Exchange, SharePoint and OneDrive, a sensitive value pasted into a Teams message passes through unchecked.

Microsoft lists Teams chat and channel messages as a DLP location and says that, for Teams chat, sensitive information that matches a policy is not displayed. Teams policies are scoped by account or distribution group and work with sensitive information types. Covering Teams closes that gap with the same policy approach you already use for email and files. See Data loss prevention policy reference and Learn about data loss prevention.

How to check it yourself

In the Microsoft Purview portal open Data loss prevention, then Policies, select a policy and look at its Locations. Teams chat and channel messages should be switched on, and the policy status should be On.

With read-only PowerShell:

Connect-IPPSSession
Get-DlpCompliancePolicy | Select-Object Name, Mode, Enabled, TeamsLocation, TeamsLocationException

A policy that covers Teams shows the scope in TeamsLocation (for example all accounts). The command does not modify anything.

How to fix it

ConfigCobra does not change your tenant; make the change yourself. In the Purview portal, open the policy you want to extend (or create one with Create policy), go to the Locations step and turn on Teams chat and channel messages. Choose which accounts or groups are included, then review the rules and save.

Microsoft notes that when Teams is combined with other locations, a policy can only detect by sensitive information type, because sensitivity labels and retention labels are not supported for Teams. If you rely on labels, keep a separate policy for the other locations. Use simulation mode first. Afterwards you can confirm with:

Get-DlpCompliancePolicy -Identity "<policy name>" | Format-List Name, Mode, TeamsLocation

What changes when you fix it

Teams users whose messages match a rule may have the sensitive content blocked or hidden in chats and channel posts, depending on the rule actions. Users sending legitimate data, such as support teams handling customer identifiers, may notice more friction and should be told in advance.

Administrators get new matches to review, and the activity is written to the Microsoft 365 audit log. Starting in simulation mode shows the effect before any user is affected.

Included in

BenchmarkCIS IDProfile
CIS Microsoft 365 Foundations v7.0.03.2.2E5 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