Fix B2C Authorization Code Prompting Twice in Microsoft Entra
Question details
Users are being asked to enter their Azure AD B2C authorization code twice during the login process.

- Product
- Microsoft Entra External ID / Azure AD B2C
- Device & OS
- not provided
- Scenario
- Logging into applications or services using Azure AD B2C or Microsoft Entra External ID.
- Observed behavior
- Users are unexpectedly prompted to enter the authorization code a second time despite entering it correctly the first time.
Ensure you have administrative access to the Azure portal and that affected users are running the latest version of their web browser to rule out simple compatibility issues.
Clear Browser Data and Use InPrivate Mode
Resolve stale browser data issues that might trigger redundant MFA or authentication prompts on the user's end.
Often, corrupted cookies or outdated cache files can interrupt the authentication flow, causing the system to request authorization repeatedly.
Open your web browser and launch a new InPrivate or Incognito window to bypass existing cache.
Attempt to log into the application using your Azure AD B2C credentials to see if the double prompt persists.
If the InPrivate window resolves the issue, go to your browser settings, search for 'Privacy and security', and clear all cookies and cached site data.
Review B2C User-Flow and Session Configurations
Adjust Azure AD B2C session lifetimes, conditional access, and token policies to prevent authentication conflicts.
Switch to WPS Office for a Hassle-Free Experience
If authentication loops and complex Azure AD B2C logins are disrupting your workflow in Microsoft Office, try WPS Office. It provides a highly compatible alternative for editing documents, spreadsheets, and presentations without heavy enterprise login dependencies.
- 1. Download the Installer: Visit the official WPS website and download the free WPS Office installation package.
- 2. Open Existing Documents: Launch WPS Office and directly open your existing Microsoft Word, Excel, or PowerPoint files without needing format conversion.
- 3. Edit Without Interruptions: Start editing your documents immediately, completely bypassing enterprise authentication loops.

Frequently Asked Questions
Why am I being asked for my B2C authorization code twice?
This typically happens due to conflicting Conditional Access policies, expired session tokens, or a stale browser cache that interrupts the smooth transfer of the authentication token.
Does this double prompt issue mean my account is compromised?
No. It is usually a session configuration issue or an authentication policy conflict within Microsoft Entra External ID or Azure AD B2C, not a security breach.
Can an end-user fix the Azure AD B2C authentication loop?
End-users can try clearing their browser cookies and cache or using an InPrivate browser window. If the issue persists across all browsers, an IT administrator must adjust the B2C session settings.
Is this authorization issue caused by a bug in Microsoft Word?
While you might experience the issue when logging into Microsoft Word or other Office apps, the root cause is almost always related to the B2C tenant authentication configuration rather than the Office application itself.





