How to Resolve Microsoft Authenticator 'Invalid Code' or 'Verification Failed' Errors on Your Phone
Summary
This guide helps you troubleshoot and resolve: How to Resolve Microsoft Authenticator 'Invalid Code' or 'Verification Failed' Errors on Your Phone. Follow the steps below to fix the issue.
Common Causes
Microsoft Authenticator adds an extra layer of security to your Microsoft 365 account by generating time-based verification codes. Occasionally, you may see an “Invalid Code” or “Verification Failed” message when signing in. This usually happens because of time synchronisation issues, app glitches, or outdated settings. Follow the steps below to resolve the problem quickly.
Quick Fix Steps
- Restart your smartphone.
- Ensure your phone is connected to Wi-Fi or mobile data.
- Open Microsoft Authenticator and generate a fresh code.
- Enter the code immediately before it expires.
Detailed Instructions
1. Check Your Phone’s Date and Time Settings
Authenticator codes rely on your device’s internal clock. If the time is out by even a few seconds, codes will be rejected.
- Android: Open Settings, then go to System > Date & time. Enable Set time automatically and Set time zone automatically.
- iPhone: Open Settings, then go to General > Date & Time. Enable Set Automatically.
2. Check for Microsoft Authenticator App Updates
An outdated version of the Microsoft Authenticator app can cause verification failures. Ensure you are running the latest version.
- Android: Open the Google Play Store, tap your profile icon, select Manage apps & device, and check for updates to Microsoft Authenticator.
- iPhone: Open the App Store, tap your profile icon, scroll down to see pending updates, and update Microsoft Authenticator if listed.
3. Force Close and Reopen Microsoft Authenticator
If the app is frozen or not refreshing codes, restart it.
- Android: Swipe up from the bottom of the screen (or press the recent apps button), then swipe the Microsoft Authenticator card away to close it. Reopen the app from your home screen.
- iPhone: Swipe up from the bottom of the screen and pause in the middle, then swipe up on the Microsoft Authenticator preview to close it. Tap the app icon to reopen.
4. Generate a New Code
- Open Microsoft Authenticator.
- Tap your work or school account.
- Copy the six-digit code shown.
- Enter it on the Microsoft sign-in screen immediately. Codes refresh every 30 seconds.
5. Check Your Internet Connection
Microsoft Authenticator needs an active connection to sync with Microsoft servers.
- Connect to a stable Wi-Fi network or enable mobile data.
- Turn Airplane mode off and on again to refresh your connection.
6. Remove and Re-add Your Account
If the issue continues, re-adding your account often fixes synchronisation errors.
- Open Microsoft Authenticator.
- Tap your account tile, then select Remove account.
- On a computer, go to https://account.microsoft.com/security and sign in.
- Under Advanced security options, choose Add a new way to sign in or verify > Use an app.
- Follow the prompts to scan the QR code with Microsoft Authenticator on your phone.
7. If You Have a New Phone and Did Not Transfer Accounts
Microsoft Authenticator does not automatically transfer account credentials to a new device unless you use the built-in backup and restore feature. If you got a new phone and did not transfer your accounts, the app will not generate valid codes.
- If you previously enabled cloud backup in Microsoft Authenticator on your old phone, install the app on your new phone, sign in with the same Microsoft account, and restore your accounts from the backup.
- If you did not back up your accounts, you must recover access through your Microsoft account security settings. Sign in to https://account.microsoft.com/security using an alternative verification method, remove the old authenticator method, and set up Microsoft Authenticator on your new phone.
- If you have no alternative sign-in method available, Open a Ticket with 220 Internet Services before attempting any changes.
Troubleshooting
Code Still Shows as Invalid
- Ensure you are entering the code for the correct account if you have multiple accounts in the app.
- Check that you are not copying an old code from a previous sign-in attempt.
- Confirm your phone’s time is set to automatic, as described above.
Cannot Receive Push Notifications
- Open Settings on your phone and check that notifications are enabled for Microsoft Authenticator.
- Ensure Do Not Disturb or Focus mode is not blocking notifications.
Still Unable to Sign In
If none of the steps above work, you can manage your sign-in methods through your Microsoft account security page, or Open a Ticket with 220 Internet Services for further assistance.
Related: Setting up Microsoft Authenticator
Still Having Issues?
đź’» Open a Ticket