Resolve users from another domain in SharePoint 2019

Andy 1,346 Reputation points
2022-11-28T05:26:57.307+00:00

My SharePoint domain is contoso.com, and we have another domain called contoso2.com. We want the users from contoso2.com to be resolved when we use People Picker column in SharePoint site, for example, when I type one user from contoso2.com in a people picker column, it will save the value successfully. Is it possible? If yes, how to do that? Any suggestion is appreciated.

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,812 questions
{count} votes

Accepted answer
  1. Haoyan Xue_MSFT 20,031 Reputation points Microsoft Vendor
    2022-11-29T08:03:36.353+00:00

    Hi @Andy ,
    You want to enter users from another domain in the list person column.
    1.You need to first establish a trust relationship between the two domains. Then Configure People Picker in SharePoint 2019.
    For How to Add Trust Domains in a SharePoint Farm , please refer to: https://www.boostsolutions.com/blog/how-to-add-trust-domains-in-a-sharepoint-farm/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    2.Then run the following command for each of your web applications, substituting the example URL and domains with your web application URL, local and trusted domain and/or forest.For a full forest trust:

    stsadm -o setproperty -pn peoplepicker-searchadforests -pv "forest:MY-DOMAIN.local;forest:TRUSTED-DOMAIN.local;domain:MY-DOMAIN.local;domain:TRUSTED-DOMAIN.local" -url http://my-sp-site.com.au/  
    

    You should now be able to add users from both sides of the trust to your Sharepoint list.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful