A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation
Microsoft Authenticator can show two different kinds of codes, which explains the difference:
- For Microsoft 365 / Entra ID sign-in with MFA
- The app is normally used with push notifications (tap Verify or Deny) or with a 6‑digit verification code labeled like “One-time password code”.
- When the website asks for a 6‑digit code, look in the Authenticator entry for that account for a line such as “One-time password code” showing exactly 6 digits and use that.
- For other accounts (TOTP / OATH)
- Authenticator can also store TOTP codes for other services (for example, Azure AD B2C or “Other account (Google, Facebook, etc.)”). Those are also time-based codes but may appear differently and can be used only for the service that generated the QR code.
If the app only shows an 8‑digit code and no 6‑digit “One-time password code” for the Microsoft account that is asking for 6 digits, the account is likely not enrolled correctly for that sign-in method. In that case, the MFA configuration for the account must be reset and re-enrolled so that the correct 6‑digit code (or push notification) is available for that specific Microsoft 365 / Entra ID account.
If access to the account is already lost and there is no working 6‑digit code or push notification for that Microsoft account, the only supported way to recover is to contact the appropriate Microsoft support channel (for example, via the Microsoft Data Protection team as described in the referenced Q&A threads) so they can reset MFA on the account after verifying identity.
References:
- Use Microsoft Authenticator with Microsoft 365
- Authentication methods in Microsoft Entra ID - Microsoft Authenticator app
- Enable multifactor authentication in Azure Active Directory B2C (b2c-custom-policy)
- Enable multifactor authentication in Azure Active Directory B2C (b2c-user-flow)
- Microsoft Authenticator app doesn't show 6-digit OTP code - Microsoft Q&A