SOLVED

Can a root site be set as home site?

%3CLINGO-SUB%20id%3D%22lingo-sub-2202180%22%20slang%3D%22en-US%22%3ECan%20a%20root%20site%20be%20set%20as%20home%20site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202180%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fhome-site%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fhome-site%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPaced%20through%20the%20steps%20but%20was%20ultimately%20denied.%20Any%20other%20ideas%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3EPS%20C%3A%5CWINDOWS%5Csystem32%26gt%3B%20Set-SPOHomeSite%20-HomeSiteUrl%20https%3A%2F%2Ftenant.sharepoint.com%3C%2FPRE%3E%3CPRE%3EConfirm%3CBR%20%2F%3EBefore%20you%20set%20a%20Home%20site%2C%20make%20sure%20you%20review%20the%20documentation%20at%20https%3A%2F%2Faka.ms%2Fhomesites.%20Continue%3F%3CBR%20%2F%3E%5BY%5D%20Yes%20%5BN%5D%20No%20%5BS%5D%20Suspend%20%5B%3F%5D%20Help%20(default%20is%20%22Y%22)%3A%20y%3CBR%20%2F%3ESet-SPOHomeSite%20%3A%20%5BError%20ID%3A%2009149788-0a26-4cee-a333-699b81f629d7%5D%20The%20provided%20site%20url%20can't%20be%20set%20as%20a%20Home%20site.%3CBR%20%2F%3ECheck%20aka.ms%2Fhomesites%20for%20cmdlet%20requirements.%3CBR%20%2F%3EAt%20line%3A1%20char%3A1%3CBR%20%2F%3E%2B%20Set-SPOHomeSite%20-HomeSiteUrl%20https%3A%2F%2Ftenant.sharepoint.com%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20NotSpecified%3A%20(%3A)%20%5BSet-SPOHomeSite%5D%2C%20ServerException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20Microsoft.SharePoint.Client.ServerException%2CMicrosoft.Online.SharePoint.PowerShell.SPOHo%3CBR%20%2F%3EmeSite%2BSetSPHSite%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2202180%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202239%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20a%20root%20site%20be%20set%20as%20home%20site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202239%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F465458%22%20target%3D%22_blank%22%3E%40icelava%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20the%20root%20site%20a%20communications%20site%20and%20you%20haven't%20associated%20the%20root%20site%20with%20a%20Hub%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202517%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20a%20root%20site%20be%20set%20as%20home%20site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202517%22%20slang%3D%22en-US%22%3EThe%20site%20was%20classic%20and%20has%20been%20updated%20to%20communication%20site.%20It%20is%20a%20hub%20site%20for%20the%20company%20intranet.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202877%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20a%20root%20site%20be%20set%20as%20home%20site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202877%22%20slang%3D%22en-US%22%3E%3CP%3EI%20think%20the%20problem%20is%20that%20the%20root%20site%20is%20not%20a%20Communication%20Site...you%20have%20modernized%20it%20for%20sure%2C%20but%20it's%20not%20a%20communication%20site%20behind%20the%20scenes%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2202972%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20a%20root%20site%20be%20set%20as%20home%20site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2202972%22%20slang%3D%22en-US%22%3EI%20would%20recommend%20to%20create%20a%20new%20communication%20site%20and%20swap%20it%20with%20the%20current%20site%20(by%20first%20unregistering%20the%20hub%20site).%20Then%20activate%20the%20Home%20site%20feature%20for%20the%20new%20communication%20site.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2204594%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20a%20root%20site%20be%20set%20as%20home%20site%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2204594%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3BSo%20Enable-SPOCommsite%20was%20not%20good%20enough%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

https://docs.microsoft.com/en-us/sharepoint/home-site

 

Paced through the steps but was ultimately denied. Any other ideas?

 

PS C:\WINDOWS\system32> Set-SPOHomeSite -HomeSiteUrl https://tenant.sharepoint.com
Confirm
Before you set a Home site, make sure you review the documentation at https://aka.ms/homesites. Continue?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y
Set-SPOHomeSite : [Error ID: 09149788-0a26-4cee-a333-699b81f629d7] The provided site url can't be set as a Home site.
Check aka.ms/homesites for cmdlet requirements.
At line:1 char:1
+ Set-SPOHomeSite -HomeSiteUrl https://tenant.sharepoint.com
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-SPOHomeSite], ServerException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.SPOHo
meSite+SetSPHSite

 

10 Replies

@icelava 

 

Is the root site a communications site and you haven't associated the root site with a Hub? 

The site was classic and has been updated to communication site. It is a hub site for the company intranet.

I think the problem is that the root site is not a Communication Site...you have modernized it for sure, but it's not a communication site behind the scenes

I would recommend to create a new communication site and swap it with the current site (by first unregistering the hub site). Then activate the Home site feature for the new communication site.

@Juan Carlos González Martín So Enable-SPOCommsite was not good enough?

This doc says that modenizing just adds a few modern features, it doesn't actually turn it into a communication site. Same doc tells you how to create a new comms site and swap out the root

https://docs.microsoft.com/en-us/sharepoint/modern-root-site#replace-your-root-site
best response confirmed by icelava (Occasional Contributor)
Solution

Looks like the underlying SharePoint admin API does not like that it's a hub site.

 

After de-registering as hub, the root site can be set.

 

PS C:\WINDOWS\system32> Set-SPOHomeSite -HomeSiteUrl https://tenant.sharepoint.com
Confirm
Before you set a Home site, make sure you review the documentation at https://aka.ms/homesites. Continue?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y
Value
-----
The Home site has been set to https://tenant.sharepoint.com. It may take some time for the change to apply. Ch...

Can't see any update to my SharePoint mobile app yet. (UPDATE: It appears now.)

 

Quite frankly though, I cannot fathom the reason why a hub site cannot be set as a home site.

@icelava  I have the same situation - my root site is a HUB and I want to use it as a HomeSite. 

So can you register your HomeSite back to be a HUB after you have set it up to be HomeSite?

@MarinBuric You have to do like I did; de-register the root site as a hub first, then run the cmdlet to register it as the home site. You can re-add the hub later.

OK, same procedure as for SiteSwaping.. but I just wanted to be sure