When I create a new SPO site collection, the site by default appears to be a classic team site. I want the top level site to be a modern site, Can i create top site collection as a hub site?

1 Answer 1


Yes, you can add a root site as Hub in SPO. A classic site collection can be a hub site. Sub site can't be added to hub and the subsite themselves cant be a hub site. Only a Site Collection can be a hub site.

Also, only the modern pages in Site pages library of the classic site collection will have the benefits of the Hub site.

So, you need to enable the Site Pages feature to have modern site pages and the benefits of Hub site. It is site level feature ( Site Settings > Manage Site features)

enter image description here

To add it as hub site, use below PS:

Register-SPOHubSite https://tenant.sharepoint.com 
Set-SPOHubSite https://tenant.sharepoint.com -Title "Tenant"
  • Getting this error 'Register-SPOHubSite : No connection available. Use Connect-SPOService before running this CmdLet.' May 4, 2018 at 6:41
  • Yes, you need to connect to SP Online first by using the Connect-SPOService command and entering the credentials May 4, 2018 at 6:43
  • Thanks Gautam, it is working..i have one more question how we can check all the sites within one hub? May 4, 2018 at 7:03
  • I can not find any difference between normal site and hub site..after doing this... May 4, 2018 at 7:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.