Can't log in to Azure Portal

隆 河合 45 Reputation points
2025-03-02T10:06:40.83+00:00

When logging in to the Azure Portal, an 8-digit verification code is sent to the Authenticator on my smartphone, but the code required to be entered on the login screen is 6 digits, and an error occurs when verifying. I scanned the barcode and registered it in Authenticator, but then deleted that account. I want to scan the side barcode, but it no longer appears on the login screen.

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

Accepted answer
  1. Raja Pothuraju 23,465 Reputation points Microsoft External Staff Moderator
    2025-03-05T09:00:28.4433333+00:00

    Hello @隆 河合,

    Thank you for sharing details over private message.

    The issue relates to a tenant lockout situation where no other global admin in the tenant has the necessary admin rights to re-register MFA.

    To resolve this, we engaged our Data Protection team through a support ticket. Please connect with our support team via the ticket, and they will assist you in resolving the issue.

    I hope this information is helpful. Please feel free to reach out if you have any further questions.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. 隆 河合 45 Reputation points
    2025-03-18T14:24:40.47+00:00

    Thanks to Microsoft's support, I was able to log in. However, if my smartphone breaks or gets lost, the same problem may occur again. Is there any preventive measure to avoid login issues in the future?

    1 person found this answer helpful.

  2. Konrad 'Sagus' Sagala 81 Reputation points MVP
    2025-03-02T10:45:06.7533333+00:00

    Are you a global administrator or standard user? Standard user can ask administrator to reset MFA settings than user can configure an Authenticator once again. You can also try to access your account information https://mysignins.microsoft.com/security-info and add authentication method.


  3. Bandela Siri Chandana 3,055 Reputation points Microsoft External Staff Moderator
    2025-03-04T07:00:11.91+00:00

    Hi @隆 河合
    Thank you for posting your issue on Microsoft Q&A.

    I understand that you are receiving eight-digit authenticator code when trying to sign into personal account.

    Even though it’s an 8-digit code. In Microsoft accounts we get 6-digit code in authenticator app while in personal accounts we get 8-digit code.

    Try to Re-register MFA. As you are global administrator you can Re-register MFA for user.

    When you sign in again, you will be prompted to set up your MFA. Follow the prompts to add the Microsoft Authenticator app again and sign in account you will receive code.

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

    If this answers your query, do click `Accept Answer` and `Yes`.

    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.