You have two trusted forests or domains called domain1.local and domain2.local
Your sharepoint is set on the domain1.local and you want sharepoint to be able to see users from domain2.local from the people picker.

First connect to your Sharepoint web application server and start the Sharepoint 2013 Management Shell.
You may want to see the list of web applications first, so enter the command


This should retrieve the list of the web applications from your server, now note the URL of the Sharepoint you would like to setup (including http/https).
Now enter the command and adapt with the right informations:

stsadm -o setproperty -pn peoplepicker-searchadforests -pv "forest:domain1.local;forest:domain2.local;domain:domain1.local;domain:domain2.local" -url https://sharepointurl.local

You should receive th message Operation completed successfully.

That's it !

You may want to check the setting, to do so just enter :

stsadm -o getproperty -pn peoplepicker-searchadforests -url https://sharepointurl.local


blog comments powered by Disqus