Phishing-Resistant MFA with Hardware Keys
Text messages, email one-time codes and authenticator push approvals are much better than a password alone, but Microsoft says they're still open to remote phishing. An attacker can steal or relay the code or approval without ever touching the user's device (Phishing-resistant authentication methods (opens in a new tab)). Passkeys (FIDO2) close that gap. They use origin-bound public-key cryptography, so the credential only works on the site it was registered for and can't be replayed to a fake one (Passkeys (FIDO2) in Microsoft Entra ID (opens in a new tab)).
A FIDO2 security key is a device-bound passkey on a physical authenticator, and the private key never leaves the key (Register a passkey with a security key (opens in a new tab)). For admins and highly regulated users, Microsoft recommends a FIDO2 security key as the first portable credential, with passkeys in Microsoft Authenticator or smart cards as alternatives (Bootstrap a portable credential (opens in a new tab)). This guide covers that rollout: one passkey profile for keys, registration, then Conditional Access enforcement.
Use it when: you're protecting admin roles, break-glass accounts or other high-value users, or anyone who can't or won't use a phone for sign-in. For most other users, see Roll out passkeys in Microsoft Authenticator and FIDO2 security keys vs Microsoft Authenticator.
Before you start
- License: passkeys (FIDO2) are available in every Microsoft Entra ID edition, including Free (Enable passkeys (FIDO2) (opens in a new tab)). Enforcing them with Conditional Access needs Microsoft Entra ID P1 (Authentication strengths prerequisites (opens in a new tab)).
- Roles: at least Authentication Policy Administrator for the Passkey (FIDO2) policy and passkey profiles (Enable passkey profiles (opens in a new tab)), Authentication Administrator to manage users' methods (Required roles (opens in a new tab)), and at least Conditional Access Administrator for the policy (Create a Conditional Access policy (opens in a new tab)).
- Keys: if you plan to enforce attestation, pick models that meet Microsoft Entra ID's attestation requirements (FIDO2 security key vendors (opens in a new tab)). Each model has an AAGUID that identifies its make and model (AAGUID (opens in a new tab)).
- Platforms: check the passkey (FIDO2) support matrix before you hand keys out. For example, Apple doesn't support NFC or Bluetooth security keys on macOS, and some PowerShell modules that use Internet Explorer for sign-in don't prompt for FIDO2 (Passkey (FIDO2) authentication matrix (opens in a new tab)).
- Registration: users have to complete MFA within the past five minutes before they can register a passkey (Passkey profile prerequisites (opens in a new tab)). Give new or unregistered users a Temporary Access Pass, which Microsoft documents for registering passwordless methods and for recovery after a lost method (Temporary Access Pass (opens in a new tab)).
- Policy home: passkeys live in the Authentication methods policy. If you still use the legacy MFA and SSPR settings, see Move off per-user MFA and the legacy policies first.
Step by step
- Put the target users in a group. Microsoft recommends grouping users by persona (admins and highly regulated users vs everyone else), because each persona gets different credentials and policies (Determine your user personas (opens in a new tab)). Create a group such as Passkey - security keys for admins and high-value users.
- Opt in to passkey profiles. In the Microsoft Entra admin center, go to Entra ID > Authentication methods > Policies, select Passkey (FIDO2), and select the link in the banner. Your existing settings move into a Default passkey profile. Up to three profiles are supported, and you can't opt out afterward. On the Configure tab, set Allow self-service set up to Yes, or users can't register in Security info (Enable passkey profiles (opens in a new tab)).
- Create a security key profile. Select + Add passkey profile. Set Passkey types to Device-bound and Enforce attestation to Yes. Microsoft's own example for IT admins and executives uses exactly that: device-bound passkeys with attestation enforced (High-privileged accounts (opens in a new tab)). To allow only the key models you issue, turn on key restrictions with Allow and add their AAGUIDs (Create a new passkey profile (opens in a new tab)).
- Target the group. On Enable and Target, select Add target, choose your group and assign the new profile (Apply a passkey profile (opens in a new tab)).
- Register the keys. Users open Security info (opens in a new tab), sign in with MFA, select Add sign-in method > Passkey, then choose where to save it. Options vary by browser and OS, so use Use another device or More options to reach the security key option, then connect the key and provide its PIN or biometric (First-time registration (opens in a new tab)). If you'd rather register keys before you ship them, admins can provision them on users' behalf through Microsoft Graph. That's in preview and needs Authentication Administrator, or an app with
UserAuthenticationMethod.ReadWrite.All(Provision FIDO2 security keys (preview) (opens in a new tab)). - Optional: Windows sign-in with the key. Security keys can sign in to Windows on Microsoft Entra joined devices running Windows 10 version 1903 or later, and on Microsoft Entra hybrid joined devices running version 2004 or later. Hybrid joined devices also need FIDO2 enabled for on-premises resources. You can turn it on with Intune, a provisioning package or, for hybrid joined devices only, Group Policy (Security key sign-in to Windows (opens in a new tab)).
- Enforce it for admin roles, report-only first. Microsoft's template targets 14 roles, including Global, Privileged Role, Security, Conditional Access, Exchange, SharePoint and User Administrator. Go to Entra ID > Conditional Access > Policies > New policy. Include those Directory roles, exclude your break-glass accounts, target All resources, then under Grant select Require authentication strength > Phishing-resistant MFA strength. Save it in Report-only and turn it On once the results look right (Require phishing-resistant MFA for admins (opens in a new tab)). Microsoft warns that enabling this before admins register a method risks locking you out of the tenant (Caution (opens in a new tab)).
- Protect break-glass accounts with their own keys. Microsoft recommends passkeys (FIDO2) for emergency access accounts, or certificate-based authentication if you already run a PKI. Use a different method from your everyday admin accounts, exclude these accounts from Conditional Access policies that block or restrict sign-in, and store their credentials securely (Manage emergency access accounts (opens in a new tab)). See Break-glass accounts.
Report-first PowerShell
This script reads the Passkey (FIDO2) policy and its profiles, lists admins' registered methods, and shows the model, attestation and passkey type of each admin's FIDO2 credentials. It changes nothing.
- Scopes:
Policy.Read.AuthenticationMethod(Get fido2AuthenticationMethodConfiguration (opens in a new tab)),AuditLog.Read.All(List userRegistrationDetails (opens in a new tab)) andUserAuthMethod-Passkey.Read.All(List fido2AuthenticationMethods (opens in a new tab)). - Role: Global Reader is listed as supported for all three calls.
- License: the registration details report needs Microsoft Entra ID P1 or P2 (Permissions and licenses (opens in a new tab)).
# Read-only. Requires the Microsoft.Graph.Authentication and Microsoft.Graph.Reports modules.
Connect-MgGraph -Scopes "Policy.Read.AuthenticationMethod","AuditLog.Read.All","UserAuthMethod-Passkey.Read.All"
# 1. Passkey (FIDO2) policy state, targets and passkey profiles
$fido2 = Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/fido2"
"State: $($fido2.state) Self-service setup allowed: $($fido2.isSelfServiceRegistrationAllowed)"
$fido2.passkeyProfiles | ForEach-Object {
[pscustomobject]@{
Profile = $_.name
PasskeyTypes = $_.passkeyTypes
Attestation = $_.attestationEnforcement
KeyRestrict = $_.keyRestrictions.isEnforced
RestrictType = $_.keyRestrictions.enforcementType
AAGUIDs = ($_.keyRestrictions.aaGuids -join ", ")
}
} | Format-Table -AutoSize
$fido2.includeTargets | Select-Object id, targetType, @{n="Profiles";e={$_.allowedPasskeyProfiles -join ", "}} | Format-Table -AutoSize
# 2. Admins and what they have registered
$admins = Get-MgReportAuthenticationMethodUserRegistrationDetail -All | Where-Object { $_.IsAdmin }
$admins | Select-Object UserPrincipalName, IsMfaCapable, IsPasswordlessCapable,
@{n="Methods";e={$_.MethodsRegistered -join ", "}} | Sort-Object UserPrincipalName | Format-Table -AutoSize
# 3. Each admin's FIDO2 credentials: model, AAGUID, attestation, device-bound or synced
foreach ($a in $admins) {
$r = Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/users/$($a.Id)/authentication/fido2Methods"
foreach ($m in $r.value) {
[pscustomobject]@{
User = $a.UserPrincipalName
Name = $m.displayName
Model = $m.model
AAGUID = $m.aaGuid
Attestation = $m.attestationLevel
PasskeyType = $m.passkeyType
Created = $m.createdDateTime
}
}
}
passkeyType returns deviceBound or synced, and attestationLevel returns attested or notAttested (fido2AuthenticationMethod (opens in a new tab)). An admin with no rows in step 3 has no passkey yet, so don't enforce the policy on them.
Gotchas
- Attestation only applies at registration. Keys registered without attestation aren't blocked from sign-in if you turn Enforce attestation on later. If attestation is off, Microsoft Entra ID can't guarantee anything about a passkey, including whether it's synced or device-bound (Create a new passkey profile (opens in a new tab)). Turn attestation on before admins register.
- Removing an AAGUID cuts users off. Key restrictions apply at sign-in too. If you remove an AAGUID you previously allowed, users with that model can no longer sign in with it (Key restriction warning (opens in a new tab)).
- Exclusions win. A user scoped to several profiles is allowed if their passkey satisfies any one of them. A user in a group excluded from the Passkey (FIDO2) policy can't register or sign in with a passkey at all (Apply a passkey profile (opens in a new tab)).
- Synced passkeys are a different posture. iCloud Keychain and Google Password Manager passkeys don't support attestation. Microsoft says to treat them as phishing-resistant, but with the same posture as other unattested authenticators. A profile with attestation enforced excludes them (Synced passkeys (opens in a new tab), Attestation (opens in a new tab)).
- Need one key model only for one app? Create a custom authentication strength, select Passkeys (FIDO2) > Advanced options and add the AAGUID. Users who try another key see "You can't get there from here" (Advanced options for passkeys (opens in a new tab)).
- Roles the policy can't see. Conditional Access applies only to built-in directory roles. It isn't enforced for administrative unit-scoped or custom roles (Create a Conditional Access policy (opens in a new tab)).
- External authentication methods don't work with authentication strengths. Use the plain Require multifactor authentication grant for anyone who relies on them (Warning (opens in a new tab)).
- Internal guest users can register passkeys in your tenant. External users, including B2B collaboration users in the resource tenant, can't (Guest users (opens in a new tab)). For partners, see Authentication strength for guests.
- A UPN change means the user deletes the old passkey in Security info and registers a new one (UPN changes (opens in a new tab)).
- Kiosks and shared PCs. Microsoft says users who share devices should use only Microsoft Entra passkey on Windows or portable credentials, such as a security key. Windows Hello for Business shouldn't be used on shared kiosk devices (Bootstrap local credentials (opens in a new tab)).
- Phishing-resistant isn't risk-free. ID Protection still raises detections such as anomalous token and attacker in the middle for passwordless users (Respond to risk (opens in a new tab)). See Risky users and sign-ins.
Check it worked
- The script shows your security key profile with
deviceBoundand attestationenabled, targeted at the right group, and every admin has at least oneattestedFIDO2 credential. - A pilot admin signs in to the Microsoft Entra admin center with the key. The sign-in log's Authentication details show the passkey, and the report-only policy shows Report-only: Success for that user (Report-only mode (opens in a new tab)). See Sign-in logs.
- After you switch the policy On, an admin who tries SMS or push is asked for a phishing-resistant method instead.
Roll back
Set the Conditional Access policy back to Report-only or Off. To pause registrations, remove the group from the profile on Enable and Target. To remove a lost or retired key, open the user's Authentication methods and delete the passkey (Delete a passkey (opens in a new tab)). The passkey profiles opt-in can't be undone.
Related on EntraReady: FIDO2 security keys vs Microsoft Authenticator, Roll out passkeys in Microsoft Authenticator, Temporary Access Pass, Break-glass accounts, PIM for admin roles, Too many Global Admins, Conditional Access baseline.
What changed
Compared with the live version (last reviewed Nov 18, 2026):
- Method naming and admin path updated. The live page says "Protection → Authentication methods → FIDO2 security key → Enable". The method is now Passkey (FIDO2), under Entra ID > Authentication methods > Policies, and it's configured through passkey profiles (Enable passkey profiles (opens in a new tab)).
- Added passkey profiles, with a device-bound, attestation-enforced profile for admins and optional AAGUID allow-lists (High-privileged accounts (opens in a new tab)).
- Added device-bound vs synced passkeys and how attestation separates them (Types of passkeys (opens in a new tab)).
- "Why phishing-resistant" is now sourced. The live page's claim that SMS and push are phishable now cites Microsoft's statement that SMS, email OTP and authenticator apps are prone to remote phishing (Phishing-resistant authentication methods (opens in a new tab)).
- Licensing added: passkeys work on every edition, and Conditional Access enforcement needs P1 (Enable passkeys (FIDO2) (opens in a new tab), Prerequisites (opens in a new tab)).
- Conditional Access step expanded into Microsoft's admin-roles template: the role list, the break-glass exclusion, report-only first, the lockout caution, and the built-in-roles-only limit (Require phishing-resistant MFA for admins (opens in a new tab)).
- Break-glass guidance corrected. The live "keep a key in a safe" line is replaced with Microsoft's guidance: a passkey or CBA, a different method from everyday admins, exclusion from blocking policies, and secure storage (Emergency access accounts (opens in a new tab)).
- Added registration steps, the five-minute MFA requirement, Temporary Access Pass onboarding and admin provisioning (preview) (Register with a security key (opens in a new tab), Prerequisites (opens in a new tab), Provisioning (opens in a new tab)).
- Added Windows security key sign-in requirements (Security key sign-in to Windows (opens in a new tab)).
- "Friction points" replaced with sourced gotchas: platform limits, shared devices, guests and UPN changes (Authentication matrix (opens in a new tab), Bootstrap local credentials (opens in a new tab), Known issues (opens in a new tab)).
- Added a read-only report script for the policy, profiles and admins' keys, with Graph scopes listed (Graph links above).
- Removed the security key brand example and the "buy keys" step. Key choice now points to Microsoft's attestation-eligible vendor list (FIDO2 security key vendors (opens in a new tab)).
- Removed "Start with admins and executives" as a bare claim. Microsoft's persona guidance now backs it (Plan rollout strategy (opens in a new tab)).
Is this still accurate?
Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.