PowerShell, SharePoint, Technical

SharePoint 2013 Web Templates

I thought I would update my 2010 Web Templates post with the same info for the 2013 platform. Here is a list of all the web templates in SharePoint 2013, including the ID, Description and CompatibilityLevel:

ID Title Name Description CompatibilityLevel
0 Global template GLOBAL#0 This template is used for initializing a new site. 15
1 Team Site STS#0 A place to work together with a group of people. 15
1 Blank Site STS#1 A blank site for you to customize based on your requirements. 15
1 Document Workspace STS#2 A site for colleagues to work together on a document. It provides a document library for storing the primary document and supporting files, a tasks list for assigning to-do items, and a links list for resources related to the document. 15
2 Basic Meeting Workspace MPS#0 A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda, meeting attendees, and documents. 15
2 Blank Meeting Workspace MPS#1 A blank meeting site for you to customize based on your requirements. 15
2 Decision Meeting Workspace MPS#2 A site for meetings that track status or make decisions. It provides lists for creating tasks, storing documents, and recording decisions. 15
2 Social Meeting Workspace MPS#3 A site to plan social occasions. It provides lists for tracking attendees, providing directions, and storing pictures of the event. 15
2 Multipage Meeting Workspace MPS#4 A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda and meeting attendees in addition to two blank pages for you to customize based on your requirements. 15
3 Central Admin Site CENTRALADMIN#0 A site for central administration. It provides Web pages and links for application and operations management. 15
4 Wiki Site WIKI#0 A site for a community to brainstorm and share ideas. It provides Web pages that can be quickly edited to record information and then linked together through keywords 15
9 Blog BLOG#0 A site for a person or team to post ideas, observations, and expertise that site visitors can comment on. 15
15 Group Work Site SGS#0 This template provides a groupware solution that enables teams to create, organize, and share information quickly and easily. It includes Group Calendar, Circulation, Phone-Call Memo, the Document Library and the other basic lists. 15
16 Tenant Admin Site TENANTADMIN#0 A site for tenant administration. It provides Web pages and links for self-serve administration. 15
17 App Template APP#0 A base template for app development.  It provides the minimal set of features needed for an app. 15
18 App Catalog Site APPCATALOG#0 A site for sharing apps for SharePoint and Office 15
2764 Access Services Site ACCSRV#0 Microsoft Access Server 15
2757 Access Services Site Internal ACCSVC#0 Microsoft Access Server Internal 15
2757 Access Services Site ACCSVC#1 Microsoft Access Server 15
7 Document Center BDR#0 A site to centrally manage documents in your enterprise. 15
95 Developer Site DEV#0 A site for developers to build, test and publish apps for Office 15
10000 Academic Library DOCMARKETPLACESITE#0 The Academic Library template provides a rich view and consumption experience for published content and management. Authors populate metadata and apply rules at the time of publishing, such as description, licensing, and optional rights management (IRM). Visitors of the site can search or browse published titles and add authorized selections to their collection to consume, subject to the rights and rules applied by the author. The site provides an IRM-capable document library, a publishing mechanism for authors to publish documents, detailed views for each document, a check-out mechanism, and related search capabilities. 15
3300 eDiscovery Center EDISC#0 A site to manage the preservation, search, and export of content for legal matters and investigations. 15
3300 eDiscovery Case EDISC#1 This template creates an eDiscovery case. Users create locations where they can preserve or export data. 15
14483 (obsolete) Records Center OFFILE#0 (obsolete) This 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. 15
14483 Records Center OFFILE#1 This 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. 15
40 Shared Services Administration Site OSRV#0 This template creates a site for administering shared services 15
3100 PerformancePoint PPSMASite#0 A site for presenting PerformancePoint dashboards and scorecards. The site also includes links to PerformancePoint Dashboard Designer and storage for dashboard content such as analytic charts, reports, KPIs, and strategy maps. 15
3200 Business Intelligence Center BICenterSite#0 A site for presenting Business Intelligence content in SharePoint. 15
20 SharePoint Portal Server Site SPS#0 This template is obsolete. 15
21 SharePoint Portal Server Personal Space SPSPERS#0 This web template defines a Personal Space for an individual participating on a SharePoint Portal. 15
21 Storage And Social SharePoint Portal Server Personal Space SPSPERS#2 This web template defines a minimal Personal Space with both Social and Storage features for an individual participating on a SharePoint Portal. 15
21 Storage Only SharePoint Portal Server Personal Space SPSPERS#3 This web template defines a minimal Personal Space with Storage features for an individual participating on a SharePoint Portal. 15
21 Social Only SharePoint Portal Server Personal Space SPSPERS#4 This web template defines a minimal Personal Space with Social features for an individual participating on a SharePoint Portal. 15
21 Empty SharePoint Portal Server Personal Space SPSPERS#5 This web template defines a empty Personal Space. 15
22 Personalization Site SPSMSITE#0 A site for delivering personalized views, data, and navigation from this site collection into My Site. It includes personalization specific Web Parts and navigation that is optimized for My Site sites. 15
30 Contents area Template SPSTOC#0 This template is obsolete. 15
31 Topic area template SPSTOPIC#0 This template is obsolete. 15
32 News Site SPSNEWS#0 This template is obsolete. 15
39 Publishing Site CMSPUBLISHING#0 A blank site for expanding your Web site and quickly publishing Web pages. Contributors can work on draft versions of pages and publish them to make them visible to readers. The site includes  document and image libraries for storing Web publishing assets. 15
53 Publishing Site BLANKINTERNET#0 This template creates a site for publishing Web pages on a schedule, with workflow features enabled.  By default, only Publishing subsites can be created under this site. A Document and Picture Library are included for storing Web publishing assets. 15
53 Press Releases Site BLANKINTERNET#1 This template creates the Press Releases subsite for an Internet-facing corporate presence website. 15
53 Publishing Site with Workflow BLANKINTERNET#2 A site for publishing Web pages on a schedule by using approval workflows. It includes document and image libraries for storing Web publishing assets. By default, only sites with this template can be created under this site. 15
33 News Site SPSNHOME#0 A site for publishing news articles and links to news articles. It includes a sample news page and an archive for storing older news items. 15
34 Site Directory SPSSITES#0 A site for listing and categorizing important sites in your organization. It includes different views for categorized sites, top sites, and a site map. 15
36 Community area template SPSCOMMU#0 This template is obsolete. 15
38 Report Center SPSREPORTCENTER#0 A site for creating, managing, and delivering Web pages, dashboards, and key performance indicators that communicate metrics, goals, and business intelligence information. 15
47 Collaboration Portal SPSPORTAL#0 A starter site hierarchy for an intranet divisional portal. It includes a home page, a News site, a Site Directory, a Document Center, and a Search Center with Tabs. Typically, this site has nearly as many contributors as  readers and is used to host team sites. 15
50 Enterprise Search Center SRCHCEN#0 A 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. 15
51 Profiles PROFILES#0 This template creates a profile site that includes page layout with zones 15
52 Publishing Portal BLANKINTERNETCONTAINER#0 A 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. 15
54 My Site Host SPSMSITEHOST#0 A site used for hosting personal sites (My Sites) and the public People Profile page. This template needs to be provisioned only once per User Profile Service Application, please consult the documentation for details. 15
56 Enterprise Wiki ENTERWIKI#0 A 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. 15
6115 Project Site PROJECTSITE#0 A site for managing and collaborating on a project. This site template brings all status, communication, and artifacts relevant to the project into one place. 15
59 Product Catalog PRODUCTCATALOG#0 A 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. 15
62 Community Site COMMUNITY#0 A 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. 15
63 Community Portal COMMUNITYPORTAL#0 A site for discovering communities. 15
90 Basic Search Center SRCHCENTERLITE#0 A 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. 15
90 Basic Search Center SRCHCENTERLITE#1 The Search Center template creates pages dedicated to search. The main welcome page features a simple search box in the center of the page. The template includes a search results and an advanced search page. This Search Center will not appear in navigation. 15
61 Visio Process Repository visprus#0 A 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. 15
0 Global template GLOBAL#0 This template is used for initializing a new site. 14
1 Team Site STS#0 A site for teams to quickly organize, author, and share information. It provides a document library, and lists for managing announcements, calendar items, tasks, and discussions. 14
1 Blank Site STS#1 A blank site for you to customize based on your requirements. 14
1 Document Workspace STS#2 A site for colleagues to work together on a document. It provides a document library for storing the primary document and supporting files, a tasks list for assigning to-do items, and a links list for resources related to the document. 14
2 Basic Meeting Workspace MPS#0 A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda, meeting attendees, and documents. 14
2 Blank Meeting Workspace MPS#1 A blank meeting site for you to customize based on your requirements. 14
2 Decision Meeting Workspace MPS#2 A site for meetings that track status or make decisions. It provides lists for creating tasks, storing documents, and recording decisions. 14
2 Social Meeting Workspace MPS#3 A site to plan social occasions. It provides lists for tracking attendees, providing directions, and storing pictures of the event. 14
2 Multipage Meeting Workspace MPS#4 A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda and meeting attendees in addition to two blank pages for you to customize based on your requirements. 14
3 Central Admin Site CENTRALADMIN#0 A site for central administration. It provides Web pages and links for application and operations management. 14
4 Wiki Site WIKI#0 A site for a community to brainstorm and share ideas. It provides Web pages that can be quickly edited to record information and then linked together through keywords 14
9 Blog BLOG#0 A site for a person or team to post ideas, observations, and expertise that site visitors can comment on. 14
15 Group Work Site SGS#0 This template provides a groupware solution that enables teams to create, organize, and share information quickly and easily. It includes Group Calendar, Circulation, Phone-Call Memo, the Document Library and the other basic lists. 14
16 Tenant Admin Site TENANTADMIN#0 A site for tenant administration. It provides Web pages and links for self-serve administration. 14
2764 Access Services Site ACCSRV#0 Microsoft Access Server 14
2764 Assets Web Database ACCSRV#1 Create an assets database to keep track of assets, including asset details and owners. 14
2764 Charitable Contributions Web Database ACCSRV#3 Create a database to track information about fundraising campaigns including donations made by contributors, campaign related events, and pending tasks. 14
2764 Contacts Web Database ACCSRV#4 Create a contacts database to manage information about people that your team works with, such as customers and partners. 14
2764 Issues Web Database ACCSRV#6 Create an issues database to manage a set of issues or problems. You can assign, prioritize, and follow the progress of issues from start to finish. 14
2764 Projects Web Database ACCSRV#5 Create a project tracking database to track multiple projects, and assign tasks to different people. 14
7 Document Center BDR#0 A site to centrally manage documents in your enterprise. 14
14483 (obsolete) Records Center OFFILE#0 (obsolete) This 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. 14
14483 Records Center OFFILE#1 This 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. 14
40 Shared Services Administration Site OSRV#0 This template creates a site for administering shared services 14
3100 PerformancePoint PPSMASite#0 A site for presenting PerformancePoint dashboards and scorecards. The site also includes links to PerformancePoint Dashboard Designer and storage for dashboard content such as analytic charts, reports, KPIs, and strategy maps. 14
3200 Business Intelligence Center BICenterSite#0 A site for presenting Business Intelligence Center. 14
20 SharePoint Portal Server Site SPS#0 This template is obsolete. 14
21 SharePoint Portal Server Personal Space SPSPERS#0 This web template defines a Personal Space for an individual participating on a SharePoint Portal. 14
22 Personalization Site SPSMSITE#0 A site for delivering personalized views, data, and navigation from this site collection into My Site. It includes personalization specific Web Parts and navigation that is optimized for My Site sites. 14
30 Contents area Template SPSTOC#0 This template is obsolete. 14
31 Topic area template SPSTOPIC#0 This template is obsolete. 14
32 News Site SPSNEWS#0 This template is obsolete. 14
39 Publishing Site CMSPUBLISHING#0 A blank site for expanding your Web site and quickly publishing Web pages. Contributors can work on draft versions of pages and publish them to make them visible to readers. The site includes  document and image libraries for storing Web publishing assets. 14
53 Publishing Site BLANKINTERNET#0 This template creates a site for publishing Web pages on a schedule, with workflow features enabled.  By default, only Publishing subsites can be created under this site. A Document and Picture Library are included for storing Web publishing assets. 14
53 Press Releases Site BLANKINTERNET#1 This template creates the Press Releases subsite for an Internet-facing corporate presence website. 14
53 Publishing Site with Workflow BLANKINTERNET#2 A site for publishing Web pages on a schedule by using approval workflows. It includes document and image libraries for storing Web publishing assets. By default, only sites with this template can be created under this site. 14
33 News Site SPSNHOME#0 A site for publishing news articles and links to news articles. It includes a sample news page and an archive for storing older news items. 14
34 Site Directory SPSSITES#0 A site for listing and categorizing important sites in your organization. It includes different views for categorized sites, top sites, and a site map. 14
36 Community area template SPSCOMMU#0 This template is obsolete. 14
38 Report Center SPSREPORTCENTER#0 A site for creating, managing, and delivering Web pages, dashboards, and key performance indicators that communicate metrics, goals, and business intelligence information. 14
47 Collaboration Portal SPSPORTAL#0 A starter site hierarchy for an intranet divisional portal. It includes a home page, a News site, a Site Directory, a Document Center, and a Search Center with Tabs. Typically, this site has nearly as many contributors as  readers and is used to host team sites. 14
50 Enterprise Search Center SRCHCEN#0 A site for delivering the search experience. The welcome page includes a search box with two tabs: one for general searches, and another for searches for information about people. You can add and customize tabs to focus on other search scopes or result types. 14
51 Profiles PROFILES#0 This template creates a profile site that includes page layout with zones 14
52 Publishing Portal BLANKINTERNETCONTAINER#0 A 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. 14
54 My Site Host SPSMSITEHOST#0 A site used for hosting personal sites (My Sites) and the public People Profile page. This template needs to be provisioned only once per User Profile Service Application, please consult the documentation for details. 14
56 Enterprise Wiki ENTERWIKI#0 A 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. 14
90 Basic Search Center SRCHCENTERLITE#0 A site for delivering the search experience. The site includes pages for search results and advanced searches. 14
90 Basic Search Center SRCHCENTERLITE#1 The Search Center template creates pages dedicated to search. The main welcome page features a simple search box in the center of the page. The template includes a search results and an advanced search page. This Search Center will not appear in navigation. 14
2000 FAST Search Center SRCHCENTERFAST#0 A site for delivering the FAST search experience. The welcome page includes a search box with two tabs: one for general searches, and another for searches for information about people. You can add and customize tabs to focus on other search scopes or result types. 14
61 Visio Process Repository visprus#0 A site for teams to quickly view, share, and store Visio process diagrams. It provides a versioned document library for storing process diagrams, and lists for managing announcements, tasks, and review discussions. 14
PowerShell, SharePoint, Technical

SharePoint 2013 Claim Expiration and AD Sync

Here’s an interesting scenario I hadn’t experienced before:  SharePoint 2013 farm doing a user profile sync with Active Directory. Security was based on Active Directory security groups managing membership and authorization controlled through SharePoint groups containing the AD groups. As users were added and removed to/from the AD groups, they weren’t seeing the change reflected in the SharePoint sites. After a crash course in claim caching, here’s what we ended up with.

First, an admittedly simplistic view of how SharePoint manages tokens:

  1. User browses to SharePoint site
  2. SharePoint checks local token store (STS) for a non-expired cached claim for that user
  3. If not found, STS creates a new claim by querying AD and then adds it to the cache
  4. If found, uses the cached claim

That covers the user, now lets look at how SharePoint syncs with AD to get group and membership info. Managed by the User Profile Sync service, SharePoint queries AD to learn about new or removed users as well as group membership. This is also controlled by a cache, and can create the scenario we ran into where AD users that were added or removed from AD groups did not have their authorization permissions updated in SharePoint.

By default, SharePoint will cache this group membership info for 24 hours. Well, we weren’t that patient. We changed it to two minutes using the following command:

stsadm.exe -o setproperty -propertyname token-timeout -propertyvalue 2

That sets the timeout to two (2) minutes. Admittedly a bit extreme, but we’ll set it back to a more reasonable timeframe when things aren’t so volatile.

