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 Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,205 views 4 6
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