We post alerts to a Teams channel through a Workflows webhook. Microsoft retired the old Office 365 connector URLs (outlook.office.com and *.webhook.office.com), and we refuse them.
Get a webhook URL in Teams
- In Teams, open the channel for the alerts.
- Open the ... menu of the channel and choose Workflows.
- Choose the template Post to a channel when a webhook request is received.
- Follow the steps, then copy the URL that the workflow shows.
Add the channel
- Open Alerting and click Add channel.
- Select Microsoft Teams.
- Enter a name and paste the workflow URL.
- Click Create Channel.
- Click Send test on the channel card and check the Teams channel.
Teams gets downtime, recovery, SSL certificate, DNS and scan alerts. It does not get performance alerts.
If you delete the workflow, create a new one and paste its URL on the channel's edit page.