"Unable to reach app." error with successful login for MS Teams using the Bot Builder Framework

Sumabat, Gabriel 1 Reputation point
2022-07-13T13:50:58.827+00:00

When using Python with the BotBuilderFramework to display the OAuthPrompt, the Authentication Sign In Card is displayed.
This card is part of Microsoft's python botbuilder-dialogs==4.14.2 and is used to handle all the Oauth authentication.

The login itself does succeed and return a correct token, but an error message is displayed on the Login card itself saying "Unable to reach app. Please try again."

220482-image.png

Although it claims it was unable to reach the app, the rest of the waterfall workflow was kicked off successfully and I can see my successful login function being called if I run my debugger.
I do not see any error thrown from my API and am not able to see any error thrown in the bot logs.

Why is it unable to reach my app? How do I prevent this error message from appearing?

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

6 answers

Sort by: Most helpful
  1. Indy Kaur 1 Reputation point
    2022-09-23T19:08:03.153+00:00

    @Sumabat, Gabriel

    Shouldn't the Oauth connection be fine if it works on test in web chat as well on emulator. Yesterday when I was not able to logon through teams app on windows. I tried on teams app on phone it logged me in once. But next time it started giving me.

    244375-screenshot-20220923-150505-teams.jpg

    0 comments No comments