Microsoft Teams Plugin
The Microsoft Teams Plugin integrates Digital.ai Release with Microsoft Teams through the Microsoft Graph API, so you can send messages to users, channels, and groups as part of your release workflows.
This plugin runs directly on the Release server and is best suited for messaging and approval-handoff use cases, where a release needs to inform people of progress without leaving the pipeline.
What You Can Do With This Plugin
- Send messages to specific Teams channels
- Send messages to individual users
- Send messages to Teams groups
- Send either plain text or formatted HTML messages
- Capture the ID of each sent message for use in later tasks
Prerequisites
Before using this plugin, ensure the following:
Microsoft Teams Access
- Access to a Microsoft Teams tenant
- Appropriate Microsoft Teams permissions and roles for the account used in the connection
- Digital.ai Release 25.3 or later
Authentication
The plugin authenticates against the Microsoft Graph API using an app registered in Azure. The following Microsoft Graph API permissions are required. All are delegated permissions, except User.Read.All, which is an optional application permission.
| Permission | Required | Description |
|---|---|---|
| ChannelMessage.Send | Yes | Send messages to channels |
| Chat.Create | Yes | Create chats |
| ChatMessage.Send | Yes | Send chat messages |
| User.Read | Yes | Read signed-in user profile |
| Channel.ReadBasic.All | Optional | Read basic channel info |
| Chat.Read | Optional | Read chat messages |
| Team.ReadBasic.All | Optional | Read basic team info |
| User.Read.All | Optional (application) | Read all user profiles |
For more information, see Extend your app with Microsoft Graph permissions and scopes.
Multi-factor authentication (MFA) must not be enabled for the Microsoft account used in the connection. The plugin authenticates with a username and password, so an account that requires MFA cannot complete sign-in.
Required Information
You should have the following details available:
- Client ID and Client secret from the Azure app registration
- Tenant ID of the Azure Active Directory (AAD) tenant
- Username and Password of the Microsoft account used to send messages
- Team name, Channel name, Group name, or recipient Email address, depending on the task
When To Use This Plugin
Use the Microsoft Teams Plugin when you need:
- Release status updates delivered to the teams that act on them
- Direct messages to an individual owner or approver
- Formatted messages, such as a summary with headings, links, and lists
Install the Microsoft Teams Plugin
Install the Microsoft Teams plugin using the Plugin Manager.
Set up a Connection to the Microsoft Teams Server
-
From the navigation pane, click Configuration > Connections.
-
Under HTTP server connections, beside Microsoft Teams: Server, click
-
Provide the connection details:
Field Name Description Title* Symbolic name for the configuration Username* User email address to authenticate Microsoft Teams server Password* User password to authenticate Microsoft Teams server Client ID* The client identifier issued to the client during the application registration process Client secret* The client secret issued to the client during the application registration process Tenant ID* Unique identifier for the Azure Active Directory (AAD) instance Proxy host HTTP proxy host Proxy port HTTP proxy port Proxy username HTTP proxy username Proxy password HTTP proxy password -
Click Test to test the connection.
-
Click Save to save the configuration.

Message Content Types
Every send task has a Content type field that controls how Microsoft Teams renders the message. The default is Text.
| Content type | Use for |
|---|---|
| Text | Plain text, including text that contains characters such as < and > |
| HTML | Formatted text, such as headings, links, lists, line breaks, and code blocks |
When the content type is HTML, Microsoft Teams reads a less-than sign (<) as the start of an HTML tag and can drop the text that follows it. For example, Malformed message: a<e is displayed as Malformed message: a. Use Text for messages that contain such characters and need no formatting.
Available Tasks
The following tasks are available in Digital.ai Release:
- Microsoft Teams: Send Message To User
- Microsoft Teams: Send Message To Channel
- Microsoft Teams: Send Message To Group
Each task in the Microsoft Teams plugin includes a set of input properties and output properties. Input properties pass in parameters required for execution, while output properties capture the results returned by Microsoft Teams.
After a task runs, the URL of the sent message is shown in the Activity tab of the task, so you can open the message in Microsoft Teams.
The task output properties can be mapped to Release variables for later use. For more information, see Mapping Task Output Properties to Variables.
Send Message to User
This task sends a direct message to a specific Microsoft Teams user. Use it to notify an individual owner or approver about a release event.
Input Fields

| Field Name | Description | Example |
|---|---|---|
| Microsoft Teams server | The configured Microsoft Teams server connection to use. | teams.example.com |
| Email address | Email address of the user who receives the message. | jane.doe@example.com |
| Content type | How Microsoft Teams renders the message, either Text or HTML. Default is Text. | HTML |
| Message | The message to be sent to the user. | <h3>Release 1.2 deployed</h3> |
Output Fields

| Output Property | Description |
|---|---|
| Message ID | ID of the sent message. |
Example Usage
Suppose you want to notify a release approver with a formatted message:
| Field | Value |
|---|---|
| Microsoft Teams server | teams.example.com |
| Email address | jane.doe@example.com |
| Content type | HTML |
| Message | <h3>Approval needed</h3><a href="https://release.example.com">Open the release</a> |
After running the task, the message appears in the user's chat with the heading and link rendered, and the output provides the Message ID.
Send Message to Channel
This task sends a message to a specific channel within a Microsoft Teams team. Use it to keep a whole team informed about release progress.
Input Fields

| Field Name | Description | Example |
|---|---|---|
| Microsoft Teams server | The configured Microsoft Teams server connection to use. | teams.example.com |
| Team name | Name of the team that contains the channel. | Release Engineering |
| Channel name | Name of the channel that receives the message. | General |
| Content type | How Microsoft Teams renders the message, either Text or HTML. Default is Text. | Text |
| Message | The message to be sent to the channel. | Release 1.2 is now in production. |
Output Fields

| Output Property | Description |
|---|---|
| Message ID | ID of the sent message. |
Example Usage
Suppose you want to post a plain-text status update to the General channel of the Release Engineering team:
| Field | Value |
|---|---|
| Microsoft Teams server | teams.example.com |
| Team name | Release Engineering |
| Channel name | General |
| Content type | Text |
| Message | Release 1.2 is now in production. |
After running the task, the message is posted to the channel, and the output provides the Message ID.
Send Message to Group
This task sends a message to all members of a Microsoft Teams group. Use it when the recipients are organized as a group rather than a channel.
Input Fields

| Field Name | Description | Example |
|---|---|---|
| Microsoft Teams server | The configured Microsoft Teams server connection to use. | teams.example.com |
| Group name | Name of the group that receives the message. | Release Approvers |
| Content type | How Microsoft Teams renders the message, either Text or HTML. Default is Text. | HTML |
| Message | The message to be sent to the group. | <ul><li>Build passed</li><li>Tests passed</li></ul> |
Output Fields

| Output Property | Description |
|---|---|
| Message ID | ID of the sent message. |
Example Usage
Suppose you want to send a formatted checklist to the Release Approvers group:
| Field | Value |
|---|---|
| Microsoft Teams server | teams.example.com |
| Group name | Release Approvers |
| Content type | HTML |
| Message | <ul><li>Build passed</li><li>Tests passed</li></ul> |
After running the task, the group receives the message with the list rendered, and the output provides the Message ID.