Importing Users from another Crowd Directory


I am trying to import the existing users from an old Crowd directory into a new one but I keep getting the following error: User Encryption Algorithms must match between directories

What I did is as follows:

  1. In old Crowd (2.7.1) I added a new Generic Application (to allow the new Crowd Server to connect)
  2. In the new Crowd (2.7.2) I added a new Remote Crowd directory (LEGACY Users)
  3. In the new Crowd I can see all the users I need in the "Legacy Users" directory
  4. In the new Crowd, went to users -> Import Users -> Directory Importer
  5. Chose "Legacy Users" as source and the internal directory as Destination
  6. Clicked Continue and I got the error from above.

Can anyone please tell me what I am doing wrong?

Thank you!

2 answers

1 accepted

1 vote
Accepted answer

To expand on Tiago's answer, you won't be able to import from a remote crowd directory to an internal directory because there's no way to get the passwords from the Remote Crowd directory. Crowd uses the Crowd REST APIs to get the users from the remote Crowd dir ("legacy users" dir in your case), but the password is not available through the rest APIs. So that's why you get the error about encryption algorithms needing to match - the remote crowd directory doesn't have an encryption algorithm because the passwords are always left in the remote crowd instance.

Thanks Caspar. I finally used a CSV export directly from the Database of the legacy system (as per the following link: and then used the CSV import option and that worked out fine.

Hi Mircea, this is related to the Password Encryption algorithms that is defined in the directories, both directories need to have the same algorithm, otherwise the import won't work.

You can check the algorithm of your directories with the following query:

SELECT attribute_value FROM cwd_directory_attribute where attribute_name='user_encryption_method' and directory_id='XXXXXX';

I hope it helps.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

84 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you