Unable to delete or deactivate users

We have a number of users listed that we are unable to edit and this is taking us over the user limit of our licence. I think the problem is that we use LDAP authentication and the users have been removed from the Active Directory but not from Confluence. Therefore, when I now try and delete the user I just get a message stating that the user can not be found.

I have seen some posts about deactivating a user instead of deleting them, but the is no option to edit the users concerned with this issue.



4 answers

Try and remove the users from the Confluence user group.

Also you can try run this sql to deactivate users from database. Please, keep in mind that we always recommend to try through the application, but when running a sql query we recommend first to backup the database.

UPDATE cwd_user SET active = 'F' WHERE user_name in ('john', 'james', 'peter')

Hi Ducan

I believe that your case is related to the following link:


Also, perhaps you may try the following workaround:



Paulo Renato


Thanks for the answers. Ended up being the option of adding a user account with the same username as teh original account to the AD, then removing from Confluence then deleting the AD account.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

272 views 2 10
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