Hi,
Thank you for writing to Microsoft Community Forums.
I understand that you’re facing issues with resetting the password for Microsoft account. I will certainly try my best to assist you with the issue.
I would suggest you to refer the section I'm not getting my verification code. What do I do? from the article Microsoft account security info & verification codes and see if that helps.
In addition, you can get in touch with the Accounts & Billing team for further assistance with the issue.
Regards,
Prakhar Khare
Microsoft Community – Moderator