MFA & Verification Issues

Fix Microsoft Authenticator Showing 8-Digit Code Instead of 6

Elise WilliamsElise Williams Nov 3, 2026 870 views

Question details

The user is unable to log in because their authenticator app is generating an 8-digit code for a sign-in service that only accepts 6 digits.

How to Fix Microsoft Authenticator Showing an 8-Digit Code Instead of 6
Product
Microsoft Authenticator
Device & OS
not provided
Scenario
Attempting to log into an account using multi-factor authentication after migrating or upgrading to a new mobile phone.
Observed behavior
Microsoft Authenticator displays an 8-digit verification code instead of the required 6-digit code, causing authentication failure.
Before you start

Ensure you have access to a backup authentication method, such as a secondary email address or SMS text messaging, before attempting to reconfigure your authenticator app.

Solution 1Recommended

Remove and Re-register Your Authenticator Account

The most reliable way to fix code length mismatches caused by incomplete cloud backups is to completely remove and re-add the account.

When transferring Microsoft Authenticator to a new phone via backup, work and school accounts often require re-verification. If not properly restored, the app may default to a different token standard, resulting in an 8-digit code instead of the required 6-digit one.

1
Remove the broken account

Open the Microsoft Authenticator app on your new phone, tap on the account showing the 8-digit code, tap the gear icon or menu in the top right, and select 'Remove account'.

2
Access your security settings

On a computer, navigate to your organization's security info page (e.g., mysignins.microsoft.com) and log in using an alternative method like SMS verification.

3
Delete the old device record

Locate the old Microsoft Authenticator entry in your list of sign-in methods and click 'Delete' to prevent conflicts.

4
Add a new method

Click 'Add sign-in method', choose 'Authenticator app', and follow the prompts to scan the new QR code with your phone.

Remove and Re-register Your Authenticator Account
Alternative Login Methods: If you are stuck at the login screen, look for a link that says 'Sign in another way' or 'I can't use my Microsoft Authenticator app right now' to use SMS or email verification instead.
Free Microsoft Office alternative

Switch to WPS Office for a Hassle-Free Experience

If you are frequently frustrated by complex Microsoft 365 login requirements, multi-factor authentication lockouts, and sync issues, WPS Office offers a powerful, local-first alternative. Enjoy a familiar interface and seamless offline editing without constant sign-in hurdles.

  1. 1. Download the software: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
  3. 3. Start editing instantly: Open WPS Office and start viewing, editing, or creating your documents immediately without dealing with complex account verifications.
Highly compatible with Microsoft Word, Excel, and PowerPoint file formats.Lightweight installation with no mandatory cloud logins for basic local editing.Free to use with a familiar, user-friendly interface that requires zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my Microsoft Authenticator showing 8 digits instead of 6?

An 8-digit code usually appears when an account is incorrectly restored from a cloud backup after migrating to a new phone, or if the app misidentifies a work/school account as a personal account which uses different security protocols.

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

No, the code length (6 or 8 digits) is determined by the server-side configuration of the account you are trying to access. It cannot be manually toggled in the app settings.

What should I do if I am completely locked out and have no backup method?

If you do not have an alternative sign-in method like an SMS number or secondary email linked to your account, you must contact your organization's IT administrator. They have the necessary tools to revoke your old sessions and allow you to register a new device.