> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Multifactor

Configure multifactor authentication in Devolutions Server, choosing supported authenticators, the default MFA method and alternate sign-in ways.

Configure multifactor authentication (MFA) in Devolutions Server to add an extra layer of security to the application.

Devolutions Server supports multiple types of MFA. You can configure a default MFA type for your entire organization or configure MFA user by user. When MFA is configured, users log in with their username/password as well as an MFA product: an authenticator app, a code sent by email or SMS, a YubiKey, Duo, RADIUS, a passkey or a backup code. This page covers the server-wide MFA settings, when Devolutions Server asks for MFA, how users set up their methods, and how a user asks for an MFA reset. Each method has its own page, listed at the end.

### Where MFA is configured

<table><thead><tr><th width="260">WHAT</th><th>WHERE</th></tr></thead><tbody><tr><td><strong>Methods users can use, default methods, reset requests</strong></td><td><em><strong>Administration</strong></em> – <em><strong>Server settings</strong></em> – <em><strong>Multifactor</strong></em>. Requires the <em><strong>Server settings</strong></em> – <em><strong>MFA</strong></em> – <em><strong>View</strong></em> administrative permission to open the page and <em><strong>Edit</strong></em> to save changes.</td></tr><tr><td><strong>When MFA is required, skipped or optional</strong></td><td>The conditional access policies of the <em><strong>MFA</strong></em> target, in <em><strong>Administration</strong></em> – <em><strong>Server settings</strong></em> – <em><strong>Conditional access policies</strong></em>. See <a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/conditional-access-policies.md">Conditional access policies</a>. In Devolutions Server 2027.1 and later, the <em><strong>MFA requirement</strong></em> of the <a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/login-policies.md">Login policies</a>.</td></tr><tr><td><strong>One user's methods</strong></td><td>The user's own account settings (see <a href="#set-up-your-own-mfa-methods">Set up your own MFA methods</a>), or <em><strong>Administration</strong></em> – <em><strong>Users</strong></em>, edit the user, <em><strong>Multifactor</strong></em> section. See <a href="https://docs.devolutions.net/server/web-interface/administration/user-and-security-management/users/multifactor.md">Multifactor (edit user)</a>.</td></tr><tr><td><strong>Pending MFA reset requests</strong></td><td>See <a href="https://docs.devolutions.net/server/web-interface/administration/user-and-security-management/users-mfa-reset-status.md">Users MFA reset status</a>.</td></tr><tr><td><strong>MFA when a privileged account is checked out</strong></td><td>The <em><strong>MFA on checkout</strong></em> setting of the checkout policy. See <a href="https://docs.devolutions.net/server/knowledge-base/how-to-articles/configure-mfa-for-pam-checkout-in-devolutions-server.md">Configure MFA for PAM checkout</a>.</td></tr></tbody></table>

### Configure multifactor authentication from the web interface

1. To access the MFA configuration, navigate to ***Administration*** – ***Server settings*** – ***Multi-factor***.
2. The ***MFA usage*** is read-only. It shows the ***Default action when no policy matches*** of the ***MFA*** [conditional access policies](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/conditional-access-policies.md); to change when MFA is required, click the information icon next to ***MFA usage*** ("You can change this setting in the Conditional Access Policies section."). In Devolutions Server 2027.1 and later, the ***MFA usage*** is set by the login policies: click the information icon next to ***MFA usage*** to go to the [***Login policies***](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/login-policies.md), and set the ***MFA requirement*** of each login policy. The conditional access policies decide which login policy applies to each sign-in.

