Fix Microsoft Authenticator Generating 8-Digit Codes Instead of 6-Digit Codes
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.
Ensure you have access to your school or organization's official MFA enrollment instructions and a stable internet connection on your new phone.
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.
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').
Open the Microsoft Authenticator app, tap on your school account, and select the option to remove or delete the account from the app.
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.
Contact IT Support or Microsoft Q&A
If local troubleshooting fails, the issue is tied to the organization's backend Azure Active Directory configuration and requires external support.
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. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the software: Run the downloaded installation file and follow the simple on-screen instructions to set up the suite.
- 3. Start working immediately: Open WPS Office and instantly create or edit your existing Microsoft Office files without worrying about verification codes.

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.




