Webchat test is not working in Azure bot

Hongnian Long 10 Reputation points
2023-04-12T07:27:23.54+00:00

I created a simple echo bot with template of bot framework SDK V4, and it is working well in my PC localhost. Then I followed this guide "https://learn.microsoft.com/en-us/azure/bot-service/provision-and-publish-a-bot?view=azure-bot-service-4.0&tabs=userassigned%2Ccsharp" to publish it to azure platform. After I published it, in the app service I can see it is running normally, and also I can open this page -> https://guboodbotv1.azurewebsites.net/ so I think the app should be already running well. User's image

In the bot service, I think I configured the correct endpoint and I have made sure that the microsoft app id here is the same as in the app service. User's image

But in the Test in Web Chat page, the bot does not react at all. User's image

And I can see the error messages in Channels panel: User's image

What can I do to resolve it?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
925 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Ramr-msft 17,821 Reputation points
    2023-04-12T11:13:01.0766667+00:00

    @Hongnian Long Thanks, One possible solution could be to check the logs for any errors or issues. You can do this by going to the App Service logs in the Azure portal and checking for any error messages or issues. Additionally, you may want to verify that the messaging endpoint in your bot’s settings matches the endpoint URL of your deployed bot.

    0 comments No comments

  2. Hongnian Long 10 Reputation points
    2023-04-13T08:30:17.2+00:00

    Sorry for confusing. I have resolved it by myself. I am not giving a correct MicrosoftAppPassword before. After I edit the MicrosoftAppPassword it works fine.


  3. Saideep Anchuri 6,690 Reputation points Microsoft External Staff
    2025-04-04T15:18:58.1+00:00

    Hi Hongnian Long

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.

    Ask: Webchat test is not working in Azure bot

    Solution: The issue is resolved. That you have resolved it by yourself. you are not giving a correct MicrosoftAppPassword before. After You edit the MicrosoftAppPassword it works fine.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.

     

    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    Thank You.


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.