The guide is useful, but a few parts need corrections before you follow them. Below are the Entra deadlines, a checked version of the procedure, and the places where the guide's claims or code go further than they should.
Why Entra admins should read a consumer guide
The urgency comes from Microsoft's own timeline. Microsoft Learn says that on September 1, 2026, users enabled for SMS or voice in the Entra Authentication Methods Policy, or in legacy MFA settings, were automatically enabled for passkeys. Microsoft-managed registration campaigns then prompt them to register a passkey after their next MFA sign-in. By default, users can snooze that prompt as often as they like, so September 1 was a nudge. It was not a deadline.
The deadlines come later:
| Date | What happens | Who is affected |
|---|---|---|
| Sept 1, 2026 | Passkeys auto-enabled, registration nudges begin | Users enabled for SMS/voice |
| Oct 30, 2026 | Telephony providers available through Microsoft Security Store | Tenants with a genuine need to keep SMS/voice |
| Feb 1, 2027 | Microsoft-provided telephony delivery for SMS and voice will be retired for all users except Global Administrators and external users | Most users, including internal guests |
| July 1, 2027 | Retirement for Global Administrators and external users | Global Admins, external users |
After the February date, users in scope whose only available MFA method is SMS or voice are required to register a passkey during sign-in to continue accessing their account. Microsoft describes that prompt as blocking. The Entra FAQ adds that if you haven't configured a telephony provider through Microsoft Security Store, users in scope of the February 1 retirement can no longer use SMS or voice for MFA.
Two details are easy to miss:
- Scope is limited. BleepingComputer reports that this retirement process applies only to Microsoft Entra ID workforce tenant authentication scenarios and not to Azure AD B2C or Microsoft Entra External ID customer identity scenarios.
- There is a temporary opt-out, not a permanent one. Microsoft offers a Graph-based opt-out from the automatic enablement until February 1, 2027. After that, the enforcement dates apply no matter what the setting says. BleepingComputer also notes that Microsoft retired SMS first-factor sign-in for Microsoft Entra ID Free tenants in August due to phishing, fraud, and account compromise risks.
Shattered's "roughly ten weeks" estimate is accurate when measured from late November to February 1. Global Admins have until July.
In short: SMS-only Entra users face a blocking passkey prompt after February 1, 2027. A YubiKey is one of several valid ways to meet it.
Hardware key or synced passkey?
The guide argues for hardware keys. Microsoft's guidance is more balanced, and admins should read both:
- Microsoft recommends FIDO2 security keys for highly regulated industries and for users with elevated privileges. It also warns that they raise costs for equipment, training and help desk support, especially when users lose keys.
- For most other users, Microsoft treats synced passkeys (iCloud Keychain, Google Password Manager) as a convenient, low-cost option. Its documentation says that whether device-bound or synced, passkeys are a major upgrade over phishable MFA.
A synced passkey can be recovered by recovering the cloud account that stores it. A passkey on a YubiKey cannot be backed up or moved; if the key is gone, so is that credential. That is why the guide insists on two keys. For admin accounts, the trade-off is worth it. For an entire sales team, synced passkeys may cause fewer help desk tickets.
Before you start
The guide's checklist:
- Two YubiKeys, ideally from the same family, with connectors that fit your laptop (USB-C or USB-A; NFC if you also want phone sign-ins)
- An up-to-date OS and browser. Google's passkey help page lists Windows 10 or later, macOS Ventura or later and ChromeOS 109 or later, with Chrome 109, Edge 109, Safari 16 or Firefox 122 as browser minimums.
- YubiKey Manager (
ykman), Yubico's command-line tool - A recovery method on each account, written down and tested before you change anything
- OpenSSH with security-key support, only if you want the hardware SSH step
Shattered quotes store prices and a Yubico Black Friday discount. Those change daily and were not independently verified, so check current pricing yourself.
Steps 1–3: Plan the roles, install ykman, set PINs
- Give each key a job. The primary is for daily use. The backup stays somewhere safe and is used regularly so you know it still works. Label them physically, because two identical black keys are easy to mix up.
- Install
ykmanand confirm it sees the key withykman listandykman info. On Linux, the most common failure is permissions. Yubico's documentation says FIDO commands use a USB HID interface that needs udev rules, and smart-card or NFC access needspcscdrunning. If one key is plugged in and nothing shows up, check those first. - Set a FIDO2 PIN on each key with
ykman fido access change-pin, then check it withykman fido info. Use a different PIN per key and store both in your password manager. Plug in one key at a time; with two connected, Yubico's tool expects--device SERIAL.
The guide's warning is right: too many wrong PIN entries lock the FIDO2 application, and the only fix is a reset that erases every passkey on that key. Do not guess PINs.
Step 4: Google
Google's help documentation confirms the hardware-key path. Go to your account's Passkeys and security keys page, choose Create a passkey, then Use another device. Insert the key and enter its PIN, or use the fingerprint sensor on a Bio model.
Quirks Google documents:
- Adding a passkey does not remove your existing sign-in or recovery methods.
- With 2-Step Verification on, a passkey sign-in skips the second step, because the key and PIN already prove two factors.
- A FIDO2 key added before May 2023 may need to be removed and re-added before Google will store a passkey on it. If the flow keeps looping, this is the likely cause.
- A new passkey may take up to seven days to work for sign-in. Enroll the backup key early, not the day you lose the primary.
- Google Workspace admins may not allow passkey-only sign-in. In that case the key still works as a second factor and recovery option.
Step 5: Microsoft personal and Entra work accounts
Personal Microsoft accounts (Outlook.com, Xbox): add a security key from the account's security settings and pick USB or NFC to match your key.
Entra ID work accounts depend on what your admin allows. The Passkey (FIDO2) method must be enabled in the tenant's authentication methods policy. Per the guide, you then register from Security info: add a sign-in method, choose Passkey, and pick Security key as the storage location.
Microsoft's documentation adds that admins can enforce attestation at the passkey-profile level. When attestation is on, only device-bound passkeys are accepted and synced passkeys are blocked. If a key works everywhere else but your tenant rejects it, the cause is usually a profile or model restriction, so ask your admin.
Step 6: GitHub
GitHub's documentation explains the difference the guide relies on. A passkey satisfies both the password and the 2FA requirement in one step. Because passkeys are bound to a domain, the browser will not use them on a lookalike phishing site.
The guide tells you to register each YubiKey both as a passkey and as a 2FA security key, saying the security-key registration is needed for sudo mode. GitHub's sudo-mode documentation lists passkeys and security keys as separate, independent options. A security key only works for sudo mode if you set it up for 2FA, and a passkey works on its own. Registering both is reasonable redundancy, but it is not required.
Also note:
- GitHub can upgrade an existing 2FA security key to a passkey from account settings.
- Passkeys do nothing for
git pushover HTTPS or for API calls. Those use personal access tokens or SSH keys. - Save your recovery codes offline.
Steps 7–8: Enroll the backup, then add hardware SSH
Step 7 repeats the Google, Microsoft and GitHub enrollments with the backup key, named so it is easy to recognize. ykman fido credentials list shows which passkeys are actually stored on each key. Second-factor-only registrations may not appear there.
Step 8 creates an SSH key whose private part never leaves the YubiKey:
ssh-keygen -t ed25519-sk -O resident -O verify-required -C "yubikey-primary" -f ~/.ssh/id_ed25519_sk_primary
According to the guide, resident stores the key handle on the YubiKey so you can retrieve it later with ssh-keygen -K, and verify-required asks for the PIN on every use. Repeat with the backup key and a different filename, then add both public keys to GitHub. If ssh-keygen says the key type is unsupported, your OpenSSH build lacks security-key support and needs updating.
Step 9: The keyaudit script and its limits
The idea is good. keyaudit.py keeps a JSON record of your keys, which accounts each one is enrolled on, and when each was last tested. It flags accounts with only one key, keys without a PIN, and keys untested for more than 90 days. It uses only Python's standard library and stores a truncated SHA-256 hash of each serial instead of the raw number.
Problems we found reading the published code:
- It only knows what you enter. It never checks Google, Microsoft or GitHub. An account you forgot to log does not show up at all, so "No gaps found" only covers the accounts in the file.
- Tests are recorded, not checked.
test backupjust writes a date. It does not confirm a sign-in worked. - The exit code covers less than the guide implies. Only HIGH findings return exit status 1. A key that was never tested or is past 90 days is only MED and leaves the exit status at zero, so the monthly cron alert will not fire for it.
- No device selection. A live scan runs
ykman infowithout--device, even though the guide says to use it when more than one key is connected. Scan one key at a time. - The retry-count warning is a hint, not proof. A count below eight is worth investigating, but it does not show anyone guessed your PIN.
- Hashed serials are still inventory data. The same serial always produces the same hash, so protect the registry file.
Treat it as a reminder list you keep up to date, not a security audit.
Steps 10–12: Test, drill, then remove the weak options
The rest of the guide is sound:
- Run the script's unit tests, then record your real keys.
- Run a recovery drill. Sign in to a low-stakes account using only the backup key, test one recovery path, and record the date. The guide suggests every 90 days; that is its recommendation, not a technical requirement.
- Only then remove SMS and other phishable options. Wait until both keys are enrolled everywhere and the backup has passed a recent test. Removing the fallback before the backup is proven is how people lock themselves out.
On Google, keep a recovery phone and recovery email. On GitHub, keep the recovery codes offline; an authenticator app as a documented fallback is optional. On Entra, make sure every user has a phishing-resistant method before their retirement date. Microsoft points admins to a PowerShell script for finding SMS and voice users, which requires Global Reader, Authentication Policy Administrator or Security Reader.
The post-quantum YubiKey can wait
Yubico's beta page confirms that its next-generation key opened to public beta on November 3, 2026, with ML-DSA (FIPS 204) for signatures, ML-KEM (FIPS 203) for key encapsulation, and a new secure element. Yubico calls it early access for testing and evaluation, aimed at developers and cryptography teams, not production use. We could not independently confirm the guide's mention of a November 19 Capital Markets Day. Either way, there is no retail date or price, so the YubiKey 5 Series remains the practical choice for now.
Bottom line
With Entra's SMS deadline set, this guide is a reasonable plan for individuals and small teams, with three corrections:
- Registering a passkey and a 2FA key on GitHub is optional redundancy, not a requirement.
- The keyaudit script is a reminder list, not an audit.
- Google may delay a new passkey by up to seven days, so set up the backup key early.
For Entra admins, the decision is whether everyone needs a hardware key, or whether privileged accounts get YubiKeys and other users get synced passkeys. Microsoft's own guidance supports the second approach.
References
- YubiKey Setup: 12 Steps, 60 Min for Google, GitHub - shattered.io shattered.io · 2026-11-23T08:22:15+00:00
- About passkeys - GitHub Docs docs.github.com
- Sudo mode - GitHub Docs docs.github.com