'Post a message' action in flow integration is broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi all
The 'Post a message' action which sends messages to a specific MS teams channel is broken I see this error. I suspect this is because the integration works well with MS Teams 'connectors' and not with the newers MS Teams 'workflows'.
When I use the below cURL in postman (with the WEBHOOK_WORKFLOW_URL provided), I see no issues and postman is able to send a message to MS Teams channel.
curl --location '<WEBHOOK_WORKFLOW_URL>' \
--header 'Content-Type: application/json' \
--data '{
"type": "message",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
"content": {
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "Workflow Alert Test"
},
{
"type": "TextBlock",
"text": "Whatsup!!.",
"wrap": true
}
],
"$schema": "http://adaptivecards.io",
"version": "1.4"
}
}
]
}'
Thanks,
Ravish