Module Details | |
| Core or GitHub Module | Core Module |
| Restart Required | No |
| Steps Exposed | Yes |
| Step Location | Integration > Microsoft Teams |
| Prerequisites |
|
Overview
The Microsoft Teams Module provides integration steps for connecting Decisions with Microsoft Teams. The module allows workflows to interact with Microsoft Teams resources by using Microsoft 365 authentication and access tokens.
After the module is added as a project dependency, the Integrations > Microsoft Services folder is available for configuring the Microsoft 365 connection and managing the required access tokens.
Prerequisites
The Microsoft Teams Module and Microsoft365.Common module must be installed to access the steps below. To learn how to install a module, see Installing Modules in Decisions.
- The Microsoft365.Common module must be available as a dependency.
- The Microsoft Teams Module must be added as a project dependency.
- A Microsoft Azure application must be configured with the required Microsoft Teams API permissions.
- Application and delegated access tokens must be created under Integrations > Microsoft Services.
Considerations
Microsoft Teams steps use the permissions assigned to the configured access token. Some steps require an Application token, while others require a delegated token to act on behalf of a specific Microsoft 365 user.
- Application Token: Allows workflows to access Microsoft Teams resources using application-level permissions configured in Azure.
- Delegated Token: Allows workflows to perform actions based on the permissions of a specific Microsoft 365 user.
- Permission Review: Administrators should review Azure permissions and project configuration to help prevent unauthorized data access.
Note for Microsoft 365 Permissions
Customers are responsible for configuring and maintaining Microsoft 365, Azure application permissions, and access tokens used by the Microsoft Teams Module.
Steps
Installing the Microsoft Teams Module adds the following steps:
| Name | Description |
|---|---|
| Get All Microsoft Teams Users | Returns a list of Microsoft Teams users available through the configured Microsoft 365 connection. |
| Get Channels in Teams | Returns the channels associated with a specified Microsoft Team. |
| Get Chats for User (Delegated) | Returns chat conversations for a specified user by using a delegated access token. |
| Get Meeting Recording (Delegated) | Retrieves a meeting recording that the delegated user has permission to access. |
| Get Meeting Transcript (Delegated) | Retrieves a meeting transcript that the delegated user has permission to access. |
| Get Meetings for User (Delegated) | Returns meeting information for a specified user by using a delegated access token. |
| Get Messages in Channel | Returns messages from a specified Microsoft Teams channel. |
| Get Microsoft Auth Token | Retrieves a Microsoft 365 authentication token based on configured Azure credentials, allowing other Microsoft Teams steps in the flow to securely authenticate and make API calls. |
| Get Microsoft Teams User By Email | Returns Microsoft Teams user details for the specified email address. |
| Get Team Members | Returns the members of a specified Microsoft Team. |
| Get Teams List | Returns the Microsoft Teams available through the configured connection and token permissions. |
| Get Thread Replies | Returns replies from a specified message thread in Microsoft Teams. |
| Post Message to Channel | Posts a message to a specified Microsoft Teams channel. |
| Read Direct Messages | Returns direct messages that are accessible through the configured token permissions. |
| Refresh Microsoft Token | Refreshes an existing Microsoft authentication token so Microsoft Teams steps can continue using the connection. |
| Send Direct Message | Sends a direct message to a specified Microsoft Teams user. |