Already a NinjaOne customer? Log in to view more guides and the latest updates.

NinjaOne MFA: Multi-Factor (2-Factor) Authentication

Topic

This article explains how to set up multi-factor authentication (MFA) for your technicians and end users in NinjaOne. It also explains how technicians use recovery codes when they cannot access their MFA method.

Environment

NinjaOne Platform

Description

Multi-factor authentication (MFA) provides an additional layer of security for your NinjaOne account by requiring multiple forms of verification before granting access to specific features, product areas, or administrative actions.

  • All NinjaOne users are required to perform MFA both at login and when performing administrative actions.
  • NinjaOne supports text-based (SMS) and time-based authentication and security keys.
  • Technicians can download single-use recovery codes to log in and to change their MFA methods if they lose access to a registered MFA method.
We do not currently support Chilean mobile numbers (+56) for SMS MFA. You must set up an alternative MFA method.

Index

Select a category to learn more:

Setting up Primary MFA for Your NinjaOne User

NinjaOne will prompt all users to enable MFA upon first login after accessing NinjaOne through the emailed account invitation. Once you enter your NinjaOne login credentials for the first time, NinjaOne will prompt you to set up a primary MFA method.

You must choose whether you want to use time-based, SMS-based, or hardware-based security key authentication as a primary MFA method and then continue through the required setup steps.

select MFA method.png
Figure 1: Select preferred MFA method on your first login

Setting up an Authenticator App for Primary MFA

To set up an authenticator app for your primary MFA, perform the following steps:

  1. Download an authenticator app on an easily accessible endpoint, such as a local computer or mobile device. Any Time-Based One-Time Password (TOTP) application that supports QR code scanning and generates six-digit pins may work. NinjaOne has tested and confirmed that the following applications will work:

    • Google
    • Apple Passwords (for iOS 18)
    • Authy
    • Two-factor Authentication (2FA)
    NinjaOne also supports browser plug-ins or desktop applications for time-based authentication.
  2. Select Authenticator App from the Select MFA method drop-down menu. Then, scan the barcode with the device that has the authenticator app downloaded, or manually enter the code listed under the barcode to configure MFA.
authenticator qr code.png
Figure 2: Authenticator app QR code
Save the code listed underneath the barcode on this screen. You may use it to set up time-based MFA on another device in the case that you no longer have access to your current device.
  1. Use the QR code or number in the authenticator app to set up the codes.
  2. Most authenticator apps will provide one code for several seconds and then refresh to provide another code. Enter the first code provided into the Authentication Code 1 field and then wait for the second code to appear. Enter the second code into the Authentication Code 2 field.
  3. Click Sign In to complete the setup process.

Setting up SMS for Primary MFA

As soon as you select SMS as your primary authentication method, NinjaOne will send an SMS message to the phone number currently associated with your user account. Enter the code into the available text field and click Sign In to complete setup.

If the user does not have access to the phone number set up for them, you can update it on their NinjaOne account configuration page or by clicking Change phone on the MFA Setup dialog. NinjaOne will prompt you to enter the correct phone number and send a code to this number.

MFA setup_SMS_change phone.png
Figure 3: Enter verification code or change phone

If you receive a prompt indicating your phone country code is not supported for SMS MFA, choose an alternative MFA option. MFA setup includes restrictions so users cannot register SMS MFA if they have a phone number with a country code that NinjaOne cannot support. For a full list of these restrictions, refer to NinjaOne SMS Phone Numbers.

Adding Hardware-based Keys or an Additional Primary Authentication Method

We recommend setting up a secondary backup MFA option to account for potential compatibility or implementation issues that may arise with the hardware key. For example, the hardware-based security key will not work if the user replaces their laptop and attempts to use the same NinjaOne account.

  1. Select Hardware-Based Security Key from the Select MFA method drop-down menu.
  2. Enter a unique identifier in the Security key name field.
hardware-based security key_name.png
Figure 4: Hardware-based security key MFA setup
  1. Click Sign in.
  2. The default option for Fingerprint may appear if your device is compatible. If your device does not have a fingerprint reader or you prefer to use an alternative method, select PIN or Use another device. Otherwise, follow the on-screen prompts.
mfa_hardware key.png
Figure 5: Select security key type
If you have a branded website configured, you must set up the Universal Second Factor (U2F) security key separately for this instance. Part of the security key configuration involves the URL, which is different between branded and non-branded sites. You can add your U2F security key to your branded site by logging in to your branded site and following these same steps. To learn more about branded websites, refer to NinjaOne Platform: Branding: Customizing NinjaOne With Your Own Domain and Branding.

Changing Authentication Methods

If a user cannot log in due to errors with their MFA, you can change the authentication method in NinjaOne. To do so, perform the following steps:

  1. Navigate to Administration → Accounts → All users.
  2. Select the checkbox for the technician or end user and then click Actions.
  3. Select Reset MFA and then click Reset in the confirmation dialog.
reset MFA.png
Figure 6: Reset MFA for a technician or end user in NinjaOne

The next time the user logs in, NinjaOne will prompt them to set up their MFA.

Technicians who saved recovery codes can regain access without an administrator reset. To learn more about recovery codes, refer to Recovery Codes for Technicians.

NinjaOne will log the user out of all open sessions when:

  • Configuring self-MFA
  • Resetting password
  • Configuring email
  • Configuring phone number

Recovery Codes for Technicians

Recovery codes are single-use codes that a technician can use in place of a registered MFA method. Each technician receives 10 codes, and each code contains 10 letters and numbers. Recovery codes are available to technicians only, so end users do not receive them. Select a topic to continue:

