Forum Discussion
Use Org Intranet Site Homepage for SharePoint Homepage for Search Functionality
- Oct 14, 2024
Just providing an update on this.
I had someone else look at this, and they have come up with a better solution.
Instead of changing the Homepage site URL, they have suggested altering the Search functionality of the site in question include the entire tenant in its scope.
They suggested the below code to enable full tenant search from the site that is NOT my SharePoint homepage:
Connect-PnPOnline -Url https://yoursite.sharepoint.com/sites/yoursite -UseWebLogin
Set-PnPSearchSettings -Scope Web -SearchScope Tenant
Just providing an update on this.
I had someone else look at this, and they have come up with a better solution.
Instead of changing the Homepage site URL, they have suggested altering the Search functionality of the site in question include the entire tenant in its scope.
They suggested the below code to enable full tenant search from the site that is NOT my SharePoint homepage:
Connect-PnPOnline -Url https://yoursite.sharepoint.com/sites/yoursite -UseWebLogin
Set-PnPSearchSettings -Scope Web -SearchScope Tenant
- ChrisInhoffOct 24, 2024Copper ContributorI have implemented this in PROD, and the search works great. It also propagates down to lower-level sites in the instance allowing searches from other sites. It does NOT work when you are on the List, but that makes sense.
- DaveMehr365Oct 15, 2024MVP
Hello ChrisInhoff
here is an article about the possible settings in the microsoft search box:
https://learn.microsoft.com/en-us/microsoftsearch/manage-spo-search-box?WT.mc_id=DX-MVP-5004845
Best, Dave