Microsoft Verification Code Has Seven Digits: Check the Code and Phone Number
Question details
The user needs to check an unexpected seven-digit Microsoft verification code and update the phone number used for two-step verification.

- Product
- Microsoft account verification and Microsoft Entra work or school account
- Device & OS
- not provided
- Scenario
- The user is verifying an account and may need to change the registered phone number.
- Observed behavior
- The received code has seven digits, although the user expects a six-digit code.
Identify whether you are signing in with a personal Microsoft account or a work or school account, and check which verification method the sign-in page requests. Do not share the code, and remove it and other private information from any screenshot.
Check the verification request and code source
Use this approach when a code has an unexpected number of digits or does not match the sign-in prompt.
Code length can vary by verification method. Do not remove a digit or assume that a message is legitimate solely because it mentions Microsoft.
Return to the Microsoft sign-in page and check whether it asks for a text message code, an authenticator app code, or another verification method.
Open the message or authenticator app and confirm that the code relates to the current sign-in request. Do not use a code from an unexpected request or follow suspicious links.
On the sign-in page, select the option to resend the code or use another verification method, if available. Enter the new code exactly as provided.
For a work or school account, contact your organization's IT administrator if the code still does not match the prompt. If sharing a screenshot, redact the code, phone number, email address, and other private details.

Update the verification phone number for a work or school account
Use the account's security information page to change the phone number used for verification.
Use WPS Office for Everyday Document Work
WPS Office is a free, lightweight alternative with a familiar interface for working on documents, spreadsheets, and presentations. Its Microsoft Office format compatibility helps you move existing files into WPS. It does not change or repair Microsoft account verification settings.

Frequently Asked Questions
Should I remove a digit from a seven-digit verification code?
No. Check which verification method the sign-in page requests and enter a matching code exactly as provided. If it is rejected, request a new code or choose another available method.
Where can I change my work account's verification phone number?
Sign in at https://mysignins.microsoft.com/security-info, find the phone method, and select Change. Your organization may control which methods you can update.
What if I no longer have access to my old phone?
On the sign-in page, choose another verification method if one is available. If you cannot sign in to a work or school account, contact your IT administrator for help.
Can I send a screenshot of the verification message for support?
Yes, but first remove the verification code, phone number, email address, and any other private information. Never share an active code with support staff or anyone else.




