Microsoft Bot deployed to Azure not working

Oehman, Peter 16 Reputation points
2022-07-22T14:59:23.58+00:00

I have followed this tutorial to publish a Microsoft Bot to Azure. I got a messages that the bot was deployed successfully and got a messaging endpoint that's a public domain. 223854-screen-shot-2022-07-22-at-104743-am.png. When trying to test the bot in web chat, it appears to connect, however typing something in doesn't get any response. 223768-screen-shot-2022-07-22-at-105639-am.png. It's supposed to be the basic echo bot. When testing locally using the bot framework emulator it was working and I haven't changed any of the code since deploying. When trying to go to the messaging endpoint I get this: 223759-screen-shot-2022-07-22-at-105758-am.png. When I try to go to the same URL but with /api/messages removed I get this: 223868-screen-shot-2022-07-22-at-105845-am.png. Any help would be appreciated!

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

2 answers

Sort by: Most helpful
  1. Brubru Oliveira 10 Reputation points
    2023-02-08T16:32:12.7833333+00:00

    I got it.. So, before deploy you should execute the publish command to create a Publish folder, and then deploy that folder.. not the project folder..

    The command to create the publish folder is:

    dotnet publish -c Release -o ./bin/Publish

    And after that, go to that folder and execute the deployment command.

    1 person found this answer helpful.

  2. Tim Williams 5 Reputation points
    2023-03-08T01:22:43.8066667+00:00

    Hi @Brubru Oliveira

    What did you include in your zip file? The instructions in the tutorial didn't work for me (Sorry for the repost, I don't see how to delete this).