Send alerts to private Microsoft Teams channels

Because Microsoft Teams apps can't be member of a private Teams channel, additional setup is required to send alerts to a private channel. The reason for this is a technical limitation in Microsoft Teams that exists since several years and was not solved until now. In some cases it might be easier to create a new MS Team instead, and only allow authorized people access to this team. Please note that alerts in private channels will be send as the user who has performed the setup steps and not as Aikido.


Follow these steps to send alerts to a private Microsoft Teams channel:

1

Install the Aikido app

If not already done, follow the steps described on this page: Microsoft Teams notifications

2

Create the Workflow

Select the private channel that should receive the alerts, click on "More Options" (the three dots) and select "Workflows".

Select "Send webhook alerts to a channel". After that enter a name for the workflow and click on "Next".

Create a new Workflow

Select the Microsoft Team and the private channel where the alerts should be sent. Finish the creation by clicking on "Add workflow".

Select Microsoft Team and private channel

Copy and save the workflow URL using the copy button. You need this URL later. Do not click on "Done".

3

Edit the Workflow

The workflow is configured to send messages as the Power Automate bot, but this bot cannot send messages to private channels either.

Click on "Manage your workflow" in the left bottom corner of the dialog and then on "Edit" on the top left. Modify the send action and select "User" for the "Post as" setting as shown in the following screenshot. Make sure to save your changes after that.

Modify Workflow
4

Finish setup

Open the Microsoft Teams integration page and click on "New alert". Inside the channel select input, click on "Link a different private channel". After that the following dialog is opened. Select the Microsoft Team and enter the channel name and the workflow URL. Click on "Add Channel" to finish the setup.

Finish the connection

Last updated

Was this helpful?