Skip to content

Blog

Two-factor authentication (2FA): how it works

By Rudy Koens

Smartphone with a stylised number 2 on the screen, the symbol for two-factor authentication

Two-factor authentication (2FA) means that when you sign in, you give a second proof that it's really you on top of your password, for example a code in an app on your phone. A stolen password is then no longer enough to get into your account. It is one of the simplest and most effective measures against cybercriminals. In this blog you'll read how 2FA works, which method is the safest and how to switch it on in your organisation. And what it means for you that Microsoft will stop sign-in by SMS on 1 February 2027.

What is two-factor authentication?

With two-factor authentication you sign in with two different kinds of proof. There are three kinds:

  • Something you know: your password or PIN.
  • Something you have: your phone or a security key.
  • Something you are: your fingerprint or your face.

Only when both steps check out do you get access. You'll also come across the terms two-step verification and multi-factor authentication (MFA). MFA is the umbrella term for signing in with two or more factors; 2FA is the version with exactly two. In Microsoft 365 it's called MFA.

Why isn't a password enough?

Passwords leak in all sorts of ways: through phishing emails, through data breaches at other websites or because someone uses the same password in several places. Criminals automatically try leaked combinations of email address and password on other services. With 2FA a stolen password is worth very little, because the second step is missing. According to Microsoft research, MFA reduces the risk of an account being taken over by more than 99 percent.

For organisations there's another factor. The European NIS2 Directive lists multi-factor authentication as a security measure, and insurers and customers are asking about it more and more often.

What types of 2FA are there?

Not every second step is equally strong. From least to most secure:

  • Code by SMS or email. Better than a password alone, but the weakest. An SMS can be intercepted, for example when a criminal has your phone number transferred to their own SIM card (SIM swapping). That's why Microsoft is ending sign-in by SMS, see below.
  • Code in an authenticator app, such as Microsoft Authenticator or Google Authenticator. The app creates a new code every thirty seconds, even without an internet connection.
  • Push notification with number matching. You approve the sign-in in the app by entering the number shown on your screen. That way you never accidentally approve someone else's sign-in attempt.
  • Security key or passkey. A physical key (via USB or NFC) or a passkey on your phone or laptop. This method only works on the genuine website, which makes it resistant to phishing. It's the most secure option, and the best choice for admin accounts.

Our advice: use an authenticator app with number matching for employees and a security key or passkey for administrators. Only use SMS if there's no other option.

Microsoft is ending sign-in by SMS

Microsoft is phasing out SMS and voice calls as a second step. From 1 February 2027, most Microsoft 365 users (Microsoft Entra ID) will no longer be able to sign in with a code by SMS or a phone call from Microsoft. Instead, Microsoft is focusing on passkeys and the Authenticator app.

Do your employees still use SMS as their second step? Then it's time to switch. If you do nothing, they won't be able to sign in the way they're used to after that date. Start with the people who only have SMS set up, and plan the switch well before February.

Is 2FA watertight?

No. 2FA makes breaking in much harder, but criminals look for ways around the second step:

  • Fake sign-in pages. A phishing email leads to a page that looks exactly like Microsoft's. If you enter your password and code there, the criminal passes them straight on to the real site.
  • MFA fatigue. The criminal already has your password and sends sign-in request after sign-in request to your phone, hoping you'll tap 'Approve' out of irritation.
  • SIM swapping. The criminal has your phone number transferred and receives your SMS codes.
  • Malware. Malicious software on your computer can take over a session in which you're already signed in.

That's why 2FA works best combined with other measures: sign-in methods that resist phishing, rules for where and from which device people can sign in, and employees who know what to look out for.

How to switch on 2FA in your organisation

  1. Start with the most important accounts. Admin accounts and email first: whoever gets into those can get into almost everything.
  2. Switch on MFA for everyone in Microsoft 365. You can do this with Microsoft's security defaults or, more flexibly, with Conditional Access in Microsoft Entra ID.
  3. Choose the right method. An authenticator app with number matching for employees, a security key or passkey for administrators. Is anyone still using SMS? Switch before 1 February 2027.
  4. Close the back doors. Block legacy sign-in methods that skip MFA, and don't forget shared accounts and remote access (VPN).
  5. Arrange what happens when a phone is lost. Agree how someone can regain access quickly and securely, without the service desk simply handing out codes.
  6. Bring your employees along. Explain why 2FA is needed and agree on one golden rule: never approve a sign-in request you didn't start yourself.

And use 2FA in your private life too, wherever you can: for your email, your bank, social media and your password manager.

Frequently asked questions about 2FA

What is the difference between 2FA and MFA?

MFA (multi-factor authentication) is signing in with two or more factors. 2FA is the version with exactly two. In practice the terms are used interchangeably.

Is 2FA via SMS secure enough?

SMS is better than a password alone, but it's the weakest form of 2FA, because codes can be intercepted. So choose an authenticator app or a passkey. In Microsoft 365, SMS will no longer be available for most users from 1 February 2027.

When is Microsoft ending SMS codes?

Microsoft will stop SMS and voice calls as a sign-in method for most Microsoft 365 users (Microsoft Entra ID) on 1 February 2027. Switch to the Authenticator app or a passkey before that date.

What if I lose my phone?

Contact your IT administrator or service desk. They will verify who you are and set up a new method for you. That's why it's wise to set up a second method where possible, such as a security key.

Is 2FA mandatory?

Not by law for every organisation. But the NIS2 Directive lists multi-factor authentication as a security measure, and many insurers and customers ask for it. For any organisation, it's a logical basic measure.

Need help with 2FA?

We set up multi-factor authentication for organisations in Microsoft 365, from the settings to explaining it to your employees. It's a standard part of our approach to cybersecurity for SMEs. Want to know how secure your accounts are right now? Book an introduction with one of our specialists, or start with our IT security checklist for SMEs.

Want to talk this through?

Half an hour with one of our specialists about what this means for your organisation. Your environment, your questions.

A smiling IT specialist at her computer, with headphones around her neck.