SharePoint People Picker takes too long to resolve names

Issue: People Picker takes too long to resolve names

Cause: The problem is that we will always go to Active Directory first by default to do the lookup via the Translate To ids  function.  This isn’t desirable in this specific case because it’s a SharePoint security group that’s being passed.  The second part of the problem is with the format of the name specified on the people picker field.  The fact that there is no \ in the name causes Active Directory to submit the lookup against every domain in the forest.  In a large Forest, this can become a taxing operation.  Finally, the lookup is resolved within SharePoint.

Solution: Please run the following to resolve the issue.

  1. [System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”)
  2. $webapp=[Microsoft.SharePoint.Administration.SPWebApplication]::Lookup(“WEB App URL”)
  3. $webapp.PeoplePickerSettings.ActiveDirectoryRestrictIsolatedNameLevel=$true;
  4. $webapp.Update();

Related KB’s:

This property is set on the Web Application level and is false by default. In order to work around the problem, set this property to true.

Leave a Reply

Your email address will not be published. Required fields are marked *