Member-only story
Creating Microsoft Teams from Template using Microsoft Graph API in Power Automate
6 min readJul 4, 2023
Introduction: In this article, we will guide you through the process of creating Microsoft Teams from a template using the Microsoft Graph API in Power Automate.
Prerequisites:
- Teams created in Microsoft Teams which acts a Template
- Access to Azure AD to register an app.
- Access to the Power Automate maker portal.
Implementation Steps:
- Register an application in Azure AD and grant necessary Teams/Group permissions.
- Build a flow in Power Automate that performs the following actions:
- Retrieve the Template Teams based on the template name
- Send a Graph API request to create new Teams by cloning the Template Teams
- Check the Teams provisioning status to ensure the Teams are successfully created.
Step 1: Register an application in Azure AD and add Teams/Group Permission
- Go to Azure AD
- Select App Registration > New Registration > Fill out the form
3. Copy Client ID and Tenant ID for later use