Cross farm search with seurity trimming does not work

Simon Qu 1 Reputation point
2021-09-30T00:47:13.46+00:00

I have two farms, one is sharepoint 2019, another is sharepoint 2016, setup server to server trust, and create the result source in SP2019. When I search sites in SP2019, only the site with everyone permission return, it seems security trimming does not work.

eg. logged in user : user001

search result in SP2016:

Team01 with everyone
Team02 with everyone
Team03 with everyone
Team04 with user001

search result in SP2019:

Team01 with everyone
Team02 with everyone
Team03 with everyone

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,221 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Elsie Lu_MSFT 9,761 Reputation points
    2021-09-30T07:38:53.307+00:00

    Hi@Simon Qu , welcome to Q&A forum!

    Is this only an issue encountered by user001, or other users will also have it? Have you share the service applications across farms correctly? You could refer to this official article for more information to check if you have configured the service applications:
    Share service applications across farms in SharePoint Server

    And here is also a blog with more details you could have a look:
    Cross Farm Services in SharePoint 2013

    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.


    If the 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.

    0 comments No comments

  2. Simon Qu 1 Reputation point
    2021-09-30T09:28:20.73+00:00

    @Elsie Lu_MSFT

    thanks for your reply.

    It is not only for user001, the same result for all users. I follow this guide to setup up the environment.
    https://learn.microsoft.com/en-us/sharepoint/search/configure-trust-for-search-between-two-sharepoint-server-farms