• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 473
  • Last Modified:

Sharepoint foundation 2013 domain name change people picker

We are going through an AD migration of 3 AD's to 1 new one.. We have a sharepoint foundation 2013 server on one of the old domains which still needs to be used (used as a room booking calendar).

Users are still able to use it with their migrated usernames on the new domain and make room bookings etc but there is a field used for a "booking notification" (which sends the person booking a confirmation and calendar appointment) but this field is not picking up any users (unsurprising since they are in a different domain now)

I'm in no way expert in sharepoint, I have admin privileges but no idea how to go about fixing the people lookup.

Where do I start? Two way trusts exist between each domain to new one. SharePoint server is still on old domain.. didn't want to migrate it over to new domain until found out correct methodology and it's pretty much not broken apart from this one problem so didn't want to make the problem worse.
0
fieryfredo
Asked:
fieryfredo
  • 3
  • 2
2 Solutions
 
Mohit NairCommented:
Where does the users reside for the field "Booking confirmation" ? Is it on the old domain migrated to new one ?
Navigate to C:\program files\common files\Microsoft shared\web server extensions\15\bin in the command prompt
and execute this command
stsadm -o peoplepicker -pn searchadforests -pv "forest:contoso.corp.com,<LoginName>,<Password>;domain:bar.contoso.corp.com,<LoginName>,<Password>"
0
 
fieryfredoAuthor Commented:
Hi Mohit,
Thank you for the reply.

I tried that  but peoplepicker doesn't appear to be an operation I can choose.. I get this error message:

"Missing operation name or the operation name is invalid."

Would this part of the command be missing from Foundation ?
0
 
Mohit NairCommented:
I am extremely sorry the correct syntax is
stsadm –o setproperty –pn peoplepicker-searchadforests –pv <list of forests or domains> -url <WebApp>

Read this TechNet article where you would find the right command if you have one way/2 way trust or for cross domain queries
https://technet.microsoft.com/en-us/library/gg602075.aspx
0
 
fieryfredoAuthor Commented:
Hi Mohit,
I got this working, thank you for the pointers.. here are the commands that worked should anyone else be looking for this answer:

stsadm -o setapppassword -password <password>

stsadm -o setproperty -url http://server:port -pn peoplepicker-searchadforests -pv forest:<forestname>
0
 
fieryfredoAuthor Commented:
Mohit got me 90% of the way :)
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now