Currently having issues with submitting responses in updated Teams adaptive cards. My flow is setup so that an adaptive card is posted by the bot in a channel and can be responded to by multiple users and their responses collected into an Excel sheet. That part works perfectly fine, the issue I'm having is that we want to be able to update the contents (ie status of a task) of the adaptive card without making another card and the users continuing to respond to it.
Recently Microsoft has released the Update an adaptive card action which works great for adaptive cards that don't need to be responded to. But every adaptive card that I update with it no longer allows it to be submitted after it's updated. I am given the error below in teams when trying to submit:
The updated adaptive card JSON is the exact same outside of the title text being updated. I did test using the JSON data for the updated adaptive card into a post adaptive card action and it works fine. My only thought as to why it's failing is that when posting the adaptive card I'm able to give the adaptive card a cardTypeID but you cannot when updating the adaptive card:
Raw input for posted adaptive card with cardTypeID:
Raw input for updating adaptive card:
Any assistance would be appreciated!
No, I eventually decided to send my cards to Outlook instead of Teams and used the "HTTP" action instead, which is more versatile : you can update the card with whatever you want, using the "CARD-UPDATE-IN-BODY" parameter :
I am facing the exact same problem and was also thinking that "cardTypeID" should be a parameter of "Update an adaptive card" action.
@Hakase @Jean-Pierre , did you find a solution?
I have the exact same issue and had the same thoughts about the maybe missing parameter "cardTypeID" in the "update an active card" action.
I am currently enclined to think that this action has not been finalized yet by Microsoft and that we need to wait, but would gladely be told otherwise...
WarrenBelz
146,605
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional