Office 365 MFA Hardware Token: How to Add It in Microsoft 365

Last updated: November 27, 2026

You can use a hardware token for Microsoft 365 MFA in two ways. A programmable token such as Protectimus Slim NFC or Flex is added as an authenticator app, with no premium license needed. A classic OATH token such as Protectimus TWO is uploaded by an administrator in Microsoft Entra ID. This requires an Entra ID P1 or P2 license.

Microsoft 365 (formerly Office 365) holds mail, files and chats for most of the organizations that use it. That makes a stolen password very expensive. Microsoft’s own second factor options are an authenticator app, a text message or a phone call. Each of them depends on a phone.

A hardware token removes that dependency. It generates one-time passwords on the device itself and has no network connection. It keeps working when a phone is lost, discharged or not allowed at the workplace.

This article explains both ways to connect a token, walks through the setup for programmable tokens, and helps you pick a model.

Two Ways to Use a Hardware Token with Microsoft 365

Microsoft treats the two kinds of tokens differently. A programmable token pretends to be an authenticator app, so any user can add it. A classic token with a factory key is a separate authentication method that an administrator has to upload.

MethodToken typeLicense requiredWho sets it up
Added as an authenticator appProgrammable TOTP token (Protectimus Slim NFC, Protectimus Flex)No premium licenseThe user, in Security info
Uploaded as a hardware OATH tokenClassic TOTP token with a factory key (Protectimus TWO, Protectimus SHARK)Microsoft Entra ID P1 or P2An administrator (with the Microsoft Graph method, users can activate tokens themselves)

For most small and mid-size teams, the first option is simpler. The second makes sense when IT wants to hand out tokens centrally, control the inventory, or needs SHA-256.

One limit applies to both. Each user can have up to five OATH hardware tokens or authenticator apps registered at the same time. A token, in turn, belongs to one user only.

Option 1: Programmable Token (Slim NFC or Flex)

A programmable token is a hardware replacement for an authenticator app. Instead of storing the secret key in an app, you write it into the token over NFC.

This is the route most organizations take for staff without company phones. Each user can program their own token in a few minutes, and IT doesn’t need to touch the Entra admin center. The setup below takes about five minutes per token.

Protectimus Flex programmable TOTP token for Microsoft 365 MFA
Protectimus Slim NFC programmable TOTP token card for Microsoft 365 MFA

Protectimus Slim NFC and Protectimus Flex work the same way and differ only in shape. Slim NFC is a card in bank-card or mini size, and Flex is a key fob. Both hold one key at a time and can be reprogrammed for another account later.

You need three things:

  • a Microsoft 365 account with multi-factor authentication turned on;
  • an Android phone with NFC;
  • a Protectimus Slim NFC or Flex token.

Step 1: Install Protectimus TOTP Burner

Install the free Protectimus TOTP Burner app on an Android phone with NFC. Turn NFC on in the phone settings.

Step 2: Open Security Info

Sign in to your account settings at myaccount.microsoft.com with your work account. Open the Security info tab.

Microsoft 365 hardware token setup – Security info tab

Step 3: Add an Authenticator App Sign-In Method

Click Add sign-in method.

Microsoft 365 hardware token setup – Add sign-in method

Select Authenticator app from the list and click Add.

Microsoft 365 hardware token setup – Authenticator app option

Microsoft suggests Microsoft Authenticator by default. Click “I want to use a different authenticator app”. This link is easy to miss, and without it the setup asks you to install Microsoft’s app.

Microsoft 365 hardware token setup – I want to use a different authenticator app

Step 4: Get the QR Code

Open Protectimus TOTP Burner on your phone and check that NFC is on. On the computer, click Next.

Microsoft 365 hardware token setup – preparing to scan the QR code

Microsoft shows a QR code with the secret key. Keep this page open.

Microsoft 365 hardware token setup – QR code with the secret key

Step 5: Write the Key into the Token

In TOTP Burner, tap Burn the seed, then Scan the QR code, and scan the code on the screen. Turn on the token and hold it close to the phone’s NFC antenna. Tap Continue and wait for the confirmation.

The app also sets the token’s clock from the phone. If the phone shows the wrong time, the token will too, so check that the phone uses automatic date and time.

Writing the Microsoft 365 secret key into Protectimus Slim NFC with TOTP Burner

Step 6: Confirm with a Code

Go back to the computer and click Next. Press the button on the token and enter the code it shows, then click Next again.

Microsoft 365 hardware token setup – entering the code from the token

The token is now registered. When Microsoft asks for an authenticator code at sign-in, use the code from the token. It’s worth keeping a second method registered, such as a phone number, so a lost token doesn’t lock the user out.

Option 2: Classic OATH Tokens in Microsoft Entra ID

Classic tokens come with a key written at the factory. There is nothing to scan into the token. Instead, an administrator uploads the key to Microsoft Entra ID (formerly Azure AD). This route needs an Entra ID P1 or P2 license.

