SharePoint Online Data Loss Prevention Policy

Anonymous
2025-04-24T07:27:13+00:00

Can I exclude one keyword (keyword is current SharePoint site name) on the DLP policy execution of the current SharePoint site and run DLP for all other SharePoint sites dynamically. For example, if one of the SharePoint site names is 'test' then keyword will be 'test'. So DLP policy should exclude test keyword for test site and check for that keyword and lock the documents on other SharePoint sites and vice versa. Is it feasible?

Microsoft 365 and Office | SharePoint | For education | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Newest
  1. Anonymous
    2025-04-28T14:00:25+00:00

    Hello Shanthi,

    Thanks for your confirmation.

    In the creation of DLP policy, we can choose specific sites as below. However, in DLP rules, it seems we don't have such selection.

    I would recommend you can submit a ticket to online technical team to double confirm it this is feasible. They will have more resources and permissions to escalate it to a specialized team for deeper analysis. Get support - Microsoft 365 admin.   

    Best regards,

    Trish - MSFT | Microsoft Community Support Specialist

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-04-24T09:51:41+00:00

    Hi Trish-N,

    Thanks for your reply!

    Yes, I do not want to compare and lock the documents if the keyword is matched with the SharePoint site name.

    I am unable to fetch the current SharePoint site name or URL in the DLP settings, so that I will figure out on how to avoid execution of DLP if keyword which is matched with SharePoint site name.

    Hope its clear!

    Thanks & Regards,

    Shanthi.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-04-24T08:59:25+00:00

    Hello Shanthi,

    Good day! Thanks for the post in the community.

    Let me double confirm your real request first. Do you mean you want to add exception on the existing DLP policy? Like add more DLP rules as exception?

    Please point me out if I have any misunderstanding.

    Best regards,

    Trish - MSFT | Microsoft Community Support Specialist

    Was this answer helpful?

    0 comments No comments