logo
search
MFA & Verification Issues

How to Fix Cannot Enter Microsoft Authentication Code

WPS Content ManagerWPS Content Manager Sep 29, 2026 869 views

Question details

The user is unable to input or successfully submit a Microsoft authentication code during the login process.

How to Fix Cannot Enter Microsoft Authentication Code
Product
Microsoft Account / Authenticator
Device & OS
not provided
Scenario
Attempting to verify identity using multifactor authentication (MFA) to log into a Microsoft account.
Observed behavior
The authentication code field is unresponsive, the code is continuously rejected, or the page fails to load the input prompt properly.
Before you start

Before proceeding, check your internet connection stability and ensure you have an alternative verification method (such as a backup email or phone SMS) accessible.

Solution 1Recommended

Synchronize Device Time and Clear Browser Cache

Fixes issues where time discrepancies invalidate the time-based code or corrupted browser data blocks the input field.

Time-based one-time passwords (TOTP) rely heavily on exact time synchronization. If your device's clock is even slightly off, the authentication code will be deemed invalid by Microsoft's servers.

Additionally, stale browser cookies can cause the login page scripts to freeze or fail.

1
Set Device Time to Automatic

Go to your device's settings (e.g., Windows Settings > Time & Language > Date & Time) and toggle on 'Set time automatically'. Allow it to sync.

2
Clear Browser Data

Open your web browser's settings, navigate to the Privacy or History section, and clear your cache and cookies for all time.

3
Request a New Code

Restart the browser, navigate back to the Microsoft login page, and select the option to request a new authentication code.

Tip: Using your browser's Incognito or Private Browsing mode is a quick way to test if the issue is cache-related without clearing your entire history.
Free Microsoft Office alternative

Looking for a Hassle-Free Office Suite? Try WPS Office

While you are locked out of your Microsoft account, you don't have to stop working. WPS Office provides a lightweight, free alternative that lets you edit your documents offline without complex cloud authentication barriers.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free version for your operating system.
  2. 2. Install the Software: Run the setup file and follow the quick installation prompts.
  3. 3. Open Your Documents: Launch WPS Office and directly open your existing .docx, .xlsx, or .pptx files to continue working immediately.
100% compatible with Microsoft Word, Excel, and PowerPoint formats.No mandatory cloud logins required to perform basic offline document editing.Lightweight software that runs smoothly on Windows, Mac, and Linux.Familiar user interface ensuring a seamless migration with zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft say my authentication code is incorrect?

This usually happens because the time on your device generating the code is out of sync with Microsoft's servers. Ensure your mobile device or computer is set to update its time and time zone automatically.

What should I do if I changed my phone and lost my authenticator app?

If it is a personal account, you must use a backup verification method (like an alternate email or SMS) to log in, then update your authenticator settings. For a work or school account, you must contact your IT administrator to reset your MFA settings so you can register the new phone.

Can I bypass the Microsoft authentication code?

You cannot entirely bypass MFA if it is mandated by your organization or if you enabled two-step verification. However, you can click 'Sign in another way' on the login screen to choose an alternative method you previously set up, such as a text message or email code.