Monday, May 2, 2016

SharePoint 2016 DLP: Value cannot be null. Parameter name: site

As more people start playing with Data Loss Prevention (DLP) in SharePoint 2016, some of them have come across an “Unexpected” error when applying a DLP Policy to a Site Collection.

Value cannot be null. Parameter name: site

The error message in the ULS Log for your correlation ID would be similar to the following line:

Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type ‘System.Web.HttpUnhandledException’ was thrown. —> System.ArgumentNullException: Value cannot be null. Parameter name: site

This error most commonly arrives when you try to setup a policy for a Site Collection that is not in the same Web Application as your Policy Center. Due to Security reasons, the Compliance Policies can only apply DLP Policies to the same Web Application, so if you want to apply a policy to a Site Collection in a different Web Application, you would need a Policy Center Site collection in that Web Application.

I know the previous paragraph might sound confusing a bit, but to put it a different way, you need to create a Policy Center Site Collection in every Web Application that you want to apply DLP Policies in. If you try to apply a DLP Policy to a Site Collection in a different Web App, you will get the error above!

If you want an overview of Data Loss Prevention in SharePoint 2016, check out my CMSWire article over here: http://ift.tt/1QOhaXV

For a step by step tutorial on how to setup DLP in SharePoint 2016, check out my blog : http://ift.tt/1QOhaXY

Follow me on Social Media and Share this article with your friends!

Leave a comment and don’t forget to like the Absolute SharePoint Blog Page   on Facebook and to follow me on Twitter here  for the latest news and technical articles on SharePoint.  I am also a Pluralsight author, and you can view all the courses I created on my author page.

The post SharePoint 2016 DLP: Value cannot be null. Parameter name: site appeared first on Absolute SharePoint Blog by Vlad Catrinescu.


by Vlad Catrinescu via Absolute SharePoint Blog by Vlad Catrinescu

No comments:

Post a Comment