Password-less Login with the YubiKey 5 Comes to Microsoft Accounts

We’ve done it! Together, with Microsoft, we’ve officially made it possible for hundreds of millions of Microsoft users around the world to log in without a password on their personal Microsoft accounts (MSA), with a YubiKey 5 or Security Key by Yubico.

With the latest update to Windows 10 (version 1809) and existing native support in Edge, all consumer Microsoft accounts now support password-less login via FIDO2/WebAuthn. Yes, no passwords.

With a Microsoft account and the YubiKey, you can quickly and securely log in (and automatically single-sign-on) to all of these Microsoft services on Edge:

That’s one login, zero passwords, and effortless access to your most loved Microsoft services. Let’s just take a moment for that to sink in.

Today’s announcement from Microsoft is a landmark in the history of authentication. The first driverless, one-touch authentication USB device was launched in 2008, in the form of the original one-time password (OTP) YubiKey. To improve protection against phishing and advanced attacks, and make it work with any number of services with no shared secrets, Yubico co-created U2F with Google, that was later contributed to the FIDO Alliance.

To remove the need for a username and long complicated passwords, we worked with Microsoft and the FIDO Alliance to evolve U2F into FIDO2 for password-less login.  We say thank you to everyone who has been part of making this a reality.

“Password-less sign-in is a transformational change to how business users and consumers access devices and applications. It combines industry-best ease of use and security to create an experience people are going to love and hackers are going to hate,” said Alex Simons, Corporate Vice President, Microsoft Identity Division. “FIDO2 is a key part of Microsoft’s push to eliminate passwords and devices like the YubiKey 5 are a great example of how we’re working with partners to make this transformation a reality.”

How To Register A YubiKey with Your Microsoft Account

To take advantage of this new, advanced security feature, you will need to simply register your FIDO2-enabled YubiKey 5 Series or Security Key by Yubico with your Microsoft account. This feature is available on any Windows PC with the Windows 10 version 1809 update and Microsoft Edge installed.

You have the option to do so either by USB-A or USB-C port (YubiKey 5 NFC, YubiKey 5 Nano, YubiKey 5C, YubiKey 5C Nano, Security Key by Yubico) or by NFC (near-field communication) wireless connection (YubiKey 5 NFC).

  1. To begin, launch Microsoft Edge on the latest Windows 10 update (version 1809) an visit Microsoft account page and sign in as you normally would and click on Security > More security options, select Set up a security key.
  2. Identify what type of YubiKey you have (USB or NFC) and select Next.
  3. You will be redirected to the setup experience where you will insert or tap your YubiKey 5 or Security Key. This action generates a unique public-private key pair between your YubiKey and your Microsoft account, and only the YubiKey stores the private key. It never leaves your device.The public key is stored with the Microsoft service to allow for verification of your authentication.
  4. You will then be prompted to set a unique PIN to protect your key. This PIN is stored locally on the YubiKey—not with Microsoft accounts.
  5. Take the follow-up action by touching YubiKey gold sensor.
  6. Name your security key so that you can distinguish it from other keys (we always recommend setting up an additional YubiKey for back up)
  7. Sign out and open Microsoft Edge, select use security key instead, and sign in by inserting or tapping your key and entering your PIN.

That’s it! You have successfully replaced your Microsoft account password with strong, hardware-based authentication using public key cryptography to protect against phishing and man-in-the-middle. For more details, visit yubico.com/go-password-less/microsoft and if you want to see more, check out our fun promo videos here and here!!!

Authenticating Beyond Your Microsoft Account

In addition to FIDO2, the YubiKey 5 series supports: FIDO U2F, PIV (smart card), OpenPGP, Yubico OTP, OATH-TOTP, OATH-HOTP, and challenge-response. This means the same device that you use to protect your Microsoft account can be used to protect your password manager, social media accounts, and your logins to hundreds of services. Check out the Works with YubiKey catalog to discover other services that support the YubiKey.

Talk to our teamTalk to our team

Share this article:


  • Introducing new features for Yubico Authenticator for iOSWe’re excited to share the new features now available for Yubico Authenticator for iOS in the latest app update on the App Store. Many of these improvements aim to address frequently requested features from our customers, while providing additional new functionalities for a seamless authentication experience on iOS.  With increased interest in going passwordless and […]Read moreiOSYubico Authenticator
  • Platform independent digital identity for all Many are understandably concerned that the great invention called the Internet, initially created by researchers for sharing information, has become a major threat to democracy, security and trust. The majority of these challenges are caused by stolen, misused or fake identities. To mitigate these risks, some claim that we have to choose between security, usability […]Read moreDigital IdentityEUDIFounderStina Ehrensvard
  • Q&A with Yubico’s CEO: Our move to the main Nasdaq market in StockholmAs 2024 draws to a close, it’s the perfect time to reflect on the incredible journey we’ve had this year and how it has shaped where we stand today as a company. To mark this moment, I sat down with our CEO, Mattias Danielsson, to look back on the milestones and achievements of 2024—culminating in […]Read moreCEOMattias Danielsson
  • Exploring DORA: A look at the next major EU mandateFinancial institutions have historically managed operational risk using capital allocation, but under EU Regulation 2022/2554 – also known as the Digital Operational Resilience Act (DORA) – the financial sector and associated entities in the European Economic Area (EEA) must also soon follow new rules. These new rules focus on the protection, detection, containment, and the […]Read moreDORAEU