Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

[AEM 6.1] Bulk User Delete

Avatar

Level 3

Hi All,

What would be a better way to bulk delete users from AEM 6.1 author (like server/computer accounts not needed on AEM) which got synched from our Active Directory? This number is quite big ~ around 5000.

Appreciate your help!

 

Thanks,

Ramya

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Ramya,

  Since it synced from ldap.  Configure the ldap filter such that it will not return the user no more needed. Then from osgi run purge on ldap mbean.

Thanks,

View solution in original post

4 Replies

Avatar

Correct answer by
Level 9

Hi Ramya,

  Since it synced from ldap.  Configure the ldap filter such that it will not return the user no more needed. Then from osgi run purge on ldap mbean.

Thanks,

Avatar

Level 3

Hi,

Thanks for your advise!

I was looking to purge the orphaned users using the LDAP MBean. The Jackrabbit Api does not clearly mention what the orphaned users are.  I see that the some of the users returned in Orphaned users list are still active users in the Active directory. Do you know what the Orphaned users are?  

Thanks,

Ramya

Avatar

Level 9

Hi Ramya,

The user exist in AEM but not available in ldap OR disabled in ldap.  Your filter plays a major role here to get right set of valid ldap users.

Thanks,

Avatar

Level 1

Hi , how exactly to add this filter and where do we configure this?
I need to delete all synced users from LDAP from AEM altogether.

Thanks in advance.