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
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