{% hint style="info" %}
When the MFA usage is ***MFA optional per user*** (in Devolutions Server 2027.1 and later, when a login policy's ***MFA requirement*** is ***Optional***), only users who have an MFA method configured use MFA. To configure it, go to ***Administration*** – ***Users***, edit or add a user, then go to the ***Multi-factor*** section. You can also set an MFA type on the user if they are using a product different than the default method. See [Multifactor (edit user)](https://docs.devolutions.net/server/web-interface/administration/user-and-security-management/users/multifactor.md).
{% endhint %}

3. Back to the ***Multi-factor*** section, choose who to send the reset email to between ***Administrator(s)*** or a ***Specific email*** (in which case you must specify the email in the ***Specific email*** field).
4. Check the boxes next to the supported authenticators that you want to enable. You can choose as many as necessary.

{% hint style="info" %}
The currently supported multifactor authenticators are Authenticator (TOTP), Passkey, Yubikey, Email, [SMS](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/sms.md), Duo and Radius. You must configure them separately using the instructions next to them. Emails need to be configured beforehand in Devolutions Server for the ***Email*** MFA. The ***SMS*** MFA is only available through Twilio and requires a Twilio subscription in Devolutions Server 2027.1 and later; before it, SMS can still be sent through a carrier email gateway, which is deprecated.
{% endhint %}

5. Select the ***Default*** MFA between the ones you enabled in the previous step.
6. To offer alternate ways to log in when users do not have access to their usual method, also enable ***Email*** or [***Backup codes***](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/backup-codes.md) in the supported authenticators: users pick them with ***Choose another method*** at sign-in.
7. Click ***Save***.

### Multifactor server settings

The page has three sections: ***General***, ***Supported MFA*** and ***Default***. Change the settings, then click ***Save*** (disk icon, top right).

#### General

<table><thead><tr><th width="260">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>MFA usage</strong></td><td>Read-only. Shows the <em><strong>Default action when no policy matches</strong></em> of the <em><strong>MFA</strong></em> conditional access policies: <em><strong>MFA Required</strong></em>, <em><strong>MFA Skipped</strong></em> (the default on a new server) or <em><strong>MFA optional per user</strong></em>. The information icon next to it shows "You can change this setting in the Conditional Access Policies section." and opens the conditional access policies of the <em><strong>MFA</strong></em> target; it requires the <em><strong>Conditional access policies</strong></em> – <em><strong>View</strong></em> administrative permission. In Devolutions Server 2027.1 and later, it shows "MFA usage is set by the login policies." and its icon opens <em><strong>Login policies</strong></em>.</td></tr><tr><td><strong>Send reset email to</strong></td><td>Who receives the email sent when a user asks for an MFA reset: <em><strong>Administrators</strong></em> (the default) or <em><strong>Specific email</strong></em>. With <em><strong>Administrators</strong></em>, the email goes to every user who has the <em><strong>Users</strong></em> – <em><strong>MFA requests</strong></em> – <em><strong>View</strong></em> administrative permission and an email address.</td></tr><tr><td><strong>Specific email</strong></td><td>Address that receives the MFA reset emails. Available and required when <em><strong>Send reset email to</strong></em> is <em><strong>Specific email</strong></em>. Messages: "The email is required" and "The email is invalid".</td></tr><tr><td><strong>Prevent users from removing their own 2FA</strong></td><td>When checked, users who are not administrators cannot remove an MFA method from their own account when it is their only configured method. They can still remove a method when they have more than one. Cleared by default.</td></tr></tbody></table>

#### Supported MFA

Check each method users can use. A ***Configure*** link appears next to the methods that have settings: ***Email*** (when email is configured on the server), ***SMS***, ***Duo***, ***Radius*** and ***Backup codes***.

<table><thead><tr><th width="260">METHOD</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Authenticator (TOTP)</strong></td><td>6-digit time-based code from an authenticator app such as Google Authenticator or Microsoft Authenticator. See <a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/authenticator-app.md">Authenticator app (TOTP)</a>.</td></tr><tr><td><strong>YubiKey</strong></td><td>One-time password generated by a YubiKey. See <a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/yubikey.md">YubiKey</a>.</td></tr><tr><td><strong>Email</strong></td><td>Code sent to the user's email address. Requires the email settings of Devolutions Server. See <a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/email.md">Email</a>.</td></tr><tr><td><strong>SMS</strong></td><td>Code sent by text message, through Twilio or a carrier email gateway (Twilio only in Devolutions Server 2027.1 and later). See <a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/sms.md">SMS</a>.</td></tr><tr><td><strong>Duo</strong></td><td>Duo push, phone call, SMS or passcode. See <a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/duo.md">Duo</a>.</td></tr><tr><td><strong>Radius</strong></td><td>Passcode checked by a RADIUS server. See <a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/radius.md">RADIUS</a>.</td></tr><tr><td><strong>Backup codes</strong></td><td>One-time codes generated in advance. See <a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/backup-codes.md">Backup codes</a>.</td></tr><tr><td><strong>Passkey</strong></td><td>Passkey on a security key, Windows Hello, Touch ID or Face ID. See <a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/passkey.md">Passkey</a>.</td></tr></tbody></table>

* **Older methods.** ***Azure MFA***, ***SafeNet***, ***AuthAnvil*** and ***Vasco*** are listed only on a server where they are still enabled. Once cleared and saved, they no longer appear.
* **Email needs the email settings.** Without the email settings of Devolutions Server, the ***Email*** check box is disabled, with "Email needs to be configured to enable email MFA." and a ***Take action*** link to the email settings. When ***Email*** is already enabled and email is turned off, the page shows "Email needs to be configured in order to send MFA emails."
* **SMS without Twilio.** While ***SMS*** is checked and Twilio is not configured, the section shows "Sending SMS through a carrier email gateway is deprecated and will be removed in an upcoming version. Configure Twilio to keep SMS available for MFA." with a ***Take action*** link to the SMS setup. In Devolutions Server 2027.1 and later, it shows "Twilio needs to be configured in order to send SMS MFA codes."
* **Last method with MFA required.** When ***MFA usage*** is ***MFA Required*** and only one method is enabled, that method cannot be cleared. In Devolutions Server 2027.1 and later, the last enabled method can be cleared even when MFA is required.
* **Clearing a method removes it from users.** When you clear a method that was enabled and click ***Save***, Devolutions Server asks "You disabled at least one MFA type ({0}). All users associated with it will lose their MFA configuration. Do you want to proceed?" Click ***Continue*** to save. A failed save shows "An error occurred."

#### Default

<table><thead><tr><th width="260">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Default</strong></td><td>One or more of the enabled methods. When MFA is required for a sign-in, users must have each default method set up: a user who has not set one up is asked to set it up during the sign-in. At least one method stays selected while a method is enabled: clearing the list selects the first enabled method again. Shows <em><strong>None</strong></em> and is disabled when no method is enabled. When no default is saved and MFA is required, Devolutions Server uses the first enabled method.</td></tr></tbody></table>

### When Devolutions Server asks for MFA

Every sign-in to Devolutions Server is evaluated by the conditional access policies of the ***MFA*** target, which return one of three actions:

<table><thead><tr><th width="260">ACTION</th><th>WHAT HAPPENS AT SIGN-IN</th></tr></thead><tbody><tr><td><strong>MFA Skipped</strong></td><td>No MFA step, even for users who have a method configured.</td></tr><tr><td><strong>MFA optional per user</strong></td><td>Users who have a configured or pre-configured method use it. Users without any method sign in without MFA.</td></tr><tr><td><strong>MFA Required</strong></td><td>Every user goes through MFA. Users who have not set up the default methods set them up during the sign-in, then sign in again with their new method.</td></tr></tbody></table>

* **Application identities never use MFA.** Applications that sign in with an application key are not asked for MFA, whatever the policies say. See [Application identities](https://docs.devolutions.net/server/web-interface/administration/user-and-security-management/applications-identities.md).
* **Workspaces in Remote Desktop Manager** follow the same rules: Remote Desktop Manager shows the MFA step when it opens a Devolutions Server workspace.
* In Devolutions Server 2027.1 and later, the action comes from the ***MFA requirement*** (***Not required***, ***Optional*** or ***Required***) of the login policy that the sign-in workflow applies, and the login policy can limit the methods allowed. See [Login policies](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/login-policies.md).

### Sign in with MFA

After the user name and password, the Devolutions Server sign-in page shows the user's default method.

1. Complete the method: type the code, press the YubiKey, approve the Duo request or use the passkey. Each method page describes its screen.
2. To use another configured method, click ***Choose another method***, then click the method in ***Choose a method***.
3. Click ***Submit***.

A wrong code shows an error such as "Invalid MFA", "Invalid code", "Invalid Authenticator code", "Invalid Yubikey code" or "Invalid Duo code", depending on the method.

#### Set up a method during the sign-in

When MFA is required and the user has not set up a default method, or when an administrator has pre-configured a method for the user (***Configure later by the user***), the sign-in page opens the setup of that method. After the setup, Devolutions Server shows "Validation successful" and "You must log in with your validation code."; the user signs in again with the new method. When several methods are waiting, the next one opens after each setup ("Operation was completed successfully.").

When the user already has a configured method and picks a method that is not set up yet, Devolutions Server first asks for the configured method: "To finish setting up {0}, first verify a two-factor method you already use." A user without any configured method can set up the first one directly.

#### Request an MFA reset

A user who lost access to their methods can ask for a reset from the sign-in page.

1. Sign in with your user name and password.
2. Click ***Choose another method***, then ***Request MFA reset***.

<table><thead><tr><th width="260">MESSAGE</th><th>MEANING</th></tr></thead><tbody><tr><td>"MFA reset request sent."</td><td>The request is recorded and an email is sent to the recipients set in <em><strong>Send reset email to</strong></em>. An administrator then resets or cancels it. See <a href="https://docs.devolutions.net/server/web-interface/administration/user-and-security-management/users-mfa-reset-status.md">Users MFA reset status</a>.</td></tr><tr><td>"The MFA is already reset"</td><td>The user has no MFA method to reset, or uses <em><strong>Radius</strong></em>: a RADIUS passcode is managed on the RADIUS server, not in Devolutions Server.</td></tr><tr><td>"Can’t reset MFA. Contact your administrator."</td><td>The request was refused because the password is wrong, the user is locked or not approved, or the IP address is not allowed.</td></tr></tbody></table>

### Set up your own MFA methods

Users manage their methods in the ***Multi-factor*** section of their account settings: click your avatar at the top right of the Devolutions Server web interface, then [***Preferences***](https://docs.devolutions.net/server/web-interface/account-menu/preferences.md), then ***Multi-factor***. They can do it without an administrator, within the methods enabled in ***Supported MFA***.

1. Confirm your identity. Devolutions Server users, contractor users and domain users type their password in ***Enter your password to continue*** and click ***Submit*** ("Invalid password" when it is wrong). Users who sign in with Microsoft Entra ID, Okta, PingOne or another identity provider have no password to type: when they signed in more than 5 minutes ago, the section shows "Re-authentication is required" and a ***Re-authenticate*** button that signs them in again with their provider.
2. The methods are grouped under ***Configured***, ***Pre-configured*** (prepared by an administrator, still to complete) and ***Not configured***. The default method is marked ***Default***.
3. To add a method, click it under ***Not configured*** (or its ***Configure*** link), complete its setup, then click ***Back*** or continue.
4. To change a configured method, open its menu: ***Set as default***, ***Reconfigure MFA*** or ***Remove MFA*** ("Factor removed successfully."). In Devolutions Server 2027.1 and later, ***Set as default*** also shows "Default factor set successfully." ***Remove MFA*** is hidden on your only configured method when ***Prevent users from removing their own 2FA*** is checked, unless you are an administrator.
5. Click ***Save***.

When no method is enabled on the server, the section shows "Multi-factor authentication is not configured"; administrators also see a ***Configure*** button that opens the ***Multi-factor*** server settings.

### MFA methods

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Authenticator app (TOTP)</strong></td><td>Google Authenticator, Microsoft Authenticator and other TOTP apps.</td><td><a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/authenticator-app.md">Authenticator app (TOTP)</a></td></tr><tr><td><strong>Email</strong></td><td>A code sent to the user's email address.</td><td><a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/email.md">Email</a></td></tr><tr><td><strong>SMS</strong></td><td>A code sent by text message.</td><td><a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/sms.md">SMS</a></td></tr><tr><td><strong>Duo</strong></td><td>Push, phone call, SMS or passcode from Duo Security.</td><td><a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/duo.md">Duo</a></td></tr><tr><td><strong>YubiKey</strong></td><td>A one-time password from a YubiKey.</td><td><a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/yubikey.md">YubiKey</a></td></tr><tr><td><strong>RADIUS</strong></td><td>A passcode checked by your RADIUS server.</td><td><a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/radius.md">RADIUS</a></td></tr><tr><td><strong>Passkey</strong></td><td>Security keys, Windows Hello, Touch ID and Face ID.</td><td><a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/passkey.md">Passkey</a></td></tr><tr><td><strong>Backup codes</strong></td><td>One-time codes for when the usual method is not at hand.</td><td><a href="https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/backup-codes.md">Backup codes</a></td></tr><tr><td><strong>MFA on PAM checkout</strong></td><td>Ask for MFA when a privileged account is checked out.</td><td><a href="https://docs.devolutions.net/server/knowledge-base/how-to-articles/configure-mfa-for-pam-checkout-in-devolutions-server.md">Configure MFA for PAM checkout in Devolutions Server</a></td></tr></tbody></table>

#### See also

* [Conditional access policies](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/conditional-access-policies.md)
* [Devolutions Academy – Enforce MFA for users from Devolutions Server web interface](https://academy.devolutions.net/student/page/2747690-enforce-mfa-for-users-from-devolutions-server-web-interface?curriculum_activity_id=4182448\&path_id=2628397\&sid=8d455496-2d95-447f-9246-9311ad0fcf8b\&sid_i=0)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
