Monday, October 10, 2011

SharePoint People Picker Integration issues

Recently my business users complained that they can not add users to the site as they can not search the user names using the people picker. Iwent to SSP -> User Profiles and My Sites -> User Profiles and Properties ->View Import Connections. Every thing was good. I started a full import to make sure the user profiles are up to date. It completed in about an hour and imported users from the actual domain.

The problem we run into is that I was able to find the users from the "domainA" domain on which the moss server is located. I found out that by default People Picker can only find people in the resource domain - the domain that MOSS servers are in. For other domains/forests, you'll need to run the following command:

Stsadm.exe –o setproperty –pn peoplepicker-searchadforests –pv -url

The format of is a list of


separated by semicolon.

If they are trusted domains/forests, then it is not necessary to pass in the LoginName or Password, just in the format of

If the Password is specified in the forest:DnsName,LoginName,Password or domain:DnsName,LoginName,Password,
please run the below:

stsadm.exe -o setapppassword -password first. could be any string.
We will use to encrypt the Password in domain:DnsName,LoginName,Password or forest:DnsName,LoginName,Password and stored the encrypted Password in the database.
Also, please use the same to run stsadm.exe -o setapppassword -password on all machines where SharePoint is installed. For different web farm, please use different .

No comments:

Post a Comment