How to migrate Confluence from one Active Directory to another?


I have an existing Confluence installation which is tied into our old Active Directory (AD). Company staff log into Confluence using their AD account. Other users are created using the Confluence internal directory (clients, suppliers, etc) and they authenticate against that.

I have a new AD at our new premises (a whole new network), with Company staff created within it. Their AD usernames are the same across both ADs, and we have a new Confluence installation tied into that new AD (this time using Crowd).

I need to migrate the spaces from the old Confluence to the new (which seems to be an established process). However in doing so, when a user logs into the new Confluence, will the relationship between content author and content be maintained?

Is there also a way of migrating the internal directory users from our old Confluence to our new, or do I have to re-create them all from scratch and re-issue passwords etc?

Many thanks


2 answers

Generally if the username is exacty the same then the association will be correct. If the groups are different in the two ADs then you may have to correct imported spaces permissions etc..

Of course, test this first :) But generally I have had few issues if the usernames are the same.

After having experience doing this migration many times on 4 jira/confluence instances, I would say that the easies method is to do it at database level:

Look inside cwd_directory and cwd_directory_attribute and swap the config while the jira/conf is down.

Remember to backup first!

These LDAP configurations are read only on Confluence startup?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

783 views 33 5
Join discussion

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