Library

Guides Quick Fixes Scripts Find a Guide

Tools

Error Decoder Assessment Baselines Free Tools Service status What's Changed

More

AI Certifications For MSPs Recommended Gear Field Kit FAQ About Contact Get Assessment

Phishing-Resistant MFA with Hardware Keys

EntraReady Guides · Practical Microsoft 365 & Entra ID
Last reviewed:
Last verified against Microsoft Learn:

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

Step by step

  1. 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.
  2. 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)).
  3. 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)).
  4. 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)).
  5. 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)).
  6. 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)).
  7. 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)).
  8. 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.

# 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

Check it worked

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):

← All Guides

Is this still accurate?

Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.

Reports go to the EntraReady inbox. Please don’t include passwords or tenant secrets.