Not able to login to azure portal

CL 20 Reputation points
2025-01-08T14:00:18.43+00:00

I'm not able to login the azure portal. It keep asking me to enter an authenticator code, which I have not set up before.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,896 questions
{count} votes

Accepted answer
  1. Harshitha Eligeti 1,295 Reputation points Microsoft Vendor
    2025-01-08T18:56:33.3633333+00:00

    Hi @CL
    Thank you for posting this on Microsoft Q&A.

    I understand, you are unable to access the Azure portal because it keeps prompting you to enter an authenticator code, which you haven't set up before.

    This issue may be caused by one of the following:

    1. You might be getting redirected to a different directory when trying to access Azure.
    2. Someone within your tenant may have enforced MFA using the authenticator app for all users.

    To resolve the issue, you can try logging in via the following URL by appending your tenant's name:

    https://portal.azure.com/<tenant_name>

    For example: https://portal.azure.com/contoso.onmicrosoft.com

    This should redirect you directly to your specific tenant.

    If the above solution doesn't resolve the issue, you may need to contact your account administrator to verify if MFA has been enabled for your account. They can revoke the current MFA registration and initiate a re-registration process through Microsoft Entra ID. During this process, you will be prompted for additional information, and you will be asked to register your account with an authenticator app.

    Here are some potential reasons why you might be prompted for MFA:

    • Users may be required to use the Microsoft Authenticator app due to a Registration Campaign. You can check whether the Authenticator app is enforced for all users by going to Microsoft Entra > Protection > Authentication methods > Registration campaign.
    • Enabling Security Defaults in your tenant can also trigger MFA prompts. For more details, please refer to the Security Defaults documentation.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    Best Regards,
    Harshitha Eligeti.


    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.