SOLVED

Can a root site be set as home site?

Brass 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 (Brass 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
1 best response

Accepted Solutions
best response confirmed by icelava (Brass 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.

View solution in original post