There are two upload methods. The CSV upload in the Entra admin center is the older one. It accepts SHA-1 tokens only, requires a Global Administrator, and every token is activated by hand.

The Microsoft Graph method is newer and is the one Microsoft now recommends. It supports SHA-1 and SHA-256 tokens and works with less privileged admin roles. Tokens go into an inventory first, and users can activate them on their own in Security info.

Protectimus TWO can be added with either method. Protectimus SHARK uses SHA-256, so it needs the Graph method. For the background on these options, see the article on hardware tokens for Azure MFA. The full walkthrough is in the step-by-step guide to adding OATH tokens in Entra ID.

Which Token to Choose for Microsoft 365

The choice mostly depends on who will set up the tokens and whether you have a premium license.

TokenTypeHow it is added to Microsoft 365Good fit for
Protectimus Slim NFCProgrammable card, SHA-1As an authenticator app, no premium licenseUsers who carry a wallet or an ID badge
Protectimus FlexProgrammable key fob, SHA-1As an authenticator app, no premium licenseUsers who prefer a token on a key ring
Protectimus TWOClassic key fob, SHA-1Uploaded by an admin (CSV or Microsoft Graph), P1/P2Central rollouts managed by IT
Protectimus SHARKClassic key fob, SHA-256Uploaded by an admin (Microsoft Graph only), P1/P2Policies that require SHA-256

If you have no Entra ID P1 or P2 license, pick Slim NFC or Flex. If IT already manages tokens centrally and has the license, TWO or SHARK save users from programming anything.

Mixed setups are common too. Some teams give programmable cards to regular staff and keep classic tokens for administrators, where central control matters more. Whatever you choose, plan for a battery life of 3 to 5 years and order replacements before a whole batch runs out at once.

FAQ

Can I use a hardware token for Microsoft 365 without a premium license?

Yes, with a programmable token such as Protectimus Slim NFC or Flex. It is added in Security info as an authenticator app, and that method doesn’t require an Entra ID P1 or P2 license. Classic tokens with factory keys do require P1 or P2.

What is the difference between programmable and classic OATH tokens for Microsoft 365?

A programmable token gets its key from Microsoft during setup, written over NFC, so the user can add it like an app. A classic token has a fixed factory key that an administrator uploads to Microsoft Entra ID. Classic tokens need a premium license but let IT manage tokens centrally.

Can one token protect several Microsoft 365 accounts?

No. A token holds one key and is tied to one account. A programmable token can be reprogrammed for another account later, but then it stops working for the first one.

Does Microsoft 365 support SHA-256 hardware tokens?

Yes, as classic tokens uploaded through Microsoft Graph, which requires Entra ID P1 or P2. Protectimus SHARK is an example of such a token. Programmable tokens added as an authenticator app use SHA-1.

What happens if a user loses the token?

The user signs in with another registered method, or an administrator helps them regain access. Then the lost token is removed. A programmable token is deleted as a sign-in method, and a classic token is unassigned in Microsoft Entra ID. After that, the user registers a new token.

Read more:

Hardware TOTP tokens for Microsoft Entra ID, Office 365 and on-premise systems

Classic and programmable Protectimus tokens work with Entra ID (Azure MFA) and any TOTP-based system. From $11.99 per token, with volume pricing from 100 units.

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Author: Anna

If you have any questions about two-factor authentication and Protectimus products, ask Anna, and you will get an expert answer. She knows everything about one-time passwords, OTP tokens, 2FA applications, OATH algorithms, how two-factor authentication works, and what it protects against. Anna will explain the difference between TOTP, HOTP, and OCRA, help you choose a token for Azure MFA, and tell you how to set up two-factor authentication for Windows or Active Directory. Over the years with Protectimus, Anna has become an expert in cybersecurity and knows all about the Protectimus 2FA solution, so she will advise on any issue. Please, ask your questions in the comments.

Share This Post On

5 Comments

  1. Hey there! Do you use Twitter? I’d like to follow you if that would be okay. I’m definitely enjoying your blog and look forward to new updates.

    Post a Reply
  2. I simply want to tell you that I am beginner to weblog and truly liked your page. Likely I’m going to bookmark your blog post . You really have good posts. Thank you for revealing your website page.

    Post a Reply
  3. Hi, I have just purchased the protectimus two and want to use them for MFA for Office365, is this possible and how do I go about it?

    Post a Reply
    • Hi Warren, you need a programmable hardware token to connect it to Office 365. We offer two models of programmable tokens – Protectimus Flex and Protectimus Slim NFC, these tokens will work for Office 365 as you can connect them as if it is a 2FA app. Protectimus Two tokens are not programmable: they are produced with pre-installed secret keys that can’t be changed.

      Post a Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from Protectimus blog.

You have successfully subscribed!

Share This