Share via

Undocumented authentication differences between single-tenant and multi-tenant Entra ID applications

Hervé-Henri Houzard 0 Reputation points
2026-01-27T17:12:30.5533333+00:00

TL;DR
While investigating an authentication failure, we found undocumented behavioral differences between single-tenant and multi-tenant Entra ID applications. Specifically, the Origin HTTP header is rejected by single-tenant apps using “Mobile and desktop” redirect URIs, but accepted by multi-tenant apps in the same flow. The resulting error (AADSTS9002326) does not appear in the official documentation, which made the issue difficult to diagnose.

What we observed

When using MSAL to perform an interactive authentication flow:

Single-tenant applications fail if the request includes an Origin header and the redirect URI type is “Mobile and desktop”

  • Multi-tenant applications tolerate the same header in otherwise identical requests
  • The failure returns error code AADSTS9002326, with a message saying "*Cross-origin token redemption is only permitted for the 'Single-Page-Application' client type. Request origin:
Microsoft Security | Microsoft Entra | Microsoft Entra ID

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.