# Migrate AD users to internal user database

**URL:** <https://community.jenkins.io/t/migrate-ad-users-to-internal-user-database/2892>\
**Category:** Using Jenkins\
**Created:** [June 30, 2022, 7:09pm UTC](https://community.jenkins.io/t/migrate-ad-users-to-internal-user-database/2892 "2022-06-30T19:09:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![focuspok](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/focuspok/32/1765_2.png) [@focuspok](https://community.jenkins.io/u/focuspok)\
**Post date:** [June 30, 2022, 7:09pm UTC](https://community.jenkins.io/t/migrate-ad-users-to-internal-user-database/2892/1 "2022-06-30T19:09:00Z")

</div>

Hi,

We are currently using Active Directory authentication. We want to move to Jenkins’ own user database. How can you not lose each user’s own settings and make the transfer run smoothly?

The current version is Jenkins 2.346.1.

Thank you for your help,  
Gabor

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [July 1, 2022, 6:51am UTC](https://community.jenkins.io/t/migrate-ad-users-to-internal-user-database/2892/2 "2022-07-01T06:51:18Z")

</div>

Hello @focuspok and welcome to this community 👋

I don’t know if that would work, that’s just a suggestion.  
There are lots of tools that are able to export Active Directory users to `CSV` files.  
There are also scripts here and there that can import users into Jenkins’ database (with an `XML` format).  
So at the bare minimum, you would have to write a script that converts from the `CSV` output to the `XML` input… But I don’t know if you would get unencrypted password via the Active Directory export, or if anything else would be missing.  
I haven’t found any plugin that could do the whole job, which doesn’t mean it does not exist.

Let’s hope that someone more knowledgeable will chime in and give you better suggestions.
