Compliance Problems

Scope Microsoft 365 DLP Policies to Groups and OneDrive Accounts

Huda QurayshiHuda Qurayshi Nov 13, 2026 870 views

Question details

Understand which Microsoft 365 DLP locations support security or distribution groups and how to include specific OneDrive accounts in a policy.

Product
Microsoft 365 Data Loss Prevention (DLP) in Microsoft Purview
Device & OS
not provided
Scenario
An administrator is configuring a DLP policy for selected Exchange mailboxes and individual users' OneDrive accounts.
Observed behavior
The desired policy should include supported groups for Exchange mailboxes and explicitly selected OneDrive accounts rather than all users.
Before you start

Sign in to the Microsoft Purview portal with permission to manage DLP policies. Identify the Exchange groups you want to include and collect the OneDrive URLs for the individual accounts you want to target.

Solution 1Recommended

Select supported groups for the Exchange mailbox location

Use this approach to scope the Exchange portion of a DLP policy to supported security or distribution groups.

DLP scoping depends on the selected location. Group selection supported for Exchange mailboxes does not automatically apply to OneDrive accounts.

1
Open the DLP policy

In the Microsoft Purview portal, open Solutions > Data Loss Prevention > Policies, then create a policy or select an existing policy to edit.

2
Configure Exchange scope

Go to the policy's location-selection page and enable Exchange email. Open its inclusion selector to choose which mailboxes or groups the policy should cover.

3
Add supported groups

Search for the intended security or distribution group, select it if the policy's Exchange selector supports it, and add it to the included scope. Repeat for other required groups.

4
Review the policy scope

Review the included and excluded Exchange entries, complete the remaining policy settings, and save the policy.

Select supported groups for the Exchange mailbox location
Group support is location-specific: Use only group types accepted by the Exchange location selector. Selecting a group for Exchange does not include its members' OneDrive accounts.
Free Microsoft Office alternative

Use WPS Office for Everyday Document Work Alongside Your Compliance Tools

WPS Office is a free, lightweight alternative for editing documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make migration straightforward for everyday file work, but it does not configure or replace Microsoft Purview DLP policies.

Free, lightweight tools for everyday document editing.Compatible with Microsoft Office formats, including DOCX, XLSX, and PPTX.A familiar interface helps users transition from Microsoft Office.Supports everyday file work while DLP policy scoping remains managed separately in Microsoft Purview.
microsoft office alternative - wps office

Frequently Asked Questions

Can I select a security group in a Microsoft 365 DLP policy?

For the Exchange email location, security or distribution groups can be selected when supported by the policy. In Microsoft Purview, open the policy's location settings and use the Exchange inclusion selector to check whether your group is available.

Does selecting an Exchange group also cover its members' OneDrive accounts?

No. Exchange and OneDrive have separate location scopes. Open the OneDrive accounts settings in the same policy and explicitly include the individual accounts you want to cover.

Which URL should I use to target a user's OneDrive?

Use the URL of the user's personal OneDrive site, not a file or folder sharing link. Add each URL individually in the policy's OneDrive inclusion selector; if your portal requests a different account identifier, use the format shown there.

How do I prevent a DLP policy from applying to every OneDrive account?

On the policy's location-selection page, open the OneDrive inclusion selector and replace the all-accounts scope with specific accounts. Add the intended users' OneDrive URLs and review the final inclusion and exclusion lists before saving.

Can WPS Office manage Microsoft 365 DLP policies?

No. Configure Microsoft 365 DLP policies in the Microsoft Purview portal. WPS Office is an alternative for working with Office-format files, not a replacement for Microsoft Purview's compliance administration.