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
Hello ChrisInhoff
with this command you will replace your existing root site with a new: https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/set-spohomesite?view=sharepoint-ps?WT.mc_id=DX-MVP-5004845
You can also use the SharePoint Admin GUI:
Best, Dave