

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Delete AD User Operator throw error
hi, I am using the delete user operator under /Base [1.9.1]/Library/Operations/Active Directory/.NET/Users/Delete User
When I attempt to delete a user I notice that there is an error “ad user The directory service can perform the requested operation only on a leaf object”.
Am not too sure if this is due to this user has multiple ipad devices tagged to him (attached the AD tree) therefore it meant that the user was not the leaf object. Like to check if anyone knows if there are there any other AD operators in HPOO which can help to address this.
AD_TREE
HPOO Tree

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I guess you have the same behavior with the java version of the Delete User, right?
One option would be to take a look at the Remove-ADObject as it has a recursive option and use that together with a powershell script operation from OO.
/Library/Operations/Active Directory/Java/Users/Delete User
/Library/Operations/PowerShell/PowerShell Script