Locked out of Azure after uninstalling Microsoft Authenticator

Jugal Kishore 0 Reputation points
2026-05-20T04:59:03.2033333+00:00

I can log into my Microsoft account and view my 2FA settings. When I try to access the Azure portal, it asks for a code from the Microsoft Authenticator app. I uninstalled the app. Reinstalling it did not restore my codes.

I used to sign in through GitHub, which bypassed the Authenticator prompt. That no longer works. After authenticating with GitHub, Azure still asks for the 2FA code.

I have no backup codes saved and no other MFA method configured. How do I recover access?

Microsoft Security | Microsoft Authenticator
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-05-20T04:59:24.5433333+00:00

    Because there is no backup method or recovery code configured, access must be restored by having MFA reset from outside the locked account.

    Use the following options, in order:

    1. If there is another admin in the tenant
      Ask another Microsoft Entra / Azure / Microsoft 365 admin to reset MFA for the account:
      1. Sign in to the Azure portal as an admin who still has access.
      2. Go to Microsoft Entra IDUsers.
      3. Select the locked-out user account.
      4. Open Authentication methods.
      5. Select Require re-register multifactor authentication and save.
      6. Next time signing in, the account will be prompted to set up MFA again (and can add Microsoft Authenticator on the new device plus at least one backup method such as phone/SMS).
      This is the same pattern described in the Q&A and in the “five devices already registered” article, where an admin forces MFA re-registration so the user can re-enroll the app.
    2. If there is no other admin and this is not the only global admin
      If another global admin exists but is also locked out, that admin can have their MFA reset by a different admin using the same steps above, then they can reset MFA for the rest.
    3. If this account is the only global admin / tenant admin
      When there is no other administrator who can sign in and reset MFA, the situation becomes a tenant lockout. In that case, recovery requires Microsoft support (Data Protection / Tenant Recovery) to verify ownership and reset MFA from the backend. The documented pattern from similar cases is:
      • Open a support case through any remaining channel that does not require the locked account (for example, phone-based Microsoft support for the organization’s subscription, or another tenant/account if available).
      • Clearly state that this is a tenant lockout / only global admin locked out due to MFA and request escalation to the Data Protection team.
      • After ownership verification, the Data Protection engineer resets MFA for at least one admin account so that sign-in is possible again and additional methods can be added.
    4. After access is restored
      Once back in the account, immediately:
      • Add at least one additional MFA method (phone/SMS, alternate authenticator, hardware key, etc.).
      • If using passwordless or Authenticator, ensure another two-factor method is configured so that passwordless methods can be managed or removed if needed, as described in the guidance for deleting sign-in methods.

    There is no self-service way to bypass or disable MFA when the only configured method (Microsoft Authenticator on the old device) is unavailable and no backup methods or codes exist. Recovery must go through another admin or Microsoft support/Data Protection.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.