theme-sticky-logo-alt
SharePoint Online Site Template IDs

SharePoint Online Site Template ID list for PowerShell

11 Comments

If you want to automate certain parts of your SharePoint Online provisioning process, or simply need a one-time creation of many sites, you probably want to automate everything with PowerShell! But in order to create the new sites with the intended template, you need to know the right template ID that needs to be passed trough PowerShell. So this blog post is a list of all of the different SharePoint Online Site Template ID you will need for either creating a large number of sites, or maybe just creating reports of your SharePoint Online environment!

Modern SharePoint Sites

Template IDTitleDescription / Additional Info
STS#3Team site (no Office 365 group)A site with no connection to an Office 365 Group.
SITEPAGEPUBLISHING#0Communication sitePublish dynamic, beautiful content to people in your organization to keep them informed and engaged on topics, events, or projects.
GROUP#0Office 365 Group associated Team SiteFor Reporting Only – You cannot create sites with this template
POINTPUBLISHINGPERSONAL#0Delve BlogFor Reporting OnlyDelve Blogs are being Retired
SPSPERS#10OneDrive for Business personal SiteFor Reporting Only – Use the Request-SPOPersonalSite cmdlet to pre-provision a OneDrive for Business ite
RedirectSite#0Redirect SitePlaceholder template for the old URL when you rename the Site URL. This is for reporting only and those sites are only created by Microsoft programmatically.
TEAMCHANNEL#0Teams Private Channel SiteLightweight Site Collection provisioned for each Teams Private Channel Site. This is For Reporting Only, and not for manual provisioning trough SharePoint Online

As you can see, while there are 7 different “modern” templates, however only two of them can really be used for creation, the other 4 can only be used for reporting purposes. To use those templates, you can use the New-SPOSite PowerShell cmdlet as in the example below:

New-SPOSite -Title "TemplateTest - 01" -Url https://contoso.sharepoint.com/sites/Test123 -Template " STS#3" -Owner vlad@contoso.com -StorageQuota 1024

Modern SharePoint Sites – SharePoint PnP PowerShell Module

If you prefer to use the SharePoint PnP PowerShell Module to automate things, this is the list of sites you can use!

Site TypeTitleDescription / Additional Info
CommunicationSiteCommunication sitePublish dynamic, beautiful content to people in your organization to keep them informed and engaged on topics, events, or projects.
TeamSiteOffice 365 Group (including a Team Site of course)Creates a Office 365 group together with it’s team site!

To create a site using those templates, you can use the New-PnPSite PowerShell cmdlet as in the example below:

New-PnPSite -Type CommunicationSite -Title Contoso -Url https://tenant.sharepoint.com/sites/contoso
New-PnPSite -Type TeamSite -Title 'Team Contoso' -Alias contoso

Using the New-PnPSite PowerShell cmdlet, you can also specify which type of Communication Site you want out of the three default ones by providing the name in the -SiteDesign parameter as in the example below.

New-PnPSite -Type CommunicationSite -Title Contoso -Url https://tenant.sharepoint.com/sites/contoso -SiteDesign Showcase

Lastly, if you want to use PnP to let’s say create any of the templates in the Modern SharePoint Sites section (ex: #STS3) you can use the New-PnPTenantSite PowerShell cmdlet as in the example below:

New-PnPTenantSite -Title Contoso -Url https://tenant.sharepoint.com/sites/contoso -Owner user@example.org -TimeZone 4 -Template STS#3

Classic SharePoint Sites

Template IDTitleDescription
STS#0Classic Team SiteA place to work together with a group of people.
APPCATALOG#0App Catalog SiteA site for sharing apps for SharePoint and Office
BDR#0Document CenterA site to centrally manage documents in your enterprise
BICenterSite#0Business Intelligence CenterA site for presenting Business Intelligence content in SharePoint.
BLANKINTERNETCONTAINER#0Publishing PortalA starter site hierarchy for an Internet-facing site or a large intranet portal. This site can be customized easily with distinctive branding. It includes a home page, a sample press releases subsite, a Search Center, and a login page. Typically, this site has many more readers than contributors, and it is used to publish Web pages with approval workflows.
BLOG#0BlogA site for a person or team to post ideas, observations, and expertise that site visitors can comment on.
COMMUNITY#0Community SiteA place where community members discuss topics of common interest. Members can browse and discover relevant content by exploring categories, sorting discussions by popularity or by viewing only posts that have a best reply. Members gain reputation points by participating in the community, such as starting discussions and replying to them, liking posts and specifying best replies.
COMMUNITYPORTAL#0Community PortalA site for discovering communities.
DEV#0Developer SiteA site for developers to build, test and publish apps for Office
ENTERWIKI#0Enterprise WikiA site for publishing knowledge that you capture and want to share across the enterprise. It provides an easy content editing experience in a single location for co-authoring content, discussions, and project management.
OFFILE#1Records CenterThis template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site also lets you manage whether records can be deleted or modified after they are added to the repository.
PRODUCTCATALOG#0Product CatalogA site for managing product catalog data which can be published to an internet-facing site through search. The product catalog can be configured to support product variants and multilingual product properties. The site includes admin pages for managing faceted navigation for products.
PROJECTSITE#0Project SiteA site for managing and collaborating on a project. This site template brings all status, communication, and artifacts relevant to the project into one place.
SRCHCEN#0Enterprise Search CenterA site focused on delivering an enterprise-wide search experience. Includes a welcome page with a search box that connects users to four search results page experiences: one for general searches, one for people searches, one for conversation searches, and one for video searches. You can add and customize new results pages to focus on other types of search queries.
SRCHCENTERLITE#0Basic Search CenterA site focused on delivering a basic search experience. Includes a welcome page with a search box that connects users to a search results page, and an advanced search page. This Search Center will not appear in navigation.
visprus#0Visio Process RepositoryA site for viewing, sharing, and storing Visio process diagrams. It includes a versioned document library and templates for Basic Flowcharts, Cross-functional Flowcharts, and BPMN diagrams.

While knowing what the classic SharePoint templates are for reporting purposes, I recommend only creating modern SharePoint sites from now on, and not adding any classic SharePoint sites to your environment, as it would add extra content to migrate to modern in the future!

Leave a comment and don’t forget to like the Vlad Talks Tech Page   on Facebook and to follow me on Twitter here  for the latest news and technical articles on SharePoint.  I am also a Pluralsight author, and you can view all the courses I created on my author page.
Previous Post
New Pluralsight Course: Configuring and Managing OneDrive for Business
Next Post
Renewed as an MCT Regional Lead for Canada for 2020-2021

11 Comments

Leave a Reply

15 49.0138 8.38624 1 0 4000 1 https://vladtalkstech.com 300 1