Not able to send messages to Bot in Teams from Azure Bot Service.

Sharma, Yashaswi 1 Reputation point
2024-06-04T13:52:36.04+00:00

I registered for an Azure Bot Service on Microsoft Azure and designated Microsoft Teams as the channel. After configuring the messaging endpoint for my Python bot logic deployed on an AKS cluster, I tried accessing the bot through Teams via the Azure Bot Service. Unfortunately, the chat feature in Teams was disabled, accompanied by a message stating that sending messages to the bot was not allowed.

When attempting to utilize the "Test in Web Chat" feature within Azure Bot, I encountered an error message stating, "There was an error sending this message to your bot." I'm puzzled as to why it's not functioning. To investigate further, I tested the bot using the Bot Framework Emulator, where the endpoint appears to be functioning correctly.

I need your assistance in resolving this issue. What could be the reason for the failure in the "Test in Web Chat" feature?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
841 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,343 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.