Hi
Welcome to Microsoft community.
The issue you are experiencing with Cant receive the verification code can be quite frustrating.
From your description, you have tried most of the methods, but the problem is still not solved. Then you can also try the following solutions.
1. Verify Contact Information: Double-check that the email address and phone number associated with your Microsoft account are correct. Ensure that you are using the correct phone number and email address for verification purposes.
2. Check Junk/Spam Folders: Sometimes, verification codes may end up in the junk or spam folder of your email account. Make sure to check these folders regularly.
3. Try Different Devices/Networks: If possible, try to request the verification code from a different device or network to ensure that the issue is not related to a specific device or internet connection.
4. Use Authenticator App: Instead of receiving verification codes via email or SMS, consider using the Microsoft Authenticator app for two-factor authentication. It provides a more secure and reliable way to receive verification codes.
If the problem is still unresolved. You can contact Microsoft Chat Support for more help.
Please feel free to let me know if you have any further updates, thanks.
Best regards
Derrick Qian | Microsoft Community Support Specialist