logo
search
MFA & Verification Issues

Fix Microsoft Authenticator Generating 8-Digit Codes Instead of 6-Digit Codes

Maira MehtabMaira Mehtab Sep 22, 2026 869 views

Question details

The user's Microsoft Authenticator app is generating an 8-digit verification code, but their school sign-in system only accepts a 6-digit code, preventing them from logging in.

Product
Microsoft Authenticator
Device & OS
not provided
Scenario
Signing into a school or organization account after switching to a new mobile phone.
Observed behavior
The Microsoft Authenticator app displays an 8-digit code instead of the expected 6-digit code required by the school's authentication portal.
Before you start

Ensure you have access to your school or organization's official MFA enrollment instructions and a stable internet connection on your new phone.

Solution 1Recommended

Sync Device Time and Re-add the Account

Correcting your phone's time synchronization and setting up the account fresh usually resolves verification code format mismatches.

Authentication tokens rely heavily on accurate time settings and proper account provisioning. Changing phones often disrupts this synchronization.

1
Set time to automatic

Open your phone's Settings app, navigate to the Date & Time settings, and enable the option to set the time and date automatically (e.g., 'Set automatically' or 'Use network-provided time').

2
Remove the existing account

Open the Microsoft Authenticator app, tap on your school account, and select the option to remove or delete the account from the app.

3
Re-add the school account

Tap the '+' icon or 'Add account' in Microsoft Authenticator. Choose 'Work or school account' and follow the specific enrollment instructions provided by your school's IT department to scan the new QR code.

Administrator Intervention: If the app still generates an 8-digit code after re-adding the account, the code length is being strictly controlled by the organization's authentication settings. You must contact your school's IT administrator to reset your MFA configuration.
Free Microsoft Office alternative

Switch to WPS Office for a Hassle-Free Experience

While waiting for IT to resolve complex Microsoft account authentication and MFA issues, your productivity shouldn't stop. WPS Office provides a powerful, hassle-free alternative that doesn't require complicated organizational sign-ins for local editing, allowing you to continue your schoolwork smoothly.

  1. 1. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Install the software: Run the downloaded installation file and follow the simple on-screen instructions to set up the suite.
  3. 3. Start working immediately: Open WPS Office and instantly create or edit your existing Microsoft Office files without worrying about verification codes.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).No complex MFA or organization sign-in required to edit your local documents.Lightweight installation with a familiar, easy-to-navigate user interface.Completely free basic version combining documents, spreadsheets, presentations, and PDFs.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Microsoft Authenticator show 8 digits instead of 6?

This typically happens if the account was misconfigured during setup or if the organization's Azure Active Directory security defaults recently changed. It is common after switching devices if the account isn't properly migrated using the official enrollment process.

Can I manually change the verification code length in the Authenticator app?

No, the code length (whether 6 or 8 digits) is determined by the server-side configuration of the service you are trying to access. You cannot manually switch between code lengths within the app's settings.

Will changing my phone always affect my Microsoft Authenticator codes?

Yes, for security reasons, authentication tokens are bound to the specific hardware. When you get a new phone, you must remove the old device from your security settings and re-register the new phone to generate the correct, synchronized codes.