Microsoft Authenticator

Chuyên Minh 25 Reputation points
2024-12-01T08:18:29.34+00:00

Hello, I am currently experiencing issues with the Microsoft Authenticator app. When I try to log in to an application, it asks me to enter a security code generated by Microsoft Authenticator. Unfortunately, I have forgotten the security code, and I did not set up any backup methods. Is there any way to resolve this?

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
7,510 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,152 questions
{count} votes

Accepted answer
  1. Ankush Raj 245 Reputation points Microsoft Employee
    2024-12-04T10:25:09.2433333+00:00

    Hi Chuyên Minh

    I assume that you don't have any other users created in your Entra ID/directory that has the global admin rights.

    To resolve this issue,

    We will try to reset the MFA setup of your account using PowerShell in admin mode.

    Please follow the below steps for your account,

    1. open powershell in admin mode
    2. install the MSOnline module if u don't have already
    3. User's image
    4. import the msonline module and then connect to it User's image
      1. connect to your admin account through the pop up appeared
      2. now run the command to reset the mfa setup for this account,
      User's image below is the clear syntax, Set-MsolUser -UserPrincipalName "your-email@domain.com" -StrongAuthenticationMethods @()
    5. After executing the above command, your mfa setup will reset.
    6. now login into your account through browser by entering username and password.
    7. a prompt will appear to set up mfa methods to secure your account.
    8. at this point of time, set up your mfa using authenticator app in your phone as per the instructions provided.

    P.S - I've done the above repro for myself, and it's working perfectly as expected.

    If the answer is helpful, please click ACCEPT ANSWER and kindly upvote it so that other people who faces similar issue may get benefitted from it.

    If you have any further questions about this answer, please click Comment.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ankush Raj 245 Reputation points Microsoft Employee
    2024-12-02T08:44:34.5333333+00:00

    Hi,

    Thank you for the update.

    Since you no longer have access to the device with the Authenticator app and do not have any backup codes/methods, here are the steps to regain access:

    1. If this is a personal account: 2.If this is a work/school account:
      • Contact your organization’s IT administrator. They can reset your MFA settings and provide you with new instructions for setting up the Microsoft Authenticator app.

    Once your access is restored,

    Configure backup methods like an alternate email or phone number.

    Enable cloud backup in the Microsoft Authenticator app for future ease.

    If the answer is helpful, please click ACCEPT ANSWER and kindly upvote it so that other people who faces similar issue may get benefitted from it.

    If you have any further questions about this answer, please click Comment.

    Regards,

    Ankush


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.