Ammar's Blog

The operation cannot be performed because child objects exist. This operation can only be performed on a leaf object.

Active Directory and DNS

The operation cannot be performed because child objects exist. This operation can only be performed on a leaf object.

I wanted to migrate some users from my Root Domain to Child Domain using ADMT Tool. Most of the users I migrated successfully but so I could not with the following error:

“ERR2:7422 Failed to move source object ‘CN=User Name’. hr=0x8007208c  The operation cannot be performed because child objects exist. This operation can only be performed on a leaf object.”

Upon searching online, I understood that in the multiple domain environment (W2K12R2, W2K16) when moving an object from one domain to another we will face an issue where we can move only the LEAF object but not the container. In order to migrate the user we need to completely remove the container associated with msExchageActiveSync.

On the source server

ADSI Edit –> Default naming context –> Browse through the effected user and the following folder:

CN=ExchangeActiveSyncDevices

Open elevated Windows PowerShell and do a force replication once:

PS C:\> repadmin /syncall /APed

Then you can successfully migrate the user using ADMT Tool.

 

Leave your thought here

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Topics