Overview

Perform operations on MS Teams via the Workflow Automator.


Description

Orchestration apps let you automate repeatable tasks and actions that span across a diverse set of systems and applications using workflows. The list of actions supported for this app include:


Team Management

  1. Create Team

  2. Update Team

  3. Get Team

  4. Archive Team

  5. Unarchive Team

  6. Add Member To Team

  7. Remove Member From Team


 Channel Management

  1. Create Channel

  2. Get Channel

  3. Get Channel By Name

  4. Delete Channel

  5. Add Member To Channel

  6. Remove Member From Channel


      Chat Management

  1. Post Message


Prerequisites

To install and authenticate the app you need to provide the following input:  


  • Config Name

  • The config name is the unique identifier for the account credentials added to the app.


  •  Client ID

  • Navigate to “Azure Active Directory”

  • Go to App Registrations (if you don’t have an existing App, create a new app registration)

  • Then open your App 

  • Copy “Application (client) ID


  • Key (Secret Key)

  • Navigate to Azure Active Directory

  • Go to App Registrations 

  • Then click “Certificates & secrets” on the left panel

  • Click on “New client secret” 

  • Copy the Secret Key given as “Value”.


  • Active Directory Domain

  • Navigate to  Azure Active Directory 

  • Go to Overview

  • Copy Primary Domain / Tenant Id.


Steps to assign permissions

  1. Navigate to Azure Active Directory

  2. Go to App Registrations

  3. Select your app 

  4. Go to API Permissions

  5. Click on “Add Permissions” 

  6. Click on “Microsoft Graph” 

  7. Click on  “Application Permissions

  8. Assign the following permissions to your app:

i.  Group.Read.All

ii. Group.ReadWrite.All

iii. TeamMember.ReadWrite.All

iv. ChannelMember.ReadWrite.All


  1. Make sure you "Grant admin consent" for all the permissions you assign.

    


Usecases

Now that you've successfully installed the Microsoft Teams orchestration app, please have a look at the sample use case below to show how the app can be used efficiently.