Problem Statement: 

How do I know the site Template of a SPO site.


In this article we will understand how to get the Site Template of a SPO site.

1. Using PowerShell

#Set Parameters
$TenantAdminURL = ""

#Connect to SharePoint Online
Connect-SPOService -Url $TenantAdminURL -Credential (Get-Credential)

#Get Site Template of the Site Collection
(Get-SPOSite -Identity $SiteURL).Template

2. Using Page Source

  • Open your SharePoint Online site collection or subsite in the browser, Go to View >> Page Source. 
  • In the page source, search for “webTemplateConfiguration”, and you’ll find the site template value next.

3. Using CoreView

  • Choose SharePoint Site Usage

  • The page shows all the sites with the Template details.

4. PowerShell cmdlets used and useful links


  • Connect-SPOService
  • Get-SPOSite