Microsoft Teams integration: adaptive cards and channels
Microsoft Teams integration
DevFlow posts to Teams channels via incoming webhook URLs and renders alerts as Adaptive Cards.
install
In Teams, in the channel: Connectors → Incoming Webhook → Configure, give it a name and copy the webhook URL.
In DevFlow:
devflow channels add payments-oncall --type msteams --webhook-url https://outlook.office.com/webhook/abc.../...what gets posted
An Adaptive Card with:
- Title — the monitor name and current state.
- Facts — region, latency, status, assertion that failed.
- Actions — "View incident" (opens DevFlow), "Acknowledge" (calls back to DevFlow's API).
The Acknowledge button works the same as /devflow ack from slack-integration: it propagates to PagerDuty / Opsgenie if those channels are also attached.
limitations
Teams' incoming-webhook URL is a per-channel secret. Share it with care — anyone with the URL can post to that channel.
There's no equivalent of slack-integration's slash commands in incoming-webhook mode. For full slash-command parity, install the DevFlow for Teams app from the Teams marketplace; the app uses bot-framework auth and is on Scale tier.
removing
Delete the connector in Teams. DevFlow surfaces the failure on the next delivery.