How to Use a YubiKey with Your Microsoft Account on a Windows Device
After you set up passwordless login for your Microsoft account, you have the option to use a YubiKey for multifactor authentication.
Step 1: YubiKey Setup
- On your computer, open a new incognito/private browser window and navigate to https://mysignins.microsoft.com/security-info. If prompted to use Cardinal Key, cancel the prompt.
- Enter your username in the following format: <your SUNetID>@stanford.edu.
- Complete the sign-in process - the steps may vary depending on your previously configured authentication methods.
- You should be taken directly to the Security info page for your UAT account. At the top of the list of sign-in methods, you should be able to select + Add sign-in method.

- Choose the option for Security Key.

- Choose the option for USB device.

- Follow the prompts as they walk you through authenticating the YubiKey.

- Within the Windows Security prompt, choose the option for Security key and select Next.

- Verify that this request is coming from you and select OK.

- You will see a warning that our Microsoft tenant will store a copy of the security key. Select Ok to continue the set up.

- Insert the YubiKey when prompted.

- If you have a PIN, you will be asked to unlock the YubiKey. Enter your PIN and select OK.

- It will then ask you to physically touch your security key.

- Windows Security will confirm that the security key is set up for sign-ins to Microsoft.

- Give your security key a name that is easy to recognize.

- Microsoft will confirm the addition of your security key and you should see it in the list of sign-in methods.

Step 2: YubiKey login from a Windows device
- On your computer, open a new incognito/private browser session and go to https://outlook.office365.com. If your browser attempts to use Cardinal Key, cancel out of it.
- Enter your username as <your SUNetID>@stanford.edu.
- You’ll likely be prompted with the two digit code used in the Passwordess method. Choose Sign in another way.

- Select Face, fingerprint, PIN or security key.

- Select Security key.

- Insert and authenticate your YubiKey.

- After physically touching the YubiKey, you should be put directly into Outlook.
Last modified
