sharepoint 2019 mixed domains

test123123 0 Reputation points
2023-11-16T21:11:46.2766667+00:00

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.

Thanks

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

2 answers

Sort by: Most helpful
  1. Xyza Xue_MSFT 23,836 Reputation points Microsoft Vendor
    2023-11-17T03:03:05.5266667+00:00

    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 Contoso.com and a domain named Fabrikam.com, and includes the credentials for each:

    sTSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv "forest:Contoso.com,Contoso\User1,Password1; domain:Fabrikam.com,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
    2023-11-19T16:47:06.4833333+00:00

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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.