Hi @adela gonzalez
To set up a DLP policy in Microsoft Purview that monitors PDF files on a SharePoint site but excludes a group of users, follow these steps:
- Create a DLP Policy
- Go to the Microsoft Purview compliance portal:
- Policies > Data loss prevention > Create a policy.
- Choose a Custom Policy Select Custom policy template to get full control over locations and rules.
- Select Locations Choose SharePoint and optionally narrow it down to a specific site collection (you can select specific sites).
- Define Policy Rules a) Under Rules, add a new rule and set the condition to detect file type = PDF. b) You can also combine with content detection (e.g., sensitive info types) if needed.
- Set the User Scope with Exclusions In the “Choose users or groups” section of the rule: Select All users and groups (or specific ones).
- Then exclude the group you want to exempt using the Exclude users and groups option.
You must use the Exclude users and groups setting inside the location configuration for SharePoint/OneDrive.
I hope this information helps. Please do let us know if you have any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.
As your feedback is valuable and can assist others in the community facing similar issues.
Thank you.