Not able to sign in after publishing bot. I am using bot-authentication-msgraph

Shweta Shinde 0 Reputation points
2025-02-13T19:33:47.2+00:00

I am using bot-authentication-msgraph for authentication in my bot using python. The bot works fine when tested in the Test in Web Chat feature. However, after publishing it to the Teams channel, the sign-in dialog box shows an error: "Something went wrong. Please try again."

It seems like after publishing, the redirect URL (https://token.botframework.com/.auth/web/redirect) is not working correctly in Teams. Please assist in resolving this issue.

Result in Test in Web Chat
Test in Web Chat Result

Result in Teams after publishing bot service

User's image

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
908 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,895 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
8,328 questions
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,657 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.