communication
api_deprecation
ai_generated
partial
Microsoft Teams incoming webhook connector returns 404 or stops working after connector deprecation
ID: communication/teams-webhook-connector-deprecation
72%Fix Rate
80%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| any | active | — | — | — |
Root Cause
Microsoft deprecated Office 365 Connectors for Teams webhooks in 2024, moving to Workflows (Power Automate) instead. Existing webhooks may stop working. The new Workflows-based webhooks have a different URL format and payload structure.
genericWorkarounds
-
90% success Migrate to Workflows (Power Automate) based webhooks
Teams -> channel -> Workflows -> 'Post to a channel when a webhook request is received'. Use the new URL with Adaptive Card format.
-
88% success Use Adaptive Card JSON format for new webhook payloads
{"type": "message", "attachments": [{"contentType": "application/vnd.microsoft.card.adaptive", "content": {"type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "version": "1.4", "body": [{"type": "TextBlock", "text": "Hello"}]}}]} -
82% success Use Microsoft Graph API for more reliable Teams integration
Graph API: POST /teams/{team-id}/channels/{channel-id}/messages for programmatic message posting
Dead Ends
Common approaches that don't work:
-
Continue using existing O365 Connector webhook URLs indefinitely
85% fail
Microsoft is deprecating O365 Connectors. Existing URLs will stop working after the retirement date. New connectors can no longer be created in many tenants.
-
Use the same payload format with new Workflows webhook URL
82% fail
Workflows webhooks expect Adaptive Card JSON format, not the old MessageCard format used by O365 Connectors. Payload format is completely different.