Forum Discussion
Mictosoft Teams chat window crashes when chatbot conversation is opened
Sid Uppal i dont use adaptive cards.
I just use send Chat message as flow bot in power Automate.
When Ever the flow sends a new message as flow bot, the Teams Chat and call Icon go unresponsive.
I reworked my flow todays so instead of a message, the flow sends an activity into the feed. After some testing it seems this doesnt Breaks teams
I am trying to repro this behavior but it is working for me. Are you sending the message in a chat with the bot or a group chat or meeting chat?
Are you clicking on the a notification for the message or just clicking on the chat where the message was sent?
Since KeithMcC mentioned URL actionable I was sending this card to try to repro
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "This card's action will open a URL"
}
],
"actions": [
{
"type": "Action.OpenUrl",
"title": "Action.OpenUrl",
"url": "https://adaptivecards.io"
}
]
}
- NebucadnezaJan 19, 2023Copper Contributor
Ok so i have managed to restore my original deleted Flow (because the workaround with the post in Activity feed is not usable)
Here is the Flow action for sending the Msg:
{ "inputs": { "host": { "connectionName": "shared_teams", "operationId": "PostMessageToConversation", "apiId": "/providers/Microsoft.PowerApps/apis/shared_teams" }, "parameters": { "poster": "Flow bot", "location": "Chat with Flow bot", "body/recipient": "@{variables('var_mails')};", "body/messageBody": "<p><span style=\"font-size: 16px\"><strong>MessageXXYYZZ :)</strong></span></p>", "body/isAlert": true }, "authentication": { "type": "Raw", "value": "@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']" } }, "metadata": { "operationMetadataId": "deleted ID cause internet" } } - RobKalJan 16, 2023Copper ContributorIn our case users don't even have to interact with adaptive card, when user clicks on bot conversation whole chat is not responding. We don't know exacly how to repeat this bug as it randomly starts for some users. Only thing that is common for all users who get this problem is that their oranazation recently added bot to another team.
For adaptive cards we use Action.OpenUrl, Action.Submit, Input.Text, Input.ChoiceSet, Containers, Textblocks and some other card elements. We don't know if any of these cause the issue.- Tim_OpieJan 16, 2023Copper ContributorYeah same here. The ones I have delt with so far have adaptive cards that havent been responded to, not sure is thats the case for you too but its just something I've noticed.
- David AnderssonJan 19, 2023Iron Contributor
We also have the same issue, I have experienced it myself and heard from colleagues. When reading chat messages in Teams sent from Power Automate, the chat becomes unresponsive and Teams has to be restarted. At least when the chat message is an adaptive card. I'm not sure if it happens for regular chat messages as well.
- NebucadnezaJan 15, 2023Copper Contributor
Im Sending a Chat message (not a Cars) to individual users as flow-bot via power Automate.
I have Seen in the users it happens they have a by mistake typed something in the Chat with the bot but have not Sent it. Maybe this triggers the behaviour