# Send alerts to Microsoft Teams

Get downtime alerts in a Microsoft Teams channel. Create a webhook link with Teams Workflows, paste it into StatusCheck, and send a test card.

Connect a Microsoft Teams channel to get a card there when a monitor goes down, when it recovers, and when you post a status update. Anyone in the channel can follow an outage without a StatusCheck seat.

You create a webhook link in Teams, a private web address that lets StatusCheck post into one channel, and paste it into StatusCheck. Microsoft Teams is available on the Team plan and up, and the integration shows a **Team+** badge. A workspace has one Teams connection, which posts to one channel.

**Before you start**

- You need the **Owner**, **Admin** or **Editor** role in the StatusCheck workspace.
- You need permission to add workflows to the Teams channel. Some organizations restrict Workflows. Ask your Microsoft 365 admin if the option is missing.
- Decide on the channel first, for example a channel named Production alerts.

## Create a webhook link in Teams

Teams accepts alerts from other apps through a workflow, an automation built into Teams. Older Office 365 connector links on `webhook.office.com` no longer work, so create a workflow even if you had a connector before. Microsoft changes these screens from time to time, so the names below may differ slightly in your Teams.

1. In Teams, find the channel in the list of teams and channels on the left.

2. Hover over the channel name and select the **•••** (More options) menu next to it.

3. Choose **Workflows**. A window opens with a list of workflow templates.

4. Select the **Send webhook alerts to a channel** template.

5. Enter a name for the workflow, for example StatusCheck alerts, and select **Next**.

6. Check that the team and channel are the ones you want, then select **Add workflow**.

7. When Teams shows the workflow's link, select the copy button next to it, then **Done**. The link is long and starts with `https://`.

Keep the link private: anyone with it can post to the channel.

If your Teams looks different:

- **The template is not shown.** Enter `webhook` in the search box of that window.
- **There is no Workflows option in the channel menu.** Open the **Workflows** app from the apps bar on the left side of Teams and search its templates for `webhook`. A template named **Post to a channel when a webhook request is received** produces the same kind of link.
- **Neither is available.** Your organization has turned Workflows off. Ask your Microsoft 365 admin to create the workflow and send you the link.

## Paste the link into StatusCheck

1. In StatusCheck, open **Integrations** in the sidebar and choose **Microsoft Teams**.

   ![The Microsoft Teams integration page in StatusCheck, with three setup steps, the Teams webhook link field and the Connect button, and a Details card showing the Team+ plan.](https://www.statuscheck.io/_astro/integration-teams.BinNoJYZ.png)

2. Paste the link into **Teams webhook link**. It must start with `https://`.

3. Select **Connect**. The status reads **Connected**.

4. Select **Send test alert**. A test card appears in the Teams channel within a few seconds. If it does not, see [Troubleshooting](#troubleshooting).

StatusCheck encrypts the link and does not show it again. To change channels, select **Disconnect** and connect again with the new channel's link.

## Choose which events the channel receives

A new connection receives all three events. To change that, open the integration's page in StatusCheck, clear the events you do not want under **Events**, and select **Save events**.

| Event | When it is sent |
| --- | --- |
| **Monitor down** | A failure has been confirmed from a second location and an incident has opened. Reminders follow if the monitor's **Resend while down** is set. |
| **Monitor recovered** | The recovery has been confirmed. Includes the outage duration. |
| **Status updates** | Someone posts an update to a status page, including the one that resolves it. |

## Send a monitor's alerts to the channel

Connecting Teams does not change any monitor. A monitor's alerts go only to the channels you select on it.

1. In StatusCheck, open **Monitors** in the sidebar and select the monitor.

2. Open the **Notifications** tab.

3. Under **Channels**, select the Microsoft Teams connection.

4. Select **Save changes**. The monitor's next down alert goes to the channel.

Status updates go to the connection whenever **Status updates** is selected, whatever monitors it is attached to.

## What the Teams card contains

Each alert is a card (Teams calls it an Adaptive Card) with:

- a title that names the monitor and what happened;
- a list of facts: the location that detected the failure, the status code (the number your server answered with, such as `503`) and failure reason, when it started, and for a recovery when it ended and how long it lasted;
- the monitor's URL, if **Show URL in notifications** is on for that monitor;
- a **View incident** button that opens the incident in StatusCheck.

Times are in UTC.

## Troubleshooting

**There is no Workflows option in Teams.** Your organization may have turned Workflows off, or your account may not be allowed to create them. Ask your Microsoft 365 admin.

**The test alert fails right after connecting.** You may have pasted an old connector link from `webhook.office.com`. Create a workflow from the **Send webhook alerts to a channel** template and use its link.

**Alerts stopped arriving, or the test fails after it used to work.** Someone may have turned off or deleted the workflow in Teams. The connection's status changes to **Failing** and the error appears under **Last event** in the **Details** card. Create a new workflow, disconnect, and connect with the new link.

**The integration shows "Available on" a plan instead of a setup form.** Your current plan does not include Microsoft Teams. The workspace owner can upgrade from **Explore plans**.

## Related

- [How alerts work](/docs/alerts/) explains delays, reminders and muting.
- [Respond to an incident](/docs/incidents/) covers acknowledging and resolving.
- [Plans and billing](/docs/workspace/billing/) explains how to change plans.
- [Slack](/docs/alerts/slack/), [Discord](/docs/alerts/discord/), [Google Chat](/docs/alerts/google-chat/) and [Telegram](/docs/alerts/telegram/) connect the same way. [Webhooks](/docs/alerts/webhooks/) reach any other tool.
