Forum Discussion
Jeyganesh
Aug 18, 2019Brass Contributor
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/t...
Aug 18, 2019
Check into invoke-spositeswap powershell command here: https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/invoke-spositeswap?view=sharepoint-ps
This can let you change the site with the default. Currently there is no way to define the home site yet. That is coming in the future.
This can let you change the site with the default. Currently there is no way to define the home site yet. That is coming in the future.
- JeyganeshAug 18, 2019Brass Contributor
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 EllisAug 19, 2019Bronze 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.- Rob EllisAug 19, 2019Bronze Contributorto clarify this slightly - you cannot swap a group connected team site - but, from the article:
"If the target is the root site at https://tenant-name.sharepoint.com then the source site must be either a Team Site (STS#0), a Modern Team Site (STS#3), or a Communication Site (SITEPAGEPUBLISHING#0)."
So a classic Team site, or a modern (non-group connected) Team site would be fine.