I tried to deploy the bot in azure. Initially I created a web app bot in azure and then I download the code from azure. After that I added all the production files like .bot, .env, web.config files in my git repository. After that I added my git repository to the azure. I also included the microsoft app id and app password in app.js file and web.config files.
When I start giving test in web chat it is not running properly instead it shows "There was an error sending this message to your bot: HTTP status code NotFound"
Where I missed, please help me.
I would suggest you to make sure you have followed below steps exactly:
https
URL as it does not supports http
.Channel
menu and make sure there is
no issues. see the screen shot below:Configuration
under App Service Settings
there will
be MicrosoftAppId
and MicrosoftAppPassword
do not change these
after downloading it. See the below imageNote: I also suggest you to create a new project on portal and test it on there whether it is working exactly then download it for your enhancement. you could refer here. For remote debug please take a look here. To publish your local project you could refer this
If you still have any concern feel free share in comment. Thank you and happy coding!