Token exchange fails specifically on Mobile Clients with AADSTS50013

Lienl 185 Reputation points
2026-02-06T08:00:01.1333333+00:00

I have developed a custom Microsoft Teams Tab application using the Teams Toolkit (v5.x) and Teams JS SDK v2.19. The Single Sign-On (SSO) flow works seamlessly on both the Teams Desktop and Web clients.

However, when the same Tab is accessed via the teams mobile the silent authentication fails during the On-Behalf-Of (OBO) token exchange. The client-side getAuthToken() successfully retrieves a bootstrap token, but our backend service rejects it when attempting to swap it for a Graph API token.

Is there a known difference in the Token Audience ?

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

0 comments No comments

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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