sharepoint 2019 mixed domains

test123123 0 Reputation points

Hi I have a sharepoint 2019 on domain a . I need users from domain b and domain c to access this sharepoint on domain a. A trust relation has been created for domain a,b,c.

The problem i face is the people picker only picks up domain a.

What is the exact process in setting up in central admin or powershell.


SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,066 questions
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
8,577 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Haoyan Xue_MSFT 14,776 Reputation points Microsoft Vendor

    Hi @test123123 ,

    Enable cross-forest or cross-domain queries when using a one-way trust, If the forest or domain on which SharePoint Server is installed has a one-way trust with another forest or domain, you must specify the credentials to be used to query the forest or domain, in addition to the names of the forests or domains to be queried. People Picker will only query the forests or domains that you specify in the peoplepicker-searchadforests property setting.

    To specify the forests or domains to be queried along with the credentials, type the following command,The following example configures People Picker for use with a forest named and a domain named, and includes the credentials for each:

    sTSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv ",Contoso\User1,Password1;,Fabrikam\User2,Password2" -url https://ServerName

    For more information, see Peoplepicker-searchadforests: Stsadm property.

    Don’t forget to do the IISReset!

    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 comments No comments

  2. nellie 126 Reputation points

    I see Contoso\User1,Password1 is used . What privalages does this logon need ?