logo
search
MFA & Verification Issues

Fix B2C Authorization Code Prompting Twice in Microsoft Entra

Huma Ashraf ChHuma Ashraf Ch Sep 28, 2026 869 views

Question details

Users are being asked to enter their Azure AD B2C authorization code twice during the login process.

How to Fix B2C Authorization Code Prompting Twice
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.
Before you start

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.

Solution 1

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.

1
Launch an InPrivate Window

Open your web browser and launch a new InPrivate or Incognito window to bypass existing cache.

2
Test the Login Flow

Attempt to log into the application using your Azure AD B2C credentials to see if the double prompt persists.

3
Clear Cookies and Cache

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.

Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS website and download the free WPS Office installation package.
  2. 2. Open Existing Documents: Launch WPS Office and directly open your existing Microsoft Word, Excel, or PowerPoint files without needing format conversion.
  3. 3. Edit Without Interruptions: Start editing your documents immediately, completely bypassing enterprise authentication loops.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.No complex enterprise authentication required for local document editing.Lightweight installation and a familiar user interface.Built-in PDF editor and seamless cross-device synchronization.
microsoft office alternative - wps office

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.