Sending, receiving, and organizing email in Outlook.com
Hello, I’m Virginia.
That is a regular problem on the forum, many have had to use either incognito mode &/or a non-Chrome based browser like Firefox in order to send the code.
If this doesn’t work they you’ll need to use the backup code shown during 2 factor authentication set-up.