Forum Discussion
Error when trying to add a Bot in MS Teams
I'm having a problem trying to insert a botchat in MS teams. The error a happens when I try to add the bot to the channel. Showing the following message: Adam Teams cannot be added due to a problem with the bot. As shown in red in the image below:
Could anyone help me with this?
Note: If someone with experience can help, we can pay by the hour.
- Sayali-MSFTMicrosoftjericogs- We are looking into this I will get back to you soon.
- Sayali-MSFTMicrosoftjericogs- Could you please share repro steps and manifest json , so that we can try it from our end?
- jericogsCopper Contributor
First thanks for the feedback. Regarding the steps to get to this error I followed this article: https://www.codeproject.com/Articles/5314752/Microsoft-Teams-for-Java-Developers-Part-3-Develop. When I got to the end of the article. More specifically in the "Creating the Bot Service and Application Registration" The error came. This part of running on Bot Framework Emulator worked fine. I believe that with this I can simulate what is happening with my code.
- Sayali-MSFTMicrosoft
jericogs-This article demonstrates how to deploy a basic bot to Azure. It explains how to create resources for your bot, prepare your bot for deployment, deploy your bot to Azure, and test your bot in Web Chat.
Reference Document- Publish your bot to Azure - Bot Service | Microsoft Docs