trust relationship between 2 domain

Irfan Mughal 6 Reputation points


we r implementing SharePoint 2019, we have to domains and want to get user details from both domain. do we need to build trust relationship between 2 domain. or is there any specific requirement to get users from 2 different domains.

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,897 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Allen Xu_MSFT 13,801 Reputation points

    Hi @Irfan Mughal ,

    For your requirement, you have to set up SharePoint on one domain and build trust relationship between two domains. Then you need to run the below PowerShell command:

    stsadm -o setproperty -pn peoplepicker-searchadforests -pv ";,DomainB\login,password" -url "Your webapp url"  

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.