web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Adaptive Card in MS Te...
Power Automate
Unanswered

Adaptive Card in MS Teams- User Inputs not coming back as dynamic content

(0) ShareShare
ReportReport
Posted on by 2

Hi everyone,

I've built an approval flow and am trying to replace the approval with an adaptive card so that I can gather specific input like major code, project code etc. The card is being posted to a user via the teams bot (I am using post and wait for a response action).

 

The card works perfectly when I test the flow, however when I try to add a next step to work with the inputs, no dynamic content is available from the adaptive card. Is anyone else having this issue? I've scoured the internet and have not been able to find any reason for it.

 

I've turned on Experimental Features and still am not getting any dynamic content.

 

Any help would be much appreciated.

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Adaptive Card in MS Teams- User Inputs not coming back as dynamic content

    Hi @Nisha1,

     

    It is a known issue when dynamic content appears in an adaptive card.

    As a workaround, you could use Parse JSON action to parse the adaptive card action:

    1. Run the action once to get the outputs, then copy it;

    2. Then add Parse JSON action, put the action body to the Content field and click Generate from template button to input the JSON code get from step 1.

    3. Then you could find dynamic content in following step.

    Screenshot 2020-10-07 170215.jpg

     

    Screenshot 2020-10-07 170416.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • ASH4EVER Profile Picture
    58 on at
    Re: Adaptive Card in MS Teams- User Inputs not coming back as dynamic content

    Hi. Have the same issue with absence of output of adaptive card in the dynamic content. Tried to follow the suggestions from @v-litu-msft but get error for json action:

     

    Unable to process template language expressions in action 'Parse_JSON' inputs at line '1' and column '26096': 'Required property 'content' expects a value but got null. Path ''.'.

     

    The json schema is next:

     

    {
        "type": "object",
        "properties": {
            "responseTime": {
                "type": "string"
            },
            "responder": {
                "type": "object",
                "properties": {
                    "objectId": {
                        "type": "string"
                    },
                    "tenantId": {
                        "type": "string"
                    },
                    "email": {
                        "type": "string"
                    },
                    "userPrincipalName": {
                        "type": "string"
                    },
                    "displayName": {
                        "type": "string"
                    }
                }
            },
            "submitActionId": {
                "type": "string"
            }
        }
    }
     
     
    The adaptive card output body is next:
     
    {
      "responseTime": "2021-02-25T13:59:39.4995678Z",
      "responder": {
        "objectId": "7bd6Some textd2e1",
        "tenantId": "5f9cSome textab5",
        "email": "Some text",
        "userPrincipalName": "Some text",
        "displayName": "Some text"
      },
      "submitActionId": "1"
    }
     
    Any help?
  • ASH4EVER Profile Picture
    58 on at
    Re: Adaptive Card in MS Teams- User Inputs not coming back as dynamic content

    Have found that dynamic content in the Adaptive Card itself is the reason for this issue. As a temporary workaround deleted any dynamic content from the card template. Now everything is working.

     

    But this is just a workaround, because i need dynamic data in the template.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard