Skip to main content

16 posts tagged with "Adaptive Cards"

Adaptive Cards for Agents, Microsoft Teams and Microsoft 365 Copilot

View All Tags

Fixed: The Adaptive Cards Designer saves the card as version 1.6

· 7 min read
Jagdish Kumawat
Founder @ Dewiride

I designed an Adaptive Card for Microsoft Teams in the Adaptive Cards Designer, and every copy of it came out as version 1.6, one above the highest version Teams supports. The Designer has no setting for the version, and when I changed it in its payload editor, the copy and the export still said 1.6. The fix is to set the version in your own copy of the card.

Fixed: Cannot get the value of a token type 'String' as a boolean when reading Adaptive Card values in C#

· 9 min read
Jagdish Kumawat
Founder @ Dewiride

My Microsoft 365 Agents SDK agent answered an Adaptive Card's Book desk button with The JSON value could not be converted to DeskBooking.DeskRequest. Path: $.monitor, followed by Cannot get the value of a token type 'String' as a boolean. The card's check box had sent the text "true", not the value true, and the JSON reader won't turn text into a bool. The fix is to read every value a card sends as the string it is.