Redigera

Dela via


Get started with team templates using Microsoft Graph

Note

Team templates currently don't support creating private channels. Private channel creation isn't included in template definitions.

A team template in Microsoft Teams is a definition of a team's structure designed around a business need or project. With team templates, you can quickly and easily create rich collaboration spaces with predefined settings, channels, and apps. Team templates can help you to deploy consistent teams across your organization.

With Microsoft Graph, you can create your own templates or use the prebuilt team templates that are included with Teams to create teams. In this article, you'll learn about the properties that can be defined in templates and the prebuilt templates that are available only with Microsoft Graph.

This article is for you if you're:

  • Responsible for planning, deploying, and managing multiple teams across your organization
  • A developer wanting to programmatically create a team with predefined channels and apps

Team template capabilities

Most properties in a team are included and supported by templates. But there are a few properties and features that aren't currently supported. Here's a quick summary of what's included and what's not included in team templates.

Team properties supported by team templates Team properties not yet supported by team templates
Template type Team membership
Team name Team picture
Team description Channel settings
Team visibility (public or private) Connectors
Team settings (for example, member, guest, @ mentions) Files and content
Auto-favorite channel
Installed app
Pinned tabs

Note

We'll be adding more template capabilities in future releases of Microsoft Teams, so check back for the most up-to-date information on supported properties.

Prebuilt templates

Prebuilt team templates are templates that we created for specific industries. Here's the prebuilt templates that are available only with Microsoft Graph.

Template type TemplateId Properties that come with this template
Standard https://graph.microsoft.com/v1.0/
teamsTemplates('standard')
No additional apps and properties
Education -
Class Team
https://graph.microsoft.com/v1.0/
teamsTemplates('educationClass')
Apps:
  • OneNote Class Notebook (pinned to the General tab)
  • Assignments app (pinned to the General tab)
Team properties:
  • Team visibility set to HiddenMembership (can't be overridden)
Education -
Staff Team
https://graph.microsoft.com/v1.0/
teamsTemplates('educationStaff')
Apps:
  • OneNote Staff Notebook (pinned to the General tab)
Education -
PLC team
https://graph.microsoft.com/v1.0/
teamsTemplates('educationProfessionalLearningCommunity')
Apps:
  • OneNote PLC Notebook (pinned to the General tab)

Note

For a list of pre-built templates that you can use in the Teams client and with Microsoft Graph, see Get started with team templates in the Teams admin center.