Setup Microsoft Authenticator as 2FA / TFA method

Last updated on
3 July 2026

This document will help you to configure Microsoft Authenticator as Second Factor Authentication - 2FA / TFA method for the Drupal account using the Two Factor Authentication - TFA / Passwordless Login module. This module is compatible with Drupal 7, Drupal 8, Drupal 9, Drupal 10, and Drupal 11.

Setup Video:Drupal Microsoft Authenticator Youtube Video

Check out the Installation steps: 

Installation Steps

Prerequisites:

  1. The module is activated on your Drupal site. (Follow Installation steps)
  2. The latest version of Microsoft Authenticator is installed on devices running iOS or Android.

Setup Microsoft Authenticator 2FA method:

  • Navigate to the 2FA for Primary Admin tab of the module.
    Path: /admin/config/people/miniorange_2fa/setup_twofactor
  • Under Configured Second Factor, go to the Authenticator App tab on the left side. 
  • In the Action column next to a Microsoft Authenticator, click the Configure button.
  • A Configure Microsoft Authenticator window will appear, and scan the QR code with the Microsoft Authenticator app.
  • In Step 3: Enter the passcode generated in the Microsoft Authenticator app into the Passcode text field.
  • Click on the Verify button.

You have successfully configured the Microsoft Authenticator - TFA method.

 ​​​​User Experience:

Once you complete the Microsoft Authenticator setup, open a new browser/private window, and login into your Drupal site. You will be asked to authenticate your identity using the configured 2FA method - Microsoft Authenticator.

End User 2FA setup

Follow this setup guide to set up 2FA for end users and check the end-user experience.
 

Contact our 24*7 support team

Feel free to reach out to our Drupal experts at drupalsupport@xecurify.com if you need any sort of assistance.   

 Get In Touch With Us Join Our Slack Channel

back to top Back to top

Help improve this page

Page status: No known problems

You can: