DLP specific location OneDrive

Occasional Contributor

Hi, I understand that within the DLP one can specify the locations. I want to set up a scenario for specific OneDrive accounts. Searching sites on the subject, you can conclude that to attach an account I need its URL in the following format:


But when I hit search it tells me only the following: No data availabe


The account with which I make these settings has the following roles: Global admin and Sharepoint Admin.


Has anyone been able to make this configuration? Am I missing some special role? In the Microsoft documentation they do not specify that point and they do not have examples with OneDrive. Thanks!

3 Replies

There are some obvious issues with the new UI that MS should hopefully address, but do make sure that you are entering the correct URL. It will not always match the UPN of the user, or the default domain, so make sure you verify it first. There are also some methods to enumerate ODFB sites, the easiest one being detailed here:


Apart from that, if I remember correctly you will need at least "view-only" permissions to add a given site/ODFB URL. Without such permissions, it's a hit or miss.

Thanks for the answer Vasil, I thought that being a SharePoint administrator was more than enough. Now, where can I configure the last thing you mention "view-only"?
best response confirmed by Christopher Campos (Occasional Contributor)

The solution was as simple as assigning yourself the SharePoint Admin role. Within the documentation they could add this small requirement and I think it would clarify the doubt to many. Case closed!