Error AtlasError Documentation and Resolution

Microsoft Entra application used an unsupported response mode

AADSTS70007: UnsupportedResponseMode

Microsoft Entra rejected the request because the response_mode parameter is not supported for the requested authorization flow.

AADSTS70007authentication
AADSTS70007: UnsupportedResponseMode
  • The response_mode value is not valid for the authorization request.
  • The app is mixing response parameters from different OAuth flows.
  • The library or custom auth code is constructing the request incorrectly.
  1. Capture the failing authorization request and inspect response_mode alongside response_type. Keep tokens, authorization codes, and client secrets out of shared logs.
  2. For an authorization-code request, use a documented response mode supported by the library and callback. Do not copy parameters from a different OAuth flow.
  3. Verify how the callback receives the response: query parameters, a form POST, or a browser fragment. A server callback cannot read a fragment because browsers do not send it to the server.
  4. Remove manually duplicated or conflicting response_mode parameters and let the authentication library construct the request where possible.
  5. If a packaged application generates the request, update it to a supported release and report the failure to its owner. End users cannot repair the application's OAuth request by resetting their password.
  6. Repeat sign-in and confirm the callback receives and validates the expected response. Preserve state validation and any PKCE requirements while correcting the response mode.
Microsoft Learn: Microsoft Entra authentication and authorization error codes