Receiving a verification code in a text message is a common verification method for two-step verification. If you didn’t expect to receive a code, or if you received a code on the wrong phone, use the following steps to fix this problem.

Note: If your organization doesn't allow you to receive a text message for verification, you'll need to select another method or contact your administrator for more help. 

If you received the code on the wrong phone

  1. Sign in to My Security Info to manage your security info.

  2. On the Security info page, select the phone number that you want to change in your list of registered authentication methods, and then select Change.

  3. Select your country or region for your new number, and then enter your mobile device phone number.

  4. Select Text me a code to receive text messages for verification, then select Next.

  5. Type the verification code from the text message sent from Microsoft when prompted, and then select Next.

  6. When notified that your phone was registered successfully, select Done.

If you receive a code unexpectedly

If you already registered your phone number for two-step verification

Receiving an unexpected text message could mean that someone knows your password and is attempting to take over your account. Change your password immediately and notify your organization's administrator about what happened.

If you never registered your phone number for two-step verification

You can reply to the text message with STOP in the body of the text message. This message prevents the provider from sending messages to your phone number in the future. You might need to reply to similar messages with different codes.

However, if you're already using two-step verification, sending this message prevents you from using this phone number to sign in. If you want to begin receiving text messages again, reply to the initial text message with START in the body.

Next steps

Get help with two-step verification

Set up a mobile phone as your two-step verification method

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!