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

This widget could not be displayed.

Try and remove the users from the Confluence user group.

This widget could not be displayed.

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')

This widget could not be displayed.

Hi Ducan

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


Also, perhaps you may try the following workaround:



Paulo Renato

This widget could not be displayed.


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
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

468 views 6 6
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