Hello, thank you for reaching out to Microsoft Q&A.
Do you have any other Verification methods, such as an email address or an Authenticator, to verify your Identity?
If you're having trouble receiving the SMS verification code on your Phone number,
- Make sure your phone isn't blocking texts from Unknown numbers.
- Check your blocked sender lists to make sure you have not blocked the Microsoft phone number.
If you're still having trouble receiving the code, try connecting your device to a different Wi-Fi network or using a different device to reset your password.
If nothing worked, as a last option, you can use the Account recovery form to recover your account.
If you did not have 2FA active on the account, and the account was not deleted due to inactivity, you will need to try the Account Recovery Form: https://account.live.com/acsr
Remember to use a familiar device from which you've frequently accessed your Microsoft account, as well as a familiar location. Microsoft will review your responses and respond within 24 hours. If you are verified, instructions on how to log back into your account will be sent to you, and if you are not verified, you will need to submit the Account Recovery form again. You can do this up to 2 times every 24 hours.