Configure People Picker for Multi-Domains(or Cross Domains), Forests Environments

If you have SharePoint environment in new domain(example: Main) and also have old sharepoint in other domain(example: Constco) and want to bring Old sharepoint users into new SharePoint then follow the below steps

Open Two way/ One way Trust between Two Domain controllers (i.e. Old and New)

1)  Open the proper ports between SharePoint 2019 servers (except Database servers) and Old Domain  Controler (Constco)

2) exectue the below command in all servers in New sharepoint environment

           stsadm -o setapppassword -password Test$123   

            replace Test$123 to your own passowrd 

3)  exectue the below command in web servers only in New sharepoint environment

    stsadm -o setproperty -pn peoplepicker-searchadforests -pn peoplepicker-searchadforests -pv "forest:Main.Corp;forest:constco.corp,constcoDomain\loginname,'password'" -url "SharePoint web URL"

Note: Replace Main to your new domain 

           constcoDomain to old domain

           loginname to old domain login name 

           password to Old domain password 

4) excecute all web servers

     stsadm -o setproperty -pn peoplepicker-searchadforests -pv "domain:Newdomain.CORP; domain:OldDomain.CORP" -url "web url"

5) Reset IIS


Note: Replace Red color text to your labels 


Proper ports list:

  • TCP/UDP 135 (RPC)
  • TCP/UDP 389 (LDAP default port)
  • TCP 636 (LDAP SSL default port)
  • TCP 3268 (LDAP Global Catalog)
  • TCP 3269 (LDAP SSL Global Catalog)
  • TCP/UDP 53 (DNS)
  • TCP/UDP 88 (Kerberos)
  • TCP/UDP 445 (Directory Services)

    Optional Ports:
  • TCP/UDP 749 (Kerberos-Adm)
  • TCP port 750 (Kerberos-IV)
-------------------------------------------------
Please use the below article for reference:

https://aarohblah.blogspot.com/2016/02/my-notes-on-sharepoint-2013-user.html
http://sharepoint-talk.blogspot.com/2011/09/sharepoint-people-picker-and-active.html

Comments

Popular posts from this blog

SharePoint 2016 and 2019 Ports

PsConfig step by step /Configuration Wizard. “Upgrade Available” vs “Upgrade required”

Clear fields based on drop-down values in PowerApps