Unable to Log in to Azure Account Due to MFA Issues – Need to Reset MFA Without Portal Access

Atul Kamble 1 Reputation point
2025-03-08T09:45:56.84+00:00

I am unable to log in to my Azure account due to MFA verification issues. When entering the code from the Microsoft Authenticator app, I receive an error stating:

"You didn't enter the expected verification code. Please try again."

I tried signing in using the "Sign in another way" option and entering a verification code, but it also failed with the same error.

Since I am unable to access the Azure Portal, how can I remove or reset my MFA settings using the Azure Mobile App or Azure CLI, which are still working?Screenshot 2025-03-08 at 2.59.49 PM

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
728 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 38,155 Reputation points MVP
    2025-03-08T13:06:01.0033333+00:00

    Try PowerShell

    https://learn.microsoft.com/en-us/answers/questions/827895/please-suggest-a-command-to-reset-mfa


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

Your answer

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