SOLVED

Create Root Site Collection with CSOM

Copper Contributor

Hi,

 

It is possible to create the rootsite collection (https://<tenant-name>.sharepoint.com) in SharePoint online with CSOM PowerShell?

 

Thanks

2 Replies
best response confirmed by Miguel Ortiz Jiménez (Copper Contributor)
Solution
The rootsite collection is always present in a SPO tenant so I don't think you want be able to create it...while it's true you can delete the default rootsite collection, I don't recommend you to do it since you will be adding unexpected side effects in the SPO tenants....out of curiosity: why do you need to create a root site collection in your tenant?

Hi Juan Carlos,

it is something that has happened to the customer. The next time we meet, I'll tell you ;).

 

Thx

1 best response

Accepted Solutions
best response confirmed by Miguel Ortiz Jiménez (Copper Contributor)
Solution
The rootsite collection is always present in a SPO tenant so I don't think you want be able to create it...while it's true you can delete the default rootsite collection, I don't recommend you to do it since you will be adding unexpected side effects in the SPO tenants....out of curiosity: why do you need to create a root site collection in your tenant?

View solution in original post