Hello, thank you for reaching out to Microsoft Q&A.
Did you check whether your phone’s messaging settings are blocking texts from unknown numbers?
• Go to the Messages (SMS) settings on your mobile device and review the Blocked senders list. If the Microsoft number appears there, remove or unblock it.
• Next, switch your Wi‑Fi connection to a different network, such as a mobile hotspot, and try requesting the verification code again. Sometimes delivery issues can be tied to a specific network.
If that doesn’t work, try another verification method such as your backup email address or the Microsoft Authenticator app (if you added one previously).
If you are still unable to receive the verification code, submit the account reinstatement form to the Microsoft account Digital Safety team. They will review your responses and reinstate your account if possible.
On the form, select "I am not receiving the provided code" and complete all required details.
Account reinstatement form -
https://www.microsoft.com/digitalsafety/account-reinstatement
Let me know if you still need more help.