Azure wants 6 digits code but Authenticator generates 8 digits

Jacob Baek 25 Reputation points Microsoft Employee
2026-01-06T01:34:28.4466667+00:00

I have a same issue with https://learn.microsoft.com/en-us/answers/questions/2237947/azure-wants-6-digits-code-but-authenticator-genera?source=docs

I can't login Azure portal even if i can login everywhere else like outlook.

When i access Azure portal, it asked for a 6 digit code.

My Microsoft Authenticator app generated 8 digit code.

so i couldn't use azure portal.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author
Shubham Sharma 17,930 Reputation points Microsoft External Staff Moderator
2026-01-13T04:51:19.7833333+00:00

Hello Jacob Baek

The issue pertains to a tenant lockout, where no other global admin in the tenant has the necessary permissions to re-register MFA.

To resolve this, we have engaged our Data Protection team through a support ticket. They will reach out to you via email or phone to help restore access to the tenant and assist in resolving the issue.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most 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.