Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Dear @Geoff Pearson
If the sign-in page expects a 6-digit code but the app shows 8 digits, the account’s MFA configuration is out of sync. This often happens after device changes, account transfers, or when the account type (personal vs work/school) enforces a specific code length for security reasons
First of all, as a temporary workaround, look for options such as "Use another verification method", "Sign in another way", or "Send a text message" if they are available.
If not, according to my research, here are some steps I recommend you try:
Step 1: Remove and Re-add the Account
- Open Microsoft Authenticator on your phone > Remove the account that’s showing the 8-digit code > Go to https://account.microsoft.com and click Security (Security Info) > Additional security options > Choose Add a new way to sign in or verify > Select Use an app > Click Set up a different Authenticator app to get a QR code
- In the Authenticator app: Tap + > Other (Google, Facebook, etc.) and scan the QR code > This method typically sets up a 6-digit TOTP (Time-based One-Time Password) code.
Step 2: If the issue still persists and this is a work or school account managed by your organization, you will need to contact your IT administrator for assistance. Administrators can review your multifactor authentication (MFA) configuration, reset or remove existing authentication methods, revoke active authentication sessions, and help you re-register the Microsoft Authenticator app if necessary.
For more information and instructions, please ask the IT Admin to follow the Microsoft Official Guide here: Manage authentication methods for Microsoft Entra multifactor authentication - Microsoft Entra ID | Microsoft Learn
Note: If this account belongs to the Western Australia government department, please contact that department's IT support team, as Microsoft community members and support agents do not have access to your organization's authentication settings. For more information: How do I find my Microsoft 365 admin?
I hope the information shared is helpful. If you have any questions, please feel free to reach out. I'm looking forward to your update.
If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in the documentation to enable e-mail notifications if you want to receive the related email notification for this thread.