Forum Discussion

Miguel Ortiz Jiménez's avatar
Miguel Ortiz Jiménez
Copper Contributor
Aug 30, 2017
Solved

Create Root Site Collection with CSOM

Hi,   It is possible to create the rootsite collection (https://<tenant-name>.sharepoint.com) in SharePoint online with CSOM PowerShell?   Thanks
  • jcgonzalezmartin's avatar
    Aug 30, 2017
    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?

Resources