Solved

Moving user from child domain to parent domain

Posted on 2015-02-02
6
1,397 Views
Last Modified: 2015-02-03
We are trying to move a user from a child domain ca.domain.com to the parent domain.com.
I was using the Active directory Migration tool and it seemed pretty straight forward until we got an error.

The error we got was
2015-02-02 13:54:27 ERR2:7422 Failed to move source object 'CN=John Doe'. hr=0x8007208c  The operation cannot be performed because child objects exist. This operation can only be performed on a leaf object.

Looking online it looks like this is because the user has an active sync device connected and we need to use ADSI edit to delete this before migrating.

The question I have is if we delete this active sync object from AD will the user have to setup email on their phone again or what can we do to make this seamless to the end-user?

Thanks
0
Comment
Question by:fixitben
  • 3
  • 2
6 Comments
 
LVL 25

Expert Comment

by:Mohammed Khawaja
ID: 40584911
You would need to setup email on the phone again.  Another way around this would be to use a MDM solution such as XenMobil, AirWatch, etc. where you can provision the devices remotely.
0
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 40585296
You do not need to use ADSIEdit to remove leaf objects. Simply Open Active Direcotry Users and Computers> Click View> select User,Contact, Groups and Computers as Containers. From there find the user expand the object and remove it from there.

This would be a safer way to remove the leaf object.

Also you will have to re-add the phone once this is removed.

Will.
0
 
LVL 7

Author Comment

by:fixitben
ID: 40585302
What do you mean by add the phone? Remove the account from the phone and set it up again? Would it be better to removed the account from the phone first then delete the leaf then add the account back on the phone.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40585305
Removing the account from the phone first would be the easier approach. This way you can ensure that when you remove the entry from Active Directory it will not mess up the phone and give you problems trying to remove the account, without wiping it.

Will.
0
 
LVL 7

Author Comment

by:fixitben
ID: 40585331
Why can't you move the lead object?
0
 
LVL 7

Author Closing Comment

by:fixitben
ID: 40587396
Thanks for your help. I was able to remove the account from the phone then delete the leaf object and it worked great. One thing I didn't realize is you have to delete the exchange folder in AD not just the synced devices. If you removed the devices and leave the folder behind they are in it won't work.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Find out what you should include to make the best professional email signature for your organization.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
how to add IIS SMTP to handle application/Scanner relays into office 365.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question