Our instance of Confluence is pointed at an external LDAP directory that contains several hundred LDAP groups. We are using the auto-provisioning feature that provisions/creates a new user account in Confluence when the user successfully authenticates against the external directory. Along with the user accounts, all the users' LDAP groups are imported into Confluence as well.
All well and good, as this is the user provisioning solution we want. However, in hindsight it's clear that we chose the wrong LDAP directory and now have several hundred LDAP Groups that clutter the management interface. Going forward we have implemented a Group filter (LDAP query) in Confluence that will ensure we only import the LDAP groups we want. But we still need to delete all the excess Confluence Groups. Is there a way to delete multiple groups at once instead of going one-by-one through the admin user interface?
We would certainly appreciate any thoughts. Thank you.
I'm not sure whether this will work or not. But make sure you have not allowed Confluence to edit the LDAP. You can then use Confluence CLI (https://bobswift.atlassian.net/wiki/display/CSOAP/Confluence+Command+Line+Interface) to delete them all at a go.
The Confluence Command Line Interface add-on appears to be a solid option, however I do not have any information at this time about whether CLI supports the specific "mass delete" functionality we are interested in. I have passed the CLI option along to the team managing our instance of Confluence, but for now we have decided not to pursue this inquiry further. Timothy, thank you for the lead. Perhaps in the future, we will dive back in and take a deeper look.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...
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!
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