Share via

Encountering 400 - Invalid Request error during the Microsoft Entra External ID user flow because of Entra incorrectly passing an unsupported username parameter to Google's OAuth 2.0 endpoint

Uday Devarakonda 30 Reputation points
2026-02-12T07:13:25.3666667+00:00

I am currently facing an authentication issue while integrating Google login via Microsoft Entra External ID (SignInSignUp user flow) for my application, and I would appreciate your guidance in resolving it.

Issue Summary:

When users select “Sign in with Google” directly from my application, the authentication flow works as expected and login is successful.

However, when users attempt to log in via the Microsoft Entra SignInSignUp user flow, the authentication fails with a 400 – Invalid Request error.

Observed Error:

The Google authentication screen displays the following error:

Access blocked: Authorization Error

Error 400: invalid_request

Parameter not allowed for this message type: username

Request details: flowName=GeneralOAuthFlow

b9LSOlXiihbKLek2peYo

Expected Behavior:

Users should be able to authenticate successfully using Google accounts through the Entra SignInSignUp user flow, similar to the direct “Sign in with Google” experience in the application.

Additional Context

  • Google identity provider is configured under External Identities → Identity Providers in Entra.
  • Client ID and Client Secret are configured.
  • The issue seems to arise specifically during the Entra-orchestrated Google authentication flow, not during direct Google OAuth login.

Your guidance would be greatly appreciated, as resolving this is critical for us to enable smooth onboarding of Gmail-based external users.

Thanks in advance for your support.

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
{count} votes

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.