Hi Yanis,
I’ve seen this happen a few times, and it’s usually not your phone — it’s often how Windows is sending the 2FA code. A few things to try that usually fix it:
- Check the method – Make sure you’re selecting the correct option for receiving the code (SMS vs. email vs. authenticator app). Sometimes it defaults to a different method you didn’t expect.
- Wait a few minutes – Occasionally there’s a small delay with Microsoft’s 2FA servers, even if your network is fine.
- Resend the code – There’s usually a “Send again” button; try that a couple of times.
- Try the Microsoft Authenticator app – If you have it set up, it often bypasses SMS completely and works instantly.
- Check blocked numbers – Some carriers or phones block short codes; make sure your phone isn’t filtering messages from unknown numbers.
If none of this works, the quickest fix is to use another verification method (like your recovery email or Authenticator app), or contact Microsoft Support — they can send a temporary code to get you back in without resetting everything.