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
Create Team
Update Team
Get Team
Archive Team
Unarchive Team
Add Member To Team
Remove Member From Team
Channel Management
Create Channel
Get Channel
Get Channel By Name
Delete Channel
Add Member To Channel
Remove Member From Channel
Chat Management
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
Navigate to Azure Active Directory
Go to App Registrations
Select your app
Go to API Permissions
Click on “Add Permissions”
Click on “Microsoft Graph”
Click on “Application Permissions”
Assign the following permissions to your app:
i. Group.Read.All
ii. Group.ReadWrite.All
iii. TeamMember.ReadWrite.All
iv. ChannelMember.ReadWrite.All
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.