How to know Site Template of a SharePoint Online Site

Modified on Wed, 30 Nov 2022 at 04:46 AM

Problem Statement: 

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


Solution:

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


1. Using PowerShell

#Set Parameters
$TenantAdminURL = "https://contoso-admin.sharepoint.com"
$SiteURL="https://Contoso.sharepoint.com/sites/TestSite"

#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


Cmdlets:

  • Connect-SPOService
  • Get-SPOSite


Links:

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article