Skip to content

Teams Templates

Alex Clark edited this page Dec 7, 2020 · 31 revisions

Introduction

With the latest release 'Request-a-team' now officially supports the creation of Teams based on templates defined in the Admin Center. The Admin Center templates power the native out of the box Teams Templates functionality.

In addition to the support of Admin Center based templates, Request-a-team still supports 'cloning' teams by defining these as a template.

Please read on for more details on how you can configure this functionality.

Note - The ability to create Teams from Admin Center templates is technically available in the previous release of the request-a-team but the process to configure it is different. If you are using a previous version (a good way to identify this is to check if the list of fields below match your Teams Templates list) then please skip to the bottom of this page.

IMPORTANT - Graph API Endpoints used:

The creation of Teams from Admin Center defined templates uses the Beta endpoint of the Graph API. A group is created first using the V1.0 endpoint and then a team is added from the specified template. See Graph API Reference - Create team (Example 4).

Cloning teams uses the v1.0 endpoints.

Teams Templates list

The Teams Templates list (which can be found in the SharePoint site backing the Request-a-team solution), defines a set of templates that users can choose when they make a request for a Team from a template.

This list contains out of the box Microsoft provided templates when the solution is first deployed. These list items can be deleted if you do not wish to use these templates.

The Teams Templates list contains the following fields:

  • Title - Title of the template
  • Description - Description of the template
  • Template id - ID of the template
  • Team Id - ID of a Team (Group ID) that you wish to designate as a template
  • Admin Center Template - Identifies if the template has been created in the Admin Center

Please see the steps below for details on how to define your own templates.

Admin Center Templates

Step 1: Define the Template in the Admin Center

  1. Navigate to the Teams Admin Center.
  2. Select 'Team templates' from the left hand menu (under 'Teams').
  3. Click the '+Add' button to create a new template.
  4. Choose whether to create a brand new template, use an existing team or start with an existing template.
  5. Fill out the details and click 'Next' (Note - only English (United States) is supported with Request-a-team at the moment)
  6. Create channels and configure apps for the template and click 'Submit'.
  7. Once created, click on the template and copy the 'Template ID' value.

Step 2: Add the template to the Request-a-team templates list

  1. Navigate to the SharePoint site used by Request-a-team.
  2. Open the 'Teams Templates' list.
  3. Create a new list item with the following values:
  • Title - Title of the template you created in the Admin Center (does not have to match)
  • Description - A description for the template e.g. the long description specified when creating the template
  • Template Id - The Id for the template which you copied earlier
  • Team Id - Leave blank
  • Admin Center Template - Yes
Clone this wiki locally