Skip to content
Solar Account.
Education & Software

Microsoft Authenticator Not Showing Code: Complete Troubleshooting Guide

If your Microsoft Authenticator app is not showing a code, the issue usually stems from a time synchronization error, disabled notifications, or a mismatch in the selected verification method. Resolving this typically requires syncing the app’s internal clock,...

Microsoft Authenticator Not Showing Code: Complete Troubleshooting Guide

If your Microsoft Authenticator app is not showing a code, the issue usually stems from a time synchronization error, disabled notifications, or a mismatch in the selected verification method. Resolving this typically requires syncing the app’s internal clock, checking background data permissions, or re-registering the specific account within the application interface.

Contents

Understanding Why Microsoft Authenticator Fails to Display Codes

To troubleshoot effectively in 2026, it is vital to distinguish between the two primary ways Microsoft Authenticator verifies your identity. The app serves both as a "Push Notification" target and a "Time-based One-Time Password" (TOTP) generator. When a user reports that the app is "not showing a code," they are often experiencing one of two distinct problems: either the 6-digit rolling code is missing from the account entry, or the expected push notification with a "number match" prompt never arrives.

The 6-digit TOTP code is generated locally on your device. It does not require an internet connection to appear, but it is strictly dependent on the device’s system time. If your phone’s clock is off by even thirty seconds, the code generated will not match the code expected by the Microsoft server, leading to authentication failures. Conversely, push notifications—where you approve a login by tapping a button or entering a displayed number—rely entirely on a stable data connection and the app's ability to run in the background. Understanding this distinction is the first step in identifying whether your problem is a local sync issue or a connectivity and permission hurdle.

Verifying Account Configuration and Verification Methods

One of the most frequent reasons a code does not appear is that the account has been set up for "Passwordless" or "Push" notifications only. In these instances, the app acts as a gateway rather than a code generator. If you open the app and see your email address but no digits underneath it, you may need to tap the account to reveal the "One-time password code" section.

Authenticator App not showing the code - Microsoft Q&A

In 2026, Microsoft has moved further toward a passwordless ecosystem. This means that by default, many enterprise and personal accounts prioritize "Phone Sign-in." If this is enabled, the app expects you to respond to a notification rather than typing in a code. To check if your account is configured correctly:

  1. Open the Microsoft Authenticator app.
  2. Tap on the specific account that is causing issues.
  3. Look for a section titled One-time password code. If it says "Action required" or "Set up two-step verification," the account is not currently configured to show a 6-digit code.
  4. If you see the email address but no code, verify if you are looking at the main screen. Sometimes, users must tap into the account details to see the rotating digits.

Correcting Time Synchronization Issues

Time synchronization is the most common technical culprit for TOTP code failures. Because the 6-digit code changes every 30 seconds, both your smartphone and Microsoft’s authentication servers must be in perfect alignment. If your phone's time is set manually or has drifted, the code you see will be "expired" by the time you type it in, or the app might fail to render it correctly.

For Android users, Microsoft Authenticator includes a built-in feature to sync time. You can find this by going to the app's Settings and selecting Time sync. Tapping "Sync now" ensures the app’s internal clock matches the official time servers.

For iOS users, Apple does not allow individual apps to override system time settings. Therefore, you must ensure your iPhone is set to update time automatically. Navigate to Settings > General > Date & Time and ensure "Set Automatically" is toggled on. If it is already on, try toggling it off and back on to force a refresh with the network provider. Even a discrepancy of a few seconds can render the Authenticator app useless for 2FA purposes.

Troubleshooting Push Notifications and Background Data

If your issue is that the "Code" or "Approve" prompt never reaches your phone, the problem likely lies within your device's notification management or battery saving features. Modern operating systems in 2026 are aggressive about "hibernating" apps to save battery life, which can prevent Microsoft Authenticator from "waking up" to show you a login request.

Notification Permissions

Ensure that Microsoft Authenticator has full permission to send alerts. On both Android and iOS, go to the system Settings, find Apps or Notifications, locate Authenticator, and ensure that all notification types (Banners, Sounds, and Badges) are enabled. If "Quiet Mode" or "Do Not Disturb" is active, the notification may be silenced or hidden in the pull-down tray, leading you to believe no code or prompt was sent.

Battery Optimization

Battery optimization is a frequent silent killer for authentication apps. On Android, you should set Microsoft Authenticator to "Don't Optimize" or "Unrestricted" in the battery settings. This ensures the app can maintain a "heartbeat" connection to the Microsoft Push Notification Service (MPNS). On iOS, check that Background App Refresh is enabled specifically for the Authenticator app. If the app is prevented from running in the background, it cannot receive the signal that you are trying to log in.

