> 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/portal/sign-in-and-security/multifactor-authentication.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Two-step verification (multifactor authentication)

Set up two-step verification on a Devolutions Account with SMS or email recovery, recovery codes, Push, an authenticator app or a security key.

***Two-step verification*** adds a layer of security to your Devolutions Account: "Enabling two-step verification adds a layer of security to your account by prompting you with an additional verification method after you enter your password." It is configured in Devolutions Portal – ***Sign-in & security*** – ***Two-step verification*** card, which has three items: ***Two-step verification***, ***Account recovery*** and ***Recovery codes***.

{% hint style="info" %}
A password is required: "Before you can add an MFA to your account, a password must be configured."
{% endhint %}

### Reauthentication

The ***Account recovery*** and ***Two-step verification*** setup pages start with a ***Reauthentication Required*** step: "Reauthentication is required to perform this action." The step is skipped if you reauthenticated very recently.

* When your Devolutions Account has a password, enter it.
* Otherwise, a 6-digit code is sent by email: "You will receive a code by email shortly. Please fill it in the input below once you receive it."

Enter the password or the code, then select ***Submit***. A wrong password, and also a wrong email code, shows "Wrong password." Without any of these methods: "No reauthentication method is available. Please contact us at <service@devolutions.net>."

### Methods of the Devolutions Account

<table><thead><tr><th width="260">METHOD</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Devolutions Password Manager Push</strong></td><td>Two-step verification method. At sign-in, Devolutions Password Manager on your mobile device receives a Push notification to approve. Only one Push method per account.</td></tr><tr><td><strong>Authenticator App</strong></td><td>Two-step verification method. "On logging in, you will be asked to enter the verification code provided by your authenticator application." The code has 6 digits and changes every 30 seconds. Only one Authenticator App per account, and none when a Push method exists.</td></tr><tr><td><strong>Security key</strong></td><td>Two-step verification method. A security key or passkey added on the <a href="https://docs.devolutions.net/portal/sign-in-and-security/security-key-and-passkey.md">Security key and passkey</a> page can be used as a second factor, including a key set for passwordless login.</td></tr><tr><td><strong>SMS</strong></td><td>Account recovery method. A 6-digit code is sent by text message; it is valid for 10 minutes. Each phone number can be used once: "This number is already being used as two-step verification method." Landlines are refused: "You have attempted to add a number that is not a valid mobile number. It is likely that the number that you have specified is a landline number or is an invalid number. Please verify the number and try again.", and some regions are not supported: "We cannot send verification codes to phone numbers in this region. Please use a different phone number or another verification method, or contact our support at service@devolutions.net for help."</td></tr><tr><td><strong>Email</strong></td><td>Account recovery method. A 6-digit code is sent by email; it is valid for 10 minutes. Each email address can be used once: "You are already using this email address as a recovery method."</td></tr><tr><td><strong>Recovery codes</strong></td><td>Last-resort method. 10 codes of 8 digits; each code works once.</td></tr></tbody></table>

### Set up account recovery

***Account recovery*** "allows you to access your account if you do not have access to your two-step verification method." An account recovery method is required before adding a two-step verification method.

1. In Devolutions Portal, go to ***Sign-in & security*** – ***Account recovery***.
2. Select ***Add recovery method***, then complete the ***Reauthentication Required*** step.
3. Under "Choose your account recovery method.", select ***SMS*** or ***Email***. The step reminds you: "Your account recovery method is not your two-step verification method."
4. Enter your phone number ("Enter your phone number.") or your email address ("Enter your email address."), then select ***Send***. The button then shows ***Sending***, ***Sent***, and ***Resend*** when a new code can be requested, or ***Failed to send*** when the SMS could not be sent.
   * For a phone number, first choose the country calling code. A number that does not match the country shows "The number is invalid. The phone number in {country} should look like this {example}". A number already used on your Devolutions Account shows "This number is already being used as two-step verification method."
   * An email address holds up to 50 characters. An invalid address shows 'Email invalid. Format needs to be "<exemple@email.com>"'. An address already used shows "You are already using this email address as a recovery method."
5. Enter the 6-digit code you received ("Enter the 6-digit code you received in the SMS." or "Enter the 6-digit code you received in the email."). A wrong code shows "The code is invalid or an error occurred while verifying the code."

Devolutions Portal confirms "Account recovery method was successfully added". When this is the first method of your account, the ***Recovery codes*** page opens right after.

### Recovery codes

"Your recovery codes can be used to access your account as a last resort. Keep them in a safe but accessible place." The Devolutions Account generates 10 recovery codes of 8 digits; each code can be used once.

1. The ***Recovery codes*** page shows the codes once, after your first two-step verification or recovery method is verified: "Make sure to save or print your recovery codes for emergency access to your account."
2. Save them with at least two of the three buttons, ***Download***, ***Copy*** and ***Print***: "You must use at least two methods (Download, Copy or Print) to continue." ***Download*** saves a PDF file named "Devolutions Recovery Codes", titled "Recovery Codes for your Devolutions Account".
3. Select ***Done***.

Leaving the page earlier asks ***Leave without saving your codes?***: "These recovery codes will never be shown again. Make sure you have downloaded, copied or printed them before continuing."

The ***Recovery codes*** item shows how many codes are left (for example, "8 left"). Afterwards, the ***Recovery codes*** page shows your codes hidden, marks the used ones, and shows "{codesLeft}/{codesTotal} recovery codes remaining". With no code left: "It seems you don’t have any recovery codes left." When neither two-step verification nor account recovery is set up, the page shows "Account recovery is not configured" with ***Set up two-step verification*** and ***Set up account recovery***.

To replace the codes, go to ***Sign-in & security*** – ***Recovery codes***, select ***Obtain new codes***, then reauthenticate in the ***Obtain new codes*** dialog: "This will generate new recovery codes and invalidate the old ones." with the warning "Your current codes will expire and will no longer be valid." Devolutions Portal confirms "You have successfully regenerated your recovery codes" and shows the new codes once; a failure shows "There was an error regenerating your recovery codes".

### Set up a two-step verification method

1. In Devolutions Portal, go to ***Sign-in & security*** – ***Two-step verification***.
2. Select ***Add verification method*** (the page without a method shows "It seems you have no verification method set"). Without an account recovery method, the page shows "It seems that you have no account recovery method set" and ***Add recovery method*** instead, and opening the setup page shows "Please set up your account recovery first.": set up account recovery first.
3. Complete the ***Reauthentication Required*** step.
4. Under "Choose your two-step verification method.", select ***Devolutions Password Manager Push*** or ***Authenticator App***, then follow the matching steps.

#### Devolutions Password Manager Push

1. Download and install Devolutions Password Manager on your mobile device (App Store or Google Play).
2. In the Devolutions Password Manager mobile app: open the menu, select ***Tools***, select ***Push Notifications***, then tap ***Add*** and ***Scan a QR code***.
3. Scan the barcode shown in Devolutions Portal ("Use Devolutions Password Manager to scan the barcode below."), then approve the pairing on the device.
4. The last step, "Wait for application synchronization.", ends with "Application Synchronization Complete!".

With Push, "On logging in, your authenticator application will prompt you to verify through a Push notification." The pairing must be approved within 3 minutes: "The process has timed out. If you want to retry, click the button below and scan the QR code again with Devolutions Password Manager." A declined pairing shows "The pairing failed because it was declined on the device. If you want to retry, click the button below and scan the QR code again with Devolutions Password Manager." Another failure shows "An unknown error has occurred. If you want to retry, scan the QR code again with Devolutions Password Manager." Select ***Generate New QR Code*** to try again.

#### Authenticator App

1. Download an authenticator app on your mobile device. Any standard authenticator app that generates time-based codes works, for example Google Authenticator, Microsoft Authenticator or Authy. The clock of the mobile device must be correct, otherwise the codes are refused.
2. Scan the barcode with the authenticator app ("Use your authenticator app to scan the barcode below."). If you cannot scan it, select ***Can't scan the barcode?*** and enter the ***Account*** and ***Key*** shown, as a time-based code.
3. Enter the 6-digit code generated by the authenticator app ("Enter the 6-digit code generated by your authenticator app."). A wrong code shows "The code is invalid or an error occurred while verifying the code."

Devolutions Portal confirms "Verification method was successfully added".

***Add verification method*** appears only when your Devolutions Account has no two-step verification method. To use another method, remove the current one first.

#### Security key

A security key or passkey added on the [Security key and passkey](https://docs.devolutions.net/portal/sign-in-and-security/security-key-and-passkey.md) page can be used as a two-step verification method, including a key set for passwordless login. At sign-in, ***Use a security key*** appears under ***Choose another way to sign in*** only when your Devolutions Account has recovery codes. Devolutions Portal suggests generating recovery codes before creating a security key.

### Preferred method and removal

* Select ***Set as preferred*** next to a method to have it offered first at sign-in. The method shows ***Preferred***. Account recovery methods have their own preferred method.
* Without a preferred method, the Devolutions Account offers methods in this order: security key, Push, Authenticator App, SMS, Email, recovery codes.
* Devolutions Portal confirms "Your preferred verification method was successfully updated" or "Your preferred account recovery method was successfully updated". A failure shows "There was an error updating your preferred verification method" or "There was an error updating your preferred account recovery method".
* Select ***Remove*** next to a method to delete it. Removing Push or an authenticator app asks ***Remove Authentication Method?***. Removing Push: "You will no longer be able to login via Push notifications through your" device. Removing an authenticator app: "You will no longer be able to login with the verification codes provided by your authenticator application." Removing an SMS or email recovery method asks ***Remove recovery method?***: "You will no longer be able to receive verifications codes through" the phone number or email address "to login." Devolutions Portal confirms "Verification method successfully deleted" or "Account recovery method successfully deleted".

Adding or deleting a two-step verification method sends a security email: "A two-step verification method has been added." or "A two-step verification method has been deleted."

### Sign in with two-step verification

After your password, the ***Two-Step Verification*** page asks for your preferred method. Select ***Choose another way to sign in*** to use another method or one of your recovery codes ("Use one of your recovery codes"). The sign-in flow is described in [Sign in to your Devolutions Account](https://docs.devolutions.net/portal/sign-in-and-security/sign-in-to-your-devolutions-account.md).


---

# 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/portal/sign-in-and-security/multifactor-authentication.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.
