We have a farm that's setup on Domain A and it has trust to Domain B. By default we can find the users for Domain A in the People Picker, but we would like to add the users for Domain B as well in the People Picker.
I have followed these articles to try and make this happen, without success: https://technet.microsoft.com/en-us/library/gg602075(v=office.15).aspx http://www.sharepointdoug.com/2014/06/how-to-configure-people-picker-in.html
I have tried these PowerShell commands:
stsadm -o setproperty -pn peoplepicker-searchadforests -pv "forest:DomainA.com; domain:DomainA.com,DomainA\UserA,Pass123;domain:DomainB.com,DomainB\UserB,Pass123" -url "http://TheSite"
stsadm -o setproperty -pn peoplepicker-searchadforests -pv "domain:DomainA.com,DomainA\UserA,Pass123;domain:DomainB.com,DomainB\UserB,Pass123" -url "http://TheSite"
When I run these commands I'm only able to see the users from Domain B in the people picker, but I would like to see both users from Domain A and Domain B.
When I run the following PowerShell command everything goes back to default and I can see users from Domain A only:
stsadm -o setproperty -pn peoplepicker-searchadforests -pv "" -url "http://TheSite"
I have spent quite a lot of time on this and I'm clearly missing something. All help will be greatly appreciated.
Thank you.