Forum Discussion
RobKal
Jan 10, 2023Copper Contributor
Mictosoft Teams chat window crashes when chatbot conversation is opened
I am developing Microsoft Teams chatbot. Users can start intercating with chat bot only when it is added to Team via apps. Everything works fine when app is added to only one team, however, when I cr...
Tim_Opie
Jan 12, 2023Tin Contributor
We are also using the adaptive cards with the same issue. There is a timeout set for the wait for response but think you could be onto something with the old card waiting on a response.
Sid Uppal
Microsoft
Jan 13, 2023Hello,
I am from the Teams product team. Can some of you please share some sample Adaptive Cards here with which you are able to reproduce the issue?
Thx
- Tim_OpieJan 16, 2023Tin Contributor
Here is the whole flow with adaptive card. The last condition just posts a message to a Team's chat and records the result in a SharePoint list.
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"text": "WFH Reminder",
"id": "Title",
"spacing": "Medium",
"horizontalAlignment": "Center",
"size": "ExtraLarge",
"weight": "Bolder",
"color": "Accent"
},
{
"type": "TextBlock",
"text": "Are you working from home today?",
"id": "acPollQuestion"
},
{
"type": "Input.ChoiceSet",
"placeholder": "Are you working from home today?",
"choices": [
{
"title": "Yes",
"value": "Yes"
},
{
"title": "No",
"value": "No"
},
],
"id": "acPollChoices",
"style": "expanded"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"id": "btnSubmit"
}
]
} - NebucadnezaJan 13, 2023Copper Contributor
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
- jofri-msftJan 13, 2023
Microsoft
Hi,
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" } }