microsoft teams
The Microsoft Teams integration posts Adaptive Card notifications to a Teams channel as things happen in PosKit — alert lifecycle events with one-click Acknowledge/Resolve buttons, device online/offline transitions, and integration sync failures. It sits in the Automation & Webhooks group of the integrations catalogue.
Unlike the per-rule Teams alert action, this is an organization-level integration: it fires on the events you subscribe to across the whole estate, deliveries are queued with automatic retries, and every attempt is recorded in the integration's activity log.
getting a webhook url
Microsoft retired Office 365 incoming-webhook connectors; the replacement is a Power Automate (Workflows) webhook:
- In Teams, open the target channel → Workflows (or go to make.powerautomate.com).
- Use the template "Post to a channel when a webhook request is received".
- Pick the team and channel, save, and copy the generated HTTPS URL (it looks like
https://prod-….logic.azure.com:443/workflows/…).
setup fields
| Field | Notes |
|---|---|
| Workflows Webhook URL | Required — the URL from the Power Automate template. Private addresses are rejected |
| Subscribed Events | Required — pick at least one event type |
No signing secret — the Workflows URL carries its own access token, so treat the URL itself as a secret. You can run several Teams integrations side by side, one channel per integration.
event types
The event catalogue is shared with outbound webhooks: alert.triggered, alert.acknowledged, alert.resolved, alert.escalated, device.online, device.offline, integration.sync_failed. Test connection always sends a test card regardless of subscriptions.
cards and one-click actions
- Alert events render a card with the alert title (colored by severity), message, and device/location/severity/status facts.
- Open alerts carry action buttons: Acknowledge and Resolve on an active alert, Resolve only once acknowledged. Clicking one opens a confirmation page; confirming performs the action — no PosKit login required, the signed link itself is the authorization.
- Action links expire after 30 days; buttons on older cards show a "link expired" page.
- Acknowledgements from a card are recorded in the alert's audit log as performed via
teams-card(they are not attributed to a PosKit user). - Non-alert events (device status, sync failures) render a simple fact card with no buttons.
delivery, retries, and failure
- Deliveries are queued — a slow endpoint never slows down alerting.
- A delivery counts as successful only on a 2xx response within 10 seconds. Redirects are treated as failures and never followed.
- Failed deliveries are retried automatically a few times before being parked on a dead-letter queue. A retried delivery can post the same card twice.
- Every attempt lands in the integration's activity log as
DELIVER_EVENT. A failed delivery flips the integration toERRORwith the failure as the last error; the next successful delivery flips it back toACTIVE. - Caveat: Power Automate accepts a request with
202before the flow runs. If deliveries log success but no card appears in the channel, check the flow's run history in Power Automate — the flow itself may be failing or turned off.
row actions
| Action | What it does |
|---|---|
| Test connection | Sends a test card and expects a 2xx |
| Sync data | Summarises the last 7 days of deliveries (delivered vs failed attempts) |
permissions
Standard integration permissions apply — see integrations: integration:create to add, integration:edit to edit or test, integration:delete to remove.