Saving Your Recovery Codes

The NinjaOne platform displays your recovery codes in the Recovery codes window after you register MFA for a new account. It also displays them the first time you log in after your organization activates recovery codes. The NinjaOne platform shows the codes only once, so save them before you close the window. To save your recovery codes, perform the following steps:

  1. Review the codes in the Codes section of the Recovery codes window.
  2. Click Download file to save the codes in a .txt file, or copy the codes into a secure password manager.

The NinjaOne platform will not show these codes again. If you lose them, generate new codes.

Generating New Recovery Codes

If you lose your recovery codes or they are compromised, you can generate a new set. Generating new codes invalidates all of your earlier codes. You can generate new codes once every 24 hours. To generate new recovery codes, perform the following steps:

  1. Navigate to your user account settings and select Security.
  2. Click Generate new codes in the Recovery codes section.
  3. Complete the MFA prompt with a registered MFA method. You cannot use a recovery code to complete this prompt.
  4. Click Download file to save the new codes, or copy the codes into a secure password manager.

The NinjaOne platform will not show the new codes again, and the Generate new codes button will be unavailable for 24 hours. The NinjaOne platform records each regeneration in the activity log.

Logging in with a Recovery Code

If you cannot use your registered MFA method, you can use a recovery code to complete your login. Each code works one time. To log in with a recovery code, perform the following steps:

  1. Enter your username and password.
  2. Click Enter recovery codes under Having trouble verifying your chosen MFA method? on the MFA prompt.
  3. Enter one of your 10-character recovery codes in the Enter recovery code field.
  4. Submit the code.

The NinjaOne platform will log you in and will invalidate the code that you used. The following behaviors also apply:

  • If you enter an incorrect code three times in one login session, the NinjaOne platform blocks further attempts in that session. Start a new login session to try again.
  • The NinjaOne platform records each successful and failed recovery code login in the activity log.

If you do not have recovery codes, you can click Request MFA reset after you enter your username and password. This option is available only after a system administrator activates the Allow MFA reset requests toggle. To learn how, refer to Technician MFA Requirements.

Changing MFA Methods with a Recovery Code

You can use a recovery code to add, change, or remove one of your own MFA methods after you log in. When the MFA prompt appears in your account settings, click Enter recovery codes and enter one of your recovery codes. Each code works one time.

Configuring Global Administrative Idle Time

The global administrative idle time is the interval before NinjaOne prompts a user to re-authenticate their MFA when attempting to perform an administrative task, including initiating remote connections to devices. Idle time will determine how often technicians must re-authenticate.

For example, if you set the global administrative idle time to five minutes and a user logs in (and therefore authenticates their MFA) at 0900 UTC, NinjaOne will prompt them to re-authenticate their MFA at 0905 UTC. However, if the user attempts to perform an administrative action at 0904 UTC, they will not have to re-authenticate their MFA.

Your global administrative idle time applies to all users in your NinjaOne environment, and a system administrator can configure it by following these steps:

  1. Navigate to Administration → Accounts → Security Settings.
  2. Click Edit in the Global session management section.
accounts_security settings_edit global session.png
Figure 7: Edit MFA global administrative idle time
  1. Configure the following settings:
Setting Description
Administrative actions MFA If a user attempts an administrative task outside the selected window of time, NinjaOne prompts the user to re-authenticate with one of their MFA methods.
Remote access MFA This setting determines the MFA idle timeout for NinjaOne Remote, Splashtop, and Cloud RDP.
Remote tools MFA This setting determines the MFA timeout for command line tools, such as CMD and PowerShell.

Technician MFA Requirements

Technicians and System administrators can send a request to System administrators to notify them that their MFA needs to be reset. This built-in notification system allows technicians to regain access to NinjaOne via assistance from their IT Team, rather than having to reach out to NinjaOne Support.

You can customize your notifications to be sent via SMS, email, Notification Channels, or create tickets. To learn how, refer to NinjaOne Endpoint Management: Notification Channels and Alerts.

  1. Navigate to Administration → Accounts → Security Settings.
  2. Click Edit in the Technician MFA requirements section.
accounts_security settings_edit tech mfa reqs.png
Figure 8: Edit technician MFA requirements (click to enlarge)
  1. Activate the Allow MFA reset requests toggle.
  2. Click Update.

To perform the MFA reset request:

During login, after submitting your username and password, click the Request MFA reset hyperlink.

request mfa reset.png
Figure 9: Request MFA reset

Activating or Deactivating Technician Recovery Codes

A system administrator controls whether technicians receive recovery codes for your organization. The Allow technician recovery codes setting appears in the same Technician MFA requirements section.

Deactivating Allow technician recovery codes invalidates all existing recovery codes in your organization, and you cannot undo this action. Deactivate the setting only if recovery codes conflict with your security requirements.

To activate or deactivate recovery codes, perform the following steps:

  1. Navigate to Administration → Accounts → Security Settings.
  2. Click Edit in the Technician MFA requirements section.
  3. Activate or deactivate the Allow technician recovery codes toggle. If you deactivate it, confirm the warning that appears.
  4. Click Update.

After you activate the setting again, the NinjaOne platform will prompt technicians to save new recovery codes the next time they log in. The NinjaOne platform records each change to the setting in the activity log.

Additional Resources

For a list of frequently asked questions about MFA in NinjaOne, refer to Multi-Factor Authentication: Frequently-Asked Questions (FAQ).

FAQ

Next Steps