I saw this example of a JSON Adaptive Card Payload and I have a similar one that I am currently working on for a project.
Here's the example I got below. My issue is that, this payload works perfectly well when testing it in https://adaptivecards.io/designer/. However, this seem not to work in Microsoft Teams. Same happens with the one I am working on. I used the "For a selected message (V2)" trigger in the flow.
{
"type": "AdaptiveCard",
"version": "1.3",
"body": [
{
"type": "TextBlock",
"text": "This card's action will show another card"
}
],
"actions": [
{
"type": "Action.ShowCard",
"title": "Action.ShowCard",
"card": {
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"text": "What do you think?"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Neat!"
}
]
}
}
]
}
In the attached pictures, you will find (1) the MS flow and (2) in Teams when i try to run the flow. In teams, the Action.ShowCard button displays the textbox "What do you think?" and the "Neat!" button (Action.Submit). If I try to click on "Neat!", the app window doesn't close and remains open. It is not submitting at all. What may be the reason for this?


Teams version : 24046.2813.2770.1094 (24046.2813.2770.1094)
Classic version does not work as well.