SOLVED

Replace SharePoint Online home page

Brass Contributor

Hello together,
we have changed the start page of our SharePoint Online Tenant to a page created by us.
Now all contents of the organization can be searched on this page in the search, but no persons are displayed.
So the search for persons does not work.
This worked with the standard page.
Does anyone have experience here?

kind regards 
Silas Muth

3 Replies

@Silas_MuthHi please try this document shared in Microsoft Docs... it gives you the details on how to do it;

 

https://techcommunity.microsoft.com/t5/microsoft-search-blog/creating-custom-search-results-pages-in...

Hello,

You will need to configure the search scope.
See this video for more information:

https://youtu.be/6WS2vkYqs7g

Yours sincerely,
Aref Halmstrand
best response confirmed by Silas_Muth (Brass Contributor)
Solution

Hello,
I have found exactly one PowerShell command that fixes this problem.

#Set Parameters

$SiteURL = "https://crescent.sharepoint.com/sites/Marketing"

 

#Connect to SharePoint Online site

Connect-PnPOnline -Url $SiteURL -UseWebLogin

 

#change default search scope

Set-PnPSearchSettings -SearchScope Tenant

1 best response

Accepted Solutions
best response confirmed by Silas_Muth (Brass Contributor)
Solution

Hello,
I have found exactly one PowerShell command that fixes this problem.

#Set Parameters

$SiteURL = "https://crescent.sharepoint.com/sites/Marketing"

 

#Connect to SharePoint Online site

Connect-PnPOnline -Url $SiteURL -UseWebLogin

 

#change default search scope

Set-PnPSearchSettings -SearchScope Tenant

View solution in original post