# MFA types and passkeys: why text message codes are on the way out

> MFA in short: something you know, have or are. Why SMS codes are being retired in Entra, and how passkeys stop phishing at the sign-in page.

- URL: https://iamops.dev/mfa-types-passkeys-explained/
- Language: en
- Author: Argo
- Published: 2026-11-24
- Category: Knowledge
- Depth: Explainer
- Audience: Security leaders and architects
- Time: 5 min
- Topics: MFA, Passkeys, WebAuthn, Authentication, Basics

## TL;DR

- [Multi-factor authentication](https://iamops.dev/mfa-types-passkeys-explained/#the-three-kinds-of-proof) combines proofs from different kinds: something you know, something you have, something you are.
- [short message service (SMS) and voice codes](https://iamops.dev/mfa-types-passkeys-explained/#why-a-text-message-code-is-weak) can be phished, forwarded or hijacked by a subscriber identity module (SIM) swap, so they are the weak end of multi-factor authentication (MFA).
- [Passkeys](https://iamops.dev/mfa-types-passkeys-explained/#how-a-passkey-works) use a key pair, and the browser only uses the key for the real site. A fake page gets nothing.
- Microsoft Entra identifier (ID) [retires its own SMS and voice delivery](https://iamops.dev/mfa-types-passkeys-explained/#microsofts-sms-retirement-dates) from 1 February 2027 for most users, and from 1 July 2027 for Global Administrators and external users.

**Audience: beginner.** For managers and newcomers who want to know why text-message codes are being retired and how passkeys help.

No identity background needed. This is the first stop for anyone who has been asked to "turn on <abbr title="multi-factor authentication">MFA</abbr>" and wants to know what that really means. The retirement dates come from Microsoft's documentation, and the passkey details from the W3C and Fast Identity Online (FIDO) sources listed at the end.

## The three kinds of proof

![Sequence diagram: a fake page relays an SMS code to the real site and the attacker gets in. A passkey is bound to the real site's name, so the fake page gets nothing.](https://iamops.dev/img/mfa-types-passkeys-explained.svg)

*The phishing flow. How an SMS code is relayed, and how a passkey refuses to be.*


A password proves one thing: you know a secret. Multi-factor authentication (MFA) asks for a second proof of a different kind, so that stealing one is not enough. The kinds are:

- Something you know: a password or a <abbr title="personal identification number">PIN</abbr>.
- Something you have: a phone, a hardware key, a laptop.
- Something you are: a fingerprint or a face.

Two passwords are not MFA. They are the same kind twice.

Think of a bank vault. The guard asks for your name (known), your key card (have) and looks at your face (are). A thief who copied your name still stands at the door.

## Why a text message code is weak

An SMS (short message service) code is "something you have", but only in theory. The code is a number you can read out loud, and that is the problem.

- A fake sign-in page can ask you for the code and pass it on to the real site within seconds.
- A criminal can convince a phone company to move your number to a new <abbr title="subscriber identity module">SIM</abbr> card (a SIM swap). The codes then go to them.
- Voice calls have the same limits as texts.

The better apps do not fix this either when they ask you to type a six-digit code from an authenticator app. You still type a secret into a page, and a fake page can still collect it. Push approvals that say "approve" are also open to tired users tapping yes.

## How a passkey works

A passkey replaces the password with a pair of cryptographic keys. The private key stays on your device. The public key is stored at the website. When you sign in, the site sends a random challenge, your device signs it after you approve it with a fingerprint, face or PIN, and the site checks the signature with the public key.

The part that matters for phishing: the browser ties the key to the real website name. A fake page on a different address cannot ask for the key, because the key does not match that name. There is no code for you to read out and nothing for you to hand over.

Think of a key that only turns in the lock of one particular door, and the key refuses to try any other door.

The web standard behind this is called <abbr title="Web Authentication">WebAuthn</abbr> (Web Authentication), from the World Wide Web Consortium (W3C), with the Fast Identity Online (FIDO) Alliance shaping the passkey experience. A passkey can live on one device or sync through a platform account such as iCloud Keychain or Google Password Manager. A hardware security key is the "stays on one device" kind.

## Microsoft's SMS retirement dates

Microsoft's documentation for Entra <abbr title="identifier">ID</abbr> (its cloud identity service) sets a clear timeline:

- 1 September 2026: passkeys become the default sign-in experience, and users enabled for SMS or voice are automatically enabled for passkeys.
- 1 February 2027: Microsoft-provided SMS and voice delivery is retired for all users except Global Administrators and external users.
- 1 July 2027: the same retirement for Global Administrators and external users.

After the retirement date, a user whose only MFA method is SMS or voice must register a passkey to keep signing in. Customers with a real need can set up a telephony provider through Microsoft Security Store. This covers Microsoft's own SMS and voice delivery in Entra, nothing else.

For an <abbr title="information technology">IT</abbr> generalist the work is practical: find out who still uses SMS or voice, tell them early and get them to register a passkey before the date.

## What passkeys do not fix

Passkeys protect the sign-in. They do not protect what happens after, and a genuine sign-in page can still be used to approve an attacker's request, as in [device code phishing and AI agents](https://iamops.dev/device-code-phishing-ai-agents/). If an attacker steals a session cookie or an access token, they act as you without ever seeing your passkey. And account recovery is often the weak door: if "I lost my phone" can be answered with a text message, the strong lock was for show.

AI agents do not tap fingerprints at all, so they use other credentials. That is a separate story, and it is why the pages below exist.

## Where to go next

- How a device sign-in code can be abused: [device code phishing, a briefing for managers](https://iamops.dev/device-code-phishing-briefing-for-managers/).
- What happens after sign-in, when a token is the thing worth stealing: [<abbr title="Demonstrating Proof of Possession">DPoP</abbr>, <abbr title="Pushed Authorization Requests">PAR</abbr> and <abbr title="Rich Authorization Requests">RAR</abbr> explained](https://iamops.dev/dpop-par-rar-explained/).
- Why identity gets harder when AI agents join: [why identity matters when your company starts using AI agents](https://iamops.dev/why-identity-matters-ai-agents-at-work/).

## Sources

- [Microsoft Learn, Passkeys by default and retirement of Microsoft-provided SMS and voice authentication](https://learn.microsoft.com/en-us/entra/identity/authentication/concept-sms-voice-retirement)
- [W3C, Web Authentication (WebAuthn) Level 3](https://www.w3.org/TR/webauthn-3/)
- [FIDO Alliance, Passkeys](https://fidoalliance.org/passkeys/)

Discuss: [X](https://x.com/iamopsdev) | [LinkedIn](https://www.linkedin.com/company/iamops-dev/)
