If the issue is with verification codes (SMS/email) not working or not being received, use the dedicated troubleshooting steps for verification codes: Start from the guidance under I can’t sign in to my Microsoft accountand follow the link for troubleshoot Microsoft account verification code issues.
