How To Delete Accounts And Group Folders

Hi, I ran an AD sync job and then changed the settings to run it a second time. The folder from the first run still persists, so how do I delete it? When I try to delete it normally by right clicking, I get

"Cannot delete /'folder_Name'\ folder, as it is a System Folder"

Comments

  • kairo_Decisions
    edited January 3

    Folders created under the System folder, such as folders created from AD Sync jobs cannot be deleted the normal way. We'll need to use either queries or a utility flow for this. Before running queries, we recommended storing a backup of the database.

    To use queries, you'll need to right click each folder > manage > get folder ID. Then right click a designer folder > other > query editor.


    Once you have the folder ID, run this query:

    delete from entity_folder

    where folder_id = 'folder_id'


    After running this query or queries, restart services and you will see the changes reflected in the accounts and groups folders.

    The other option is running this attached Utility flow. It requires a folder ID as input, and it will then delete the folder. The changes will be reflected once you restart services.

    Thanks!

Sign In or Register to comment.