I need to create an SP online Team site (with Office 365 group) with PowerShell.

Can you please help me find the Template ID for the Team site (with Office 365 group)?

1 Answer 1


As per the article SharePoint Online Site Template ID list for PowerShell, template ID for Office 365 Group associated Team Site is GROUP#0 - which is For Reporting Only and you cannot create sites with this template.

So, you can use PnP PowerShell to create a team site with Office 365 group.


New-PnPSite -Type TeamSite -Title 'Team Contoso' -Alias contoso

Documentation: New-PnPSite

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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