Federated Search - 401 Error

Hi,

We have configured a federated search between FarmA and FarmB. Our moto is to pull the search results from FarmB to FarmA. Below are the steps followed

  • Created trust between FarmA and FarmB
  • In FarmA, created result source with Remote SharePoint and FarmB search URL as Remote Service URL.
  • Gave read permissions to the user in both FarmA and FarmB

When user do a search in FarmA, he is getting 401 unauthorized error. But if user access the FarmB search URL and then do a search in FarmA, then user is able the get the results.

Note that user is encountered with 401 unauthorized error till his first visit to FarmB search URL. Once FarmB search URL is visited then after everything is working fine.

May I know the reason what could be the issue?

Thanks,

Prasad


June 26th, 2015 11:05am

Hi,

According to your description, my understanding is that the users encountered 401 unauthorized error till they accessed FarmB search URL.

Did you configure federated search between SharePoint online and SharePoint 2013?

Could you please provide error log?

Here are several posts with similar issue for your reference:

http://www.brightstarr.com/sharepoint-technology-and-application-insights/configuring-inbound-hybrid-search-for-a-large-distributed-organisation

https://social.msdn.microsoft.com/Forums/en-US/a89bd19f-30fa-49d6-83cc-403d8af747cb/error-401-unauthorized-when-setting-up-hybrid-search?forum=sharepointsearch

https://support.microsoft.com/en-us/kb/3000380?wa=wsignin1.0

Thanks,

Dean Wang

Free Windows Admin Tool Kit Click here and download it now
June 28th, 2015 3:44am

Thanks Dean Wang for your response.

Both the farms are On-Premises. Sorry, I forgot to put that note.


June 29th, 2015 1:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics