This error message usually occurs when the bot is not properly configured to receive messages from the channel. There are a few things you can check to resolve this issue:
- Make sure that the bot is properly configured to receive messages from Microsoft Teams. You can do this by going to the Bot Service resource that you have created and selecting Channels. From there, make sure that Microsoft Teams is listed as a channel and that it is properly configured.
- Open the Azure portal.
- Open the Azure Bot resource blade for your bot.
- Open Channels and select Microsoft Teams:
- Read and agree to the terms of service.
- On the Messaging tab, select the cloud environment for your bot. For more information, see the Post build section of Plan your app with Teams features.
- Select Apply.
- Select Get bot embed code, locate the embed code for Teams, and then copy the https part of the code. For example,
https://teams.microsoft.com/l/chat/0/0?users=28:b8a22302e-9303-4e54-b348-343232
. You can use this code to test the bot in Teams. Refer-https://learn.microsoft.com/en-us/azure/bot-service/channel-connect-teams?view=azure-bot-service-4.0
- Check that the bot's Microsoft app ID and password are saved correctly in the bot configuration file you uploaded to the web app. You can verify this by going to the Bot Service resource and selecting Settings > Configuration. From there, make sure that the app ID and password are correct.
Let us know