DLP Policy Slow to Screen New Files in OneDrive For Business and SharePoint Online

Copper Contributor

Hello Everyone,


I have enabled some DLP policies in Office 365 security center, and these apply to OneDrive for business and SharePoint Online.


So far these policies are working and preventing data from getting shared to un-authorized recipients. However, if I create/upload a new file in my OneDrive For Business, I can share the file with external people within the first 10 to 15 minutes of upload/create. After about 10-15 minutes the DLP policy kicks in and locks down the new file, but it's too late, the file is already shared!


Any idea how to force new files to get scanned by the DLP policy engine immediatly?




9 Replies

At the very least, the document needs to be crawled by the search engine, which in SPO can take a while (I believe the minimum guarantee is around 15 mins, but it can take a lot less or lot more depending on the overall load).


The way DLP policies work against SPO/ODFB content is detailed here: https://support.office.com/en-us/article/Overview-of-data-loss-prevention-policies-1966b2a7-d1e2-4d9...

Hi Vasil,

Thank you for your reply. This is unfortunate, as my organization is a financial institution. We value DLP over user productivity because the data we have simply can't get leaked. It seems the only way to guarantee that sensitive data won't get shared is to keep it on premise. Hopefully Microsoft will introduce a feature that can disallow sharing until DLP clears a document.

Well if memory serves, the document will get locked upon detecting any DLP policy matches, so even if it was shared during that short interval, it will not be accessable by external users.

Hi, I know this is more than 3 years old but we have the same situation.

I tried what you said and it does not do this. The external user is able to access the "illegal" content that was leaked.

So if someone is quick enough to share a file that has a big list of SSNs, the external user can access the content of that file without a problem.

This is a big security concern...

Yes, this is a huge security issue. Not only has it not improved, but MS seems content to spend it time rebranding things. Now we have security tags. These tags have the same flaw. 


To make matters worse, I have an environment that has Windows 10, Mac OS, IOS, etc. The encryption features that follow a document depend on Azure Information Protection. The client is built into office now. 


Unfortunately, the office client does not have the encryption code. After speaking with MS support, the encryption features are in the Windows OS. So security in Azure/O365 is for Windows-only, it isn't real time, and in my opinion is not a serious contender in the security space.

This is very unfortunate to read. Chances are we may have to re-check if we want to stick with O365 or move to something else since we can't rely on their DLP policies when it comes to tagging new sensitive files.

Thank you for letting me know.



I tried it and I am having trouble. I can still share newly uploaded files even with this feature turned on. I read that this is a feature still on roll out. How would I know if I can now use it or not? 

Hi, I have the same issue but in this case it takes more than 24 hours and to scan new files it takes more than 3 days, that is crazy. The link you provide it has a 404 Not found. Any idea how can we force to scan all my tenant in search of a matched rule or policy?