Creating a Microsoft Teams connection
Create the connection by using one of the following methods:Using OAuth
Creating your connection
- In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
- Select the Microsoft Teams icon. A dialog box with name of the connection and connection methods appears.
- (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
- Click Microsoft Teams to authenticate using OAuth.
- Sign in using your credentials.
Need admin approval? please refer to the Need Admin
Approval guide.
Using client secret
To create the connection you need:- A client ID
- A client secret
- A tenant ID
Obtaining the credentials
- Log into the Azure Portal.
-
Go to the Microsoft Entra ID resource.
-
In the left-hand menu, click App registrations.
-
Create a new application registration or click on one of your existing applications.
-
In the left-hand menu, click API permissions.
-
Click Add a permission and select Microsoft Graph.
-
Choose Application permissions and mark the permissions you wish to add.
As a best practice, request the least privileged permissions that your app
needs in order to access data and function correctly. Requesting permissions
with more than the necessary privileges is poor security practice, which may
cause users to refrain from consenting and affect your app’s usage. For
additional information, refer to Microsoft Graph
permissions.
Least privileged permissions | Higher privileged permissions |
---|---|
ChannelMember.ReadWrite.All | ChatMember.ReadWrite.All |
TeamMember.ReadWrite.All | Channel.Create |
Chat.Create | Directory.ReadWrite.All |
GroupMember.Read.All | Group.ReadWrite.All |
User.Read.All | Teamwork.Migrate.All |
User.ReadWrite.All | User.ReadWrite.All |
Directory.Read.All | |
Group.Read.All | |
ChannelSettings.Read.All | |
ChannelSettings.ReadWrite.All | |
Chat.Read.All | |
TeamMember.ReadWrite.All | |
TeamMember.Read.All |
- Click Add permissions to save the changes.
-
Click Grant admin consent for
<your tenant>
on the API permissions page. Only admins can grant consent. -
Confirm that the added permissions are now verified.
-
Navigate to Overview and Copy your client ID and tenant ID.
-
Create a new client secret.
-
Copy the secret value.
Creating your connection
- In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
- Select the Microsoft Teams icon. A dialog box with name of the connection and connection methods appears.
- (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
- Select Client Secret as the method to make the connection.
-
Fill in the parameters:
- The client ID
- The client secret
- The tenant ID
- (Optional) Click Test Connection to test it.
- Click Create connection. The new connection appears on the Connections page.
Microsoft Teams Interactivity
In addition to the standard Microsoft Teams actions, we also offer anInteractivity action
. The Microsoft Teams Interactivity action enables users to actively influence the flow of a workflow. Check it out here.