Microsoft Teams

Send alerts and monitor notifications to a Teams channel as an Adaptive Card.

2 min read

On this page3 sections

Set it up#

  1. In Teams, open the channel, choose Workflows and pick Post to a channel when a webhook request is received (or add an Incoming Webhook connector, if your tenant still has them).
  2. Copy the URL it gives you.
  3. In Tailcove, open an alert or a monitor, switch on Microsoft Teams and paste the URL.

The URL is a secret: anyone who has it can post to the channel. Tailcove only sends to https addresses on the public internet, and checks the address again every time it sends, so a URL that later resolves to an internal address is refused.

What you get#

A card with a bold title (Alert triggered: High errors, Monitor down: API), the source, and a line with the details. A firing log alert also shows up to five of the newest lines that matched, in monospace. A resolved alert or a recovered monitor posts a second card in green. Names are shown as plain text: markdown or mentions in an alert name do not turn into links or pings.

If Teams answers with an error, Tailcove retries with backoff, up to five attempts, and shows the last error on the alert.

Buttons#

When an alert or monitor opened an incident, the card for it carries two link buttons: Acknowledge, a one-time link that opens a page asking you to confirm, and Open incident. A webhook cannot carry in-chat buttons (that needs a Teams bot registration), so these open the browser. Anyone who can see the channel can use the Acknowledge link once, and the timeline records it as the Teams channel; resolving always needs a sign-in.

Still stuck?

Email us and we will help you get it working.

Contact support