Forum Discussion

Jeyganesh's avatar
Jeyganesh
Brass Contributor
Aug 18, 2019

Default Site Collection

We are using SharePoint Oline. also, we created the two site collections as follows.

 

communication site - https://companyname.sharepoint.com

Teamsite - https://companyname.sharepoint.com/sites/team

 

Now we would like to set the default site as Teamsite.

 

for example if we logon the URL https://companyname.sharepoint.com it should point Teamsite. It means we need to set the default site as team site.

 

how can we do this?

13 Replies

  • RobOK's avatar
    RobOK
    Bronze Contributor

    I'm not understanding the post replies above.

     

    CAN a Communications Site, set as a Hub, be made the Default site with the command mentioned? We want to do this in the future and I assumed it was possible.

     

    Thanks,
    Rob.

    • My original test of this awhile back was actually on a hub site. The hub parent navigation link broke, but renaming the hub fixed the URL. I also unregistered the hub site, and recreated it, and it's working as the root site. I think you can move a Hub site, but do at your own risk if you have a bunch of sites joined to it.
    • RobOK  The article doesn't say, it does say associated hub sites cannot, but nothing about the hub itself. I wouldn't trust it thou. I would break down the hub. Preform the move, then associate everything again. I'll see if I can test having a hub on the main site on my test tenant. give me a few. 

      • Rob Ellis's avatar
        Rob Ellis
        Bronze Contributor
        I just re-read the article, and I stand corrected.
    • Rob Ellis's avatar
      Rob Ellis
      Bronze Contributor
      You would have to un-hubify it, swap it, then hubify it again.
    • Jeyganesh's avatar
      Jeyganesh
      Brass Contributor

      ChrisWebbTech 

       

      I have one more question if I delete the communication site, then the team site will be set as the default site?

       

      because we just created the SharePoint site, there is no data.

      • Rob Ellis's avatar
        Rob Ellis
        Bronze Contributor
        "The source or target sites cannot be "associated" with an Office 365 Group or a Hub Site"
        (as per https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/invoke-spositeswap?view=sharepoint-ps )

        You cannot swap a Team site.

Resources