Alerting
Questions about alerting and problem detection in Dynatrace.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Microsoft Teams - how to use for alerts after webhook connectors retired?

tdallmann
Newcomer

As the title says, I'm looking to understand the best way to get alerts into MS Teams now that MS is deprecating the webhook connectors.  I suppose the Teams email integration could work, but our security team is not a fan - too many potential vulnerabilities.  What are others doing?

1 REPLY 1

t_pawlak
Champion

Microsoft retired the legacy Teams Incoming Webhook connectors, so you can no longer just post JSON payloads directly to Teams channels.
There are a few alternatives that work well with Dynatrace alerts:

1. Use the new Microsoft Teams Incoming Webhooks (v2) via Entra ID

You can still use webhooks, but now they must be authorized through Entra ID (Azure AD) — they aren’t anonymous URLs anymore.
Dynatrace doesn’t yet support the new authentication model natively, so the common workaround is to route alerts through an Azure Function or Logic App that:

Receives the Dynatrace webhook payload

Authenticates to Microsoft Graph or the new webhook endpoint

Posts the message into Teams

Dynatrace → Azure Function / Logic App → Teams (Graph API or Connector v2)

 

Use Power Automate 

You can create a Power Automate flow with an HTTP trigger and then use the Post adaptive card to Teams action.
Dynatrace sends the webhook to the Power Automate endpoint, and the flow formats and delivers it to Teams.

Long story short:
You still need to use a webhook, but since Microsoft retired the old anonymous connectors, you have to handle it on the Azure side — for example, through an Azure Logic App, Azure Function, or Power Automate flow that receives the Dynatrace webhook payload and then posts it to Teams via Graph API or the new Teams connector v2.

Featured Posts