Search code examples
c#azurebotframeworkmicrosoft-teamsadaptive-cards

Microsoft Bot Framework - Adaptive card version not supported in Teams and Skype for Business


I have created a bot and deployed it to Azure. In the Azure portal, I have configured Skype for business and Microsoft Teams as channels for my bot. The bot is using Adaptive Cards to show details of entities, the user has entered (to create a meeting).

I have tested the bot with Bot Framework Emulator using the Azure URL of the bot. Everyting works as expected. - Entities are properly resolved with LUIS - Details are filled in the Adaptive Card - The Adaptive Card is showing in the chat window.

Not so for Skype for Business and Microsoft Teams. Nothing at all is showing in Skype for Business.

In Microsoft Teams, I receive an error message "The specified card version is not supported.". I am using the latest NuGet Packages for BotBuilder - Version 3.16 at this point of time. Anyway, the problem exists.

I'd expect, Adaptive Cards code would be compatible with all Microsoft products. What can I do, to get my Adaptive Cards working in Teams, Skype for Business... ?


Solution

  • What version of the AdaptiveCards package are you using? I had this same issue after support was announced for Microsoft Teams, but I found this StackOverflow post which directed me to update my AdaptiveCards package. Since updating, my AdaptiveCards work in Teams.