Scope Microsoft 365 DLP Policies to Groups and OneDrive Accounts
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.
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.
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.
In the Microsoft Purview portal, open Solutions > Data Loss Prevention > Policies, then create a policy or select an existing policy to edit.
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.
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.
Review the included and excluded Exchange entries, complete the remaining policy settings, and save the policy.

Add individual OneDrive URLs to the policy scope
Use this approach when a DLP policy should cover specific OneDrive accounts rather than all accounts.
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.

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.




