How to create modern team site with connected to the Office 365 group using SharePoint online management shell

33 Views Asked by At

How to get template ID for the Office 365 group team site in SharePoint Online using SharePoint Online management shell?

Here, I have a SharePoint Team site, Now I would like to know the site template ID using PowerShell Script. I don't have any clue to get the site template ID.

To resolve this issue, give me any suggestions...

1

There are 1 best solutions below

0
Ganesh Sanap - MVP On

Try using Get-SPOSite command which will return the site template ID of your SharePoint site:

Get-SPOSite -Identity https://contoso.sharepoint.com/sites/groupname -detailed

Documentation: Get-SPOSite

GROUP#0 is the template ID for SharePoint team sites connected with M365 groups.

Related read: SharePoint Online Site Template ID list for PowerShell.