Hello,
I find myself having trouble connecting my azure bot to my webapp.
I’ve checked the credentials and they are right but the bot is still not allowed to access my api on my webapp. I’ve also activated the authentication to my webapp via Microsoft and gave the access_as_user permission to my api to my bot through azure entra.
My bot is still unable to properly work and I have this message : There was an error sending this message to your bot: HTTP status code Unauthorized.
(Also my bot is working fine on bot framework emulator it is when I test it through web chat that there is an issue.)
I also tried following this : https://learn.microsoft.com/en-us/azure/bot-service/bot-service-troubleshoot-authentication-problems?view=azure-bot-service-4.0&tabs=csharp#enable-security-localhost where the connection of the bot to the channels ends up with the expected HTTP/1.1 301 Moved Permanently but the connection of the channel to the bot test ends up in curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to ivr-sr-bot.botapps.amat.com:443 which doesn't seem like it is expected.
Have you got any lead on it ?
Thanks