Microsoft Teams Bot - OAuth Flow popup is working on mobile but getting errors on desktop app

12345abc 1 Reputation point
2022-08-17T18:19:38.393+00:00

Hi,

When I try to click the signin button to open the OAuth pop-up for my own microsoft teams messaging bot, I get the following error on both browser and desktop app: This action can't be performed since the app does not exist or has been uninstalled.

However, if I do it through the mobile app, it works fine.

I have added the start/callback pages to the validDomains of the app, and put callback page as part of redirect url. Although I'm using my own OAuth identity provider, I also added token.botframework.com login.microsoftonline.com to validDomains.

May someone help investigate?

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,065 questions
{count} votes

2 answers

Sort by: Most helpful
  1. THIAGO ATAURI TURINI 1 Reputation point
    2022-08-17T22:02:07.227+00:00

    Há uma reconfiguração nos sistemas de eitquetagems; Ao reaver o Aplicativo de que foi baixado possui, observe a configuração de pre-adapt com a revisão da conta de e-mail nesta configurações.

    0 comments No comments

  2. Sayali-MSFT 2,266 Reputation points Microsoft Vendor
    2022-08-22T09:54:48.347+00:00

    Login pages don't render in iFrames, as a safeguard against clickjacking. Your authentication logic needs to use a method other than redirect. For example, use token-based or cookie-based authentication.
    It works fine in browser but MS Teams is implemented on I-frame, that is why you are getting this error.

    Please have a look into Microsoft Teams authentication flow for tabs flow.

    Here is a ink for Auth code sample

    0 comments No comments