Repairing and Re-registering the Account

If time sync and notifications are correct, but the code still fails to appear or work, the account's internal "handshake" with the app might be corrupted. This can happen after a major OS update, a restore from a cloud backup, or a change in security policies by your organization’s IT department.

Microsoft Authenticator offers a "Repair" function for certain account types. By tapping into the account and selecting the settings icon (gear), you may see an option to Repair Account. This refreshes the security tokens without requiring you to delete the account entirely.

If "Repair" is not available or does not work, you must perform a clean re-registration:

  1. Log in to your Microsoft Security Dashboard (https://mysignins.microsoft.com/security-info) using a different method, such as a backup email or SMS code.
  2. Remove the existing "Microsoft Authenticator" entry from your security info.
  3. On your phone, delete the account from the Authenticator app.
  4. Choose Add Account in the app and scan the new QR code provided on your computer screen.

Comparison of Common Symptoms and Solutions

The following table summarizes the most likely causes based on the specific behavior you are observing in the app.

Symptom Primary Cause Recommended Action
No code appears under the account name Account set to "Push" only Tap the account to view the hidden TOTP code or check for notifications.
Code is visible but always rejected Time Synchronization drift Enable "Set Automatically" in OS settings or use "Time Sync" in the app.
No "Number Match" notification arrives Background Data restricted Disable Battery Optimization for the app; enable Background App Refresh.
App says "Action Required" Token expiration/Security change Tap the message and follow prompts to re-authenticate or "Repair Account."
Account disappeared entirely Failed Cloud Backup restore Manually re-add the account using the Microsoft Security Dashboard.

Advanced Connectivity Checks for Enterprise Users

For users in a corporate environment, the inability to see or use codes may be due to restrictive network environments. Microsoft Authenticator requires specific ports and URLs to be accessible to communicate with the Azure Active Directory (now Microsoft Entra ID) services.

If you are on a corporate Wi-Fi or using a VPN, the connection to the Microsoft Push Notification Service might be blocked. Try switching to cellular data to see if the code or notification suddenly appears. If it does, your IT department may need to whitelist the following endpoints:

  • *.notify.windows.com
  • *.microsoft.com
  • Specific ports like TCP 443 and 5223 for Apple devices or 5228-5230 for Android.

FAQ

Why does my Microsoft Authenticator code change every 30 seconds?

The app uses a protocol called TOTP (Time-based One-Time Password). It combines a secret key (exchanged when you first scanned the QR code) with the current time to generate a unique code. Because the time component changes every 30 seconds, the code changes as well, ensuring that even if a hacker steals one code, it becomes useless almost immediately.

Can I get a code if my phone is offline?

Yes, the 6-digit verification codes do not require an internet connection. As long as your phone's internal clock is accurate, the app can calculate the current code using the stored secret key. However, "Push Notifications" and "Number Matching" prompts do require an active internet connection (Wi-Fi or cellular data).

What should I do if I lost my phone and don't have the codes?

If you enabled "Cloud Backup" in the Authenticator settings previously, you can recover your accounts on a new device using your recovery account (usually a personal Microsoft account). If you did not have a backup, you must use an alternative verification method (like SMS or an email) to log in to your account's security settings and register your new device.

Does the "Approve" button replace the need for a code?

In many cases, yes. Microsoft is moving toward "Passwordless" authentication where you simply tap a button or match a number on your screen. When this is active, the app may not display a 6-digit code by default because it is waiting for you to interact with the notification instead.

Why is the app asking for my phone's PIN or Biometrics?

This is a security feature called "App Lock." It ensures that even if someone steals your unlocked phone, they cannot access your 2FA codes. You must successfully pass your device's biometric or PIN challenge for the app to reveal the codes or allow you to approve a login.

Ensuring Long-Term Access and Recovery

To avoid being locked out in the future, it is essential to treat Microsoft Authenticator as a critical piece of infrastructure. The most important step you can take today is to enable Cloud Backup within the app settings. On iOS, this backs up your account credentials to iCloud; on Android, it uses a personal Microsoft account and OneDrive.

Without a backup, if your phone is lost, damaged, or the app data is cleared, you may lose access to all accounts associated with the app. Additionally, always download and store "Recovery Codes" or "Backup Codes" provided by services like Microsoft, Google, or your employer. These one-time-use codes are your final safety net if the Authenticator app fails to show a code when you need it most.

Written by

Elizabeth Ward

Real Estate & Housing Analyst