So that takes care of SharePoint becoming aware of AD group permission changes, but how about user claims being updated? If SharePoint is aware of a user now being granted access through membership in an AD group, but that user obtained their claim earlier in the day before the AD group membership was changed, they will still be denied access. To change that we looked at setting the LogonTokenCacheExpirationWindow and WindowsTokenLifetime properties for the STS:

$sts = Get-SPSecurityTokenServiceConfig
$sts.FormsTokenLifetime = (New-TimeSpan -minutes 2)
$sts.WindowsTokenLifetime = (New-TimeSpan -minutes 2)
$sts.LogonTokenCacheExpirationWindow = (New-TimeSpan -minutes 1)
$sts.Update()
iisreset

The above is telling the STS that claims tokens are good for one (1) minute. WindowsTokenLifetime – LogonTokenCacheExpirationWindow, so 2 – 1 = 1. I’m pretty good with math. Default for both is 10 hours.

Oh, if you happen to set a lifetime that is shorter than the expiration window, that’s a good way to block users from accessing the site. Once their existing token expires, they’ll start seeing a message “The context has expired and can no longer be used.

image

In other words, don’t do that. Smile

Now every minute STS will refresh the claim token for a user to get the latest and greatest membership info from AD. That seemed to do the trick for this scenario, and we’ll definitely adjust the values above when things aren’t so volatile, but for now we’re looking good.

Here are a couple references we used to get to this result:
http://blog.amhawkins.com/2012/12/17/setting-the-sharepoint-2010-token-timeout-property/
http://blog.robgarrett.com/2013/05/06/sharepoint-authentication-and-session-management/ (specific to ADFS, but after being shown this through a co-worker I really started to understand lifetime and expiration dependencies)

For any security and/or IT Pro experts reading this, please comment and correct me where I’m wrong or was too vague.