Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MS Teams Post Adaptive Card and Wait for Response stops in Power Automate flows #2313

Open
claudiu-mera opened this issue May 8, 2024 · 8 comments
Assignees
Labels
bug teams issue issue that has been reviewed and likely teams specific teams-developer-support

Comments

@claudiu-mera
Copy link

claudiu-mera commented May 8, 2024

I am using MS Teams Post Adaptive Card and Wait for Response action in a Power Automate flow.

Each time user input is provided, a banner with message "Your response was sent to the app" is displayed below the adaptive card. The flow remains in Running state, as it is still waiting for user input.

Example of Adaptive card body:

{
    "type": "AdaptiveCard",
    "body": [

      {
        "type": "Input.ChoiceSet",
        "id": "selector",
        "style": "expanded",
        "label": "Please choose an option:"
        "isMultiSelect": false,
        "choices": [
          {
            "title": "Red,
            "value": "1"
          },
          {
            "title": "Green",
            "value": "2"
          },
          {
            "title": "Blue",
            "value": "3"
          }
        ]
      }
    ],
    "msteams": {
      "width": "Full"
    },
    "actions": [
      {
        "type": "Action.Submit",
        "title": "Submit"
      }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.3"
  }

Notes:

  1. The flow was working fine until a couple of days ago, when it suddenly stopped working.
  2. The issue is encountered only on some environments, while on others not.
@Prasad-MSFT
Copy link

Hi @claudiu-mera - Could you please let us know what issue you are facing here? Is the Power Automate flow not sending the adaptive card?

@claudiu-mera
Copy link
Author

Hi @Prasad-MSFT , the power automate flow is sending the card, but nothing happens after I click the Submit button in the adaptive card.
Expected result is to see a confirmation message in Teams and the flow to resume the execution.

@claudiu-mera
Copy link
Author

claudiu-mera commented May 9, 2024

@Prasad-MSFT , below you can find a couple of screenshots that describe the issue:

Expected behavior:
After pressing submit

  • confimation message (defined in Post adaptive card and wait for reponse) displayed
  • flow continues execution
    image

Actual behavior:
After pressing submit

  • banner with message "Your response was sent to the app" is displayed below adaptive card
  • no data submitted
    image

@Prasad-MSFT
Copy link

@claudiu-mera - We tried to repro this issue sending below adaptive card by Power Automate flow

{
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "type": "AdaptiveCard",
  "version": "1.3",
    "body": [
	{
      "type": "Input.ChoiceSet",
      "id": "myColor",
      "style": "expanded",
      "label": "What color do you want?",
      "isMultiSelect": false,
      "choices": [
        {
          "title": "Red",
          "value": "1"
        },
        {
          "title": "Green",
          "value": "2"
        },
        {
          "title": "Blue",
          "value": "3"
        }
      ]
    }
    ],
    "msteams": {
      "width": "Full"
    },
    "actions": [
      {
        "type": "Action.Submit",
        "title": "Submit"
      }
    ]
  }

image

then on submitting after choosing any option got expected result.
image

Power Automate Flow:
image

@Prasad-MSFT
Copy link

Prasad-MSFT commented May 9, 2024

Update:

We observed that this works fine in Teams web client, while in Teams Desktop client its not working as expected (nothing happens after we click the Submit button in the adaptive card)
image

Tested in:

You have Microsoft Teams version 24128.3300.2862.7357.
The client version is 49/24050722600.

We have raised a bug for the same. We will inform you once we get any further update from engineering team.

Thanks!

Also, Could you please share your valuable feedback via Microsoft Teams Developer Community Response Feedback link?

@claudiu-mera
Copy link
Author

@Prasad-MSFT, thank you. Unfortunately, the issue reproduces both on web client and desktop app.

web client version: v2

desktop client:
teams version 24102.2219.2860.2337
client version 49/24041122313

@erinha erinha added the teams issue issue that has been reviewed and likely teams specific label May 9, 2024
@DerekCFI
Copy link

I'm having the same issue.

@Prasad-MSFT
Copy link

We are following up with engineering team about this issue. We will update this thread once we hear from them. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug teams issue issue that has been reviewed and likely teams specific teams-developer-support
Projects
None yet
Development

No branches or pull requests

5 participants