Cannot Search from SharePoint Online to SharePoint On-premise

Hanamichi Sakuragi 246 Reputation points
2020-08-05T11:48:49.95+00:00

Hi,

We just recently created the site with search center in SharePoint Online, the aim for creating the site is to search from SharePoint Online to SharePoint On-premise.

All users can search, but it displays all the results from all the sites on the web applications on SP on-prem.

I created a query rule to display result on the specific sites. By the way the Web Application consist of 6 site collection.

I tried to put a query rules, It is working fine on my account and other service account that i used. But for other users it does not display any results.

But when I remove the query rules, the search will work again but it display all documents from all 6 site collection.

I tried on 1 user to level on my permission but still no success, it still not display any results.

Can somebody help me on this.. this is so frustrating i don't know what to check now..

Thank you.

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

Accepted answer
  1. Hanamichi Sakuragi 246 Reputation points
    2020-08-18T13:25:48.203+00:00

    I run the command below to fix the search issue.

    $serviceConfig = Get-SPSecurityTokenServiceConfig
    $serviceConfig.AllowOAuthOverHttp = $false
    $serviceConfig.Update()

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.