Search code examples
javascriptnode.jsazurebotframeworkmicrosoft-teams

MSTeams Bot working in webchat test but not working in msteams


I am trying to build a basic bot with Microsoft Azure Bot Service. I have created a WebApp Bot in the Bot Service using Nodejs EchoBot sample. It is successfully deployed and works as expected in the test web chat but when i try to add it to MSTeams using App Studio to create a manifest and side loading the bot, the message sending to the bot is failing. Also,I cannot add the bot to a team it displays a dialog box saying "something went wrong" without any further information.

enter image description here

enter image description here

enter image description here I have also tried the sample of bot builder for nodejs and deployed using ngrok, exactly same error for both. I have also tried with different accounts, with subscription, with free account all same issue.

Appreciate your help.


Solution

  • Could you please add Teams as a channel for your bot? You can do that by going to channels section of your bot in the azure portal.