Apr 05 2022 08:02 AM
Apr 05 2022 08:02 AM
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.
Apr 06 2022 04:57 AM
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.
Apr 06 2022 05:36 AM - edited Apr 06 2022 05:37 AM
@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
Apr 06 2022 06:02 AM
Apr 08 2022 12:00 AM - edited Apr 08 2022 12:01 AM
@jericogs -We are unable to repro the scenario. It's working fine for us. Could you please try it with this sample?
Apr 08 2022 08:11 AM
I tried with the sample you sent me, but I couldn't run the code. As I couldn't, I ended up uploading my initial Java code to this repository: https://github.com/jericgs/botecho
Would you like to see if you managed to insert the Bot created in this code in MS Teams?
Note: On my local machine the code in the repository is working in Bot Framework Emulator. How can I show in the image.
But when I try to insert in MS Teams comes the error:
As you look at what I asked you above about the code. Would you like to send the App Manifest of the Ms Teams of this bot that you were able to successfully insert into Teams. It would be a file in json format that is in Ms Teams.