Home › Knowledgebase › KB-753

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.

Quick Tip: Need immediate assistance? đź’» Open a Ticket

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

  1. Restart your smartphone.
  2. Ensure your phone is connected to Wi-Fi or mobile data.
  3. Open Microsoft Authenticator and generate a fresh code.
  4. 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.

  1. Android: Open Settings, then go to System > Date & time. Enable Set time automatically and Set time zone automatically.
  2. 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.

  1. Android: Open the Google Play Store, tap your profile icon, select Manage apps & device, and check for updates to Microsoft Authenticator.
  2. 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.

  1. 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.
  2. 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

  1. Open Microsoft Authenticator.
  2. Tap your work or school account.
  3. Copy the six-digit code shown.
  4. Enter it on the Microsoft sign-in screen immediately. Codes refresh every 30 seconds.
Do not wait until the last few seconds to enter the code. If the timer is almost finished, wait for the next code to generate.

5. Check Your Internet Connection

Microsoft Authenticator needs an active connection to sync with Microsoft servers.

Important: Before removing and re-adding your account, ensure you have an alternative sign-in method configured, such as a recovery email or phone number. If you do not have an alternative sign-in method, do not remove the account. Instead, Open a Ticket with 220 Internet Services for assistance. Removing your authenticator without a backup method may result in being locked out of your Microsoft 365 account.

6. Remove and Re-add Your Account

If the issue continues, re-adding your account often fixes synchronisation errors.

  1. Open Microsoft Authenticator.
  2. Tap your account tile, then select Remove account.
  3. On a computer, go to https://account.microsoft.com/security and sign in.
  4. Under Advanced security options, choose Add a new way to sign in or verify > Use an app.
  5. 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.

Troubleshooting

Code Still Shows as Invalid

Cannot Receive Push 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?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

đź’» Open a Ticket