Alertmanager Microsoft Teams Notifications (Workflows / Power Automate)

Modern Microsoft Teams uses Power Automate / Workflows to process incoming webhooks. Prometheus Alertmanager v0.26+ includes native msteamsv2_configs to format and deliver alerts to Teams channels without third-party proxy containers.
Step 1. Create a Workflow Webhook in Microsoft Teams
- In your target Microsoft Teams channel, click ••• → Workflows.
- Search for and select "Post to a channel when a webhook request is received".
- Name your workflow (e.g.
Prometheus-Alerts) and click Next. - Select the target Team and Channel.
- Copy the generated Webhook URL.
Step 2. Configure Alertmanager msteamsv2_configs
alertmanager-teams.yaml
alertmanager:
config:
receivers:
- name: "null"
- name: "msteams-alerts"
msteamsv2_configs:
- webhook_url: "https://prod-XX.westeurope.logic.azure.com:443/workflows/..."
send_resolved: true
title: '{{ .CommonLabels.severity | toUpper }}: {{ .CommonLabels.alertname }} ({{ .CommonLabels.cluster }})'
text: |-
**Summary**: {{ .CommonAnnotations.summary }}
**Description**: {{ .CommonAnnotations.description }}
**Namespace**: {{ .CommonLabels.namespace }}
**Pod**: {{ .CommonLabels.pod }}
**Severity**: {{ .CommonLabels.severity }}
route:
receiver: "msteams-alerts"
group_by: ["alertname", "cluster", "severity"]
group_wait: 30s
group_interval: 5m
repeat_interval: 4h