I am looking to create classic site collection using Rest API. I able to create modern site such as communication using below API https://myowntestdomain.sharepoint.com/_api/SPSiteManager/create But not able to create classic site collection such as 'Community Site' using Rest API Thanks in advance

1 Answer 1


As far as I know,there is not a rest api can create a classic site collection.

You could use pnppowershell to create a classic site collection.

$username = "amos@contoso.onmicrosoft.com"
$password = "password"
$cred = New-Object -TypeName System.Management.Automation.PSCredential -argumentlist $userName, $(convertto-securestring $Password -asplaintext -force)
Connect-SPOService -Url https://contoso-admin.sharepoint.com -Credential $cred
New-PnPTenantSite -Title team -Url /sites/team  -Owner amos@contoso.onmicrosoft.com  -Template STS#0 -TimeZone 4


  • That's what I was afraid of. I can not use Powershell as i want to run my ode on Linux as well
    – Swapnil
    May 12, 2020 at 11:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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