If you don’t have access to your phone number, you can get the Microsoft verification code sent to your alternate email. When setting up your account, you may have provided a secondary email address for such situations. During the verification process, select the option to send the code to your alternate email. Simply check your inbox, retrieve the code, and enter it on the verification page to continue
Visit here for more details: https://community.wd.com/t/how-to-get-microsoft-verification-code-without-phone-number/295899
Blog follow link: