> 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/knowledge-base/how-to-articles/migrate-users-to-another-authentication-provider.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Migrate users to another authentication provider

Migrate users and user groups to another authentication provider in Devolutions Server, mapping accounts between Domain, Microsoft, Okta, and PingOne.

These instructions explain how to migrate the user accounts and user groups of Devolutions Server from one authentication provider to another with the ***Authentication migration*** wizard. Here are the providers available for migration:

* Each configured ***Domain*** (listed by domain name)
* ***Microsoft***
* ***Okta***
* ***PingOne***
* ***Devolutions Server*** (can only be migrated **from**)
* ***Database*** (***SQL server***), the SQL Server users of a migrated Remote Desktop Manager SQL Server workspace (can only be migrated **from**)

All the providers listed above can be migrated to—and from—one another, with the exception of ***Database*** and ***Devolutions Server***, which cannot be migrated to. Contractor users are not migrated. A domain can be a destination only when domain authentication is configured.

The ***Authentication migration*** tool is available only when at least two authentication providers are configured in ***Administration*** – ***Server settings*** – ***Authentication*** (each configured domain counts as one provider; ***Database*** does not count). The tool can be found in three locations on the web interface of your Devolutions Server instance:

* ***Administration*** – ***Server settings*** – ***Authentication***
* ***Administration*** – ***Users***
* ***Administration*** – ***User groups***

{% hint style="info" %}
To migrate users and user groups to the same Identity provider (for example: Active Directory to another Active Directory), the information under ***Administration*** – ***Server settings*** – ***Authentication*** must be changed to the new domain before using the authentication migration tool.
{% endhint %}

### Migration steps

1. The ***Introduction*** step lists the operations strongly suggested before going any further: "Create a full backup of your database", "Run the authentication migration outside business hours", and "Run the authentication migration while logged in as a Devolutions Server user with administrative rights". Click ***Next***.
2. In the ***Options*** step (***Select source and destination***), select the source and the destination of the migration.
3. In the ***User mapping*** step, the wizard automatically matches the accounts that are similar. Select the other accounts manually.
4. In the ***User groups mapping*** step, some groups are also matched automatically by the wizard; map the rest manually.
5. The ***Confirmation*** step shows the number of selected users and user groups, and the ones that will not be migrated (***Will not be migrated:***).
6. Click on the ***Start migration*** button to start the process. The ***Migration summary*** step shows the users and user groups successfully migrated; ***View errors*** lists the ones that failed.


---

# 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/knowledge-base/how-to-articles/migrate-users-to-another-authentication-provider.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.
