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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Post adaptive card and...
Power Automate
Answered

Post adaptive card and wait for a response doesn't allow for adaptive card JSON to be entered.

(0) ShareShare
ReportReport
Posted on by 4

The action 'Post adaptive card and wait for a response' doesn't allow for adaptive card JSON to be entered, it only allows for a plain text message to be entered (similar to the action 'Post message in a chat or channel'). The similar action called 'Post adaptive card in a chat or channel' that doesn't wait for a response, seems to work fine.

 

Here's a screenshot of the action I'm having issues with, showing the option for JSON to be entered is missing:

Simon_W_0-1662648288813.png

 

I've achieved this in the past with the 'Post an Adaptive Card to a Teams channel and wait for a response' operation, however this has now been deprecated according to this doc Microsoft Teams - Connectors | Microsoft Docs

 

I've tried:

Enabling experimental features from the PA settings menu

Selecting Post Virtual Agents (Preview) from the 'Post as' dropdown of the action, but I do'nt have any bots to post as.

Select Flow bot from the 'Post as' dropdown of the action, and choosing a team, channel and typing a test message.

 

When testing the flow with the options that are available, the fails and returns this exception:

 

 

 

 

The request failed. Error code: 'InvalidJsonInBotAdaptiveCard'. Error Message: 'Microsoft.Azure.ProcessSimple.Data.Entities.Exceptions.ProcessSimpleDataException: The specified Teams flowbot adaptive card request is missing or invalid. The tracking Id is '{0}'. ---> Newtonsoft.Json.JsonReaderException: Error parsing boolean value. Path '', line 1, position 1.
 at Newtonsoft.Json.JsonTextReader.ParseTrue()
 at Newtonsoft.Json.JsonTextReader.ParseValue()
 at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
 at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
 at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions)
 --- End of inner exception stack trace ---
 at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions)
 at Microsoft.Azure.ProcessSimple.Web.Common.Validation.BotAdaptiveCard(String card, RequestIdentity senderRequestIdentity)'.

 

 

 

 

Am I going mad, or does this not work for other people?

Categories:
I have the same question (0)
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @Simon_W 

     

    The reason why Flow reported an error is that you entered incorrect Json code in the Message. 

    Please make sure your Json code is correct.

    I have made a test for your reference:

    vliweimsft_0-1662695933817.jpeg

    vliweimsft_1-1662695944344.png

    vliweimsft_2-1662695962636.png

    vliweimsft_3-1662695969926.png

     

    Best Regards,

    Levi

  • Simon_W Profile Picture
    4 on at

    Great - thanks for clarifying. Unfortunately there's no consistency with what PA calls the field that accepts the JSON for the adaptive card; sometimes it looks like this:

    Simon_W_0-1662707790632.png

    and sometimes it doesn't as in my original post. 

     

    I'll see if I can give feedback on this feature as it used to be standardised.

     

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard