microsoft / microsoft/AdaptiveCards

[Rendering] Action.Popover in Copilot Studio does not pass the actionSubmitId from the underlying Action.Submit

Open
#9,261 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Renderers Bug
Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Target Platforms

Other

SDK Version

1.5

Application Name

Copilot Studio

Problem Description

When using Action.Popover, submit buttons inside the popover are not functional because the actionSubmitId is not passed back to the Copilot Studio Agent. As a result, Action.Submit events inside the popover cannot be identified or handled properly resulting in an error.

Error message in the Copilot Studio

adaptiveCardResponseInvalidUnable to parse the following response: {}. actionSubmitId is required to be present on the action.
Screenshots
Image
Card JSON
{
    "type": "AdaptiveCard",
    "$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "body": [
        {
            "type": "TextBlock",
            "text": "New TextBlock",
            "wrap": true
        }
    ],
    "actions": [
        {
            "type": "Action.Popover",
            "title": "Action.Popover",
            "content": {
                "type": "Container",
                "items": [
                    {
                        "type": "TextBlock",
                        "text": "Are you sure you want to cancel this order?"
                    },
                    {
                        "type": "ActionSet",
                        "actions": [
                            {
                                "id": "confirm",
                                "type": "Action.Submit",
                                "title": "Yes, cancel my order"
                            },
                            {
                                "id": "decline",
                                "type": "Action.Submit",
                                "title": "No, keep my order"
                            }
                        ]
                    }
                ],
                "spacing": "None"
            },
            "id": "idx4"
        }
    ]
}
Sample Code Language

No response

Sample Code

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the provided Adaptive Card JSON in Copilot Studio, focusing on Action.Popover and its nested Action.Submit buttons. Trace the response from the popover actions and verify whether actionSubmitId from the underlying Action.Submit is preserved. Done means the Copilot Studio Agent receives the identifier and both submit buttons are handled without the parsing error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.