Use the Yubico Authenticator for Desktop on your Windows, Mac, or Linux computers to generate OATH credentials on your YubiKeys.
Step 4: Log into Microsoft. When you get to the authentication option, you should copy the code from the authenticator and paste or type it in.