Sometimes things can go wrong during a mailbox migration which will cause a mailbox to be orphaned. Things like a network link going down or the migration hanging on "Saving changes to the directory". If you have to forcibly terminate the migration task, you may find yourself left with an orphaned (disconnected) mailbox on the destination server. Then, when you try to purge the mailbox, you may receive this message:
ID no: c1034ad6
The operation cannot be performed because this mailbox was already reconnected to an existing user.
Here are some of your options:
Try migrating the mailbox again to the same destination. Exchange should know the orphan exists from a failed mailbox move and will automatically purge it, and attempt the move again. This does not always not work though.
Another alternative, is use ESM to have a look at the mailbox store properties on the store with the disconnected mailbox. On the Limits tab, do you have a check mark next to "Do not permanently delete mailboxes and items until the store has been backed up"? If you do, try backing up the store and purging the mailbox again.
Here's the final option (which worked for me) if all else fails, and you should ensure you have a recent backup of your stores before doing this. Using ADUC, find the other mailbox in your organisation that has the same display name as your disconnected mailbox. Right click on the user and use the Exchange tasks wizard to delete the mailbox from that user. Now go back into ESM and run the cleanup agent on your stores, and both mailboxes will be in a disconnected state. You will then be able to purge the orphan you want to get rid of. Next you should simply be able to right-click on the remaining orphan mailbox in ESM and use the 'reconnect' option, and specify the user account the orphan belongs to.
Edit: One more method as suggested below is setting the "Keep deleted mailboxes" option to 0 days and then running the cleanup agent on that mailbox store. Judging by more recent comments this seems to do the trick. Thanks Mike!
Technorati Tags: Exchange 2003, Exchange Admin
Great, the last point works fine. Thank you
Great post, straight to the point, made my day dude.
I was able to get around the problem by setting the Keep Deleted Mailboxes for 0 days. I then reran the cleanup agent and they were gone.
Mike's suggestion:
"I was able to get around the problem by setting the Keep Deleted Mailboxes for 0 days. I then reran the cleanup agent and they were gone"
worked for me as well
Setting this in the Limits Tab worked for me too.
unorthodox but effective!
thanks Mike
Fantastic! The last option worked for me as well - goodbye 10Gb mailbox...
Thanks so much Mike
Great advice. Keep Deleted Mailboxes for 0 days worked for me too. life saver(at least weeken saver!)....thanks.
Wow, this is a nice tip. Thanks a lot for sharing this tidbit.
Yeah great the keep deleted option removed the orphened accoutns from our mail move a treat - can stop worrying and getting grey hairs now - weel done.
Thank you, i already did the last one but without removing Do not permanently delete mailboxes and items until the store has been backed up..
know i get rid of the Orphan mailbox, COOL
FADEL J LUBBOS
This solution works perfectly.
Set the "Keep deleted mailboxes" option to 0 ; Selected "Do not permanently delete mailboxes and items until the store has been backed up"; Backed up the Mailstore;Ran Cleanup agent and all orphaned mailboxes disappeared.
Thanks
Rama
Big Thanks for 0 days
it works for me perfectly.
Running "Keep deleted mailboxes" option to 0 worked
Ben I really dont know how to thank you, I had corruption on one of my edb files, created another store and moved all the mailboxes to the new one, as per MS instructions, but had one which errored, also happened to be my Managing Director
Did the bit about ADUC and worked like a dream, finished off a 13 hour nightmare, but final mailbox is recovering and everything is working.
Thanks once again
Mike
Mike: I'm glad I could help!
Great post,
I also found that post useful http://www.kreslavsky.com/2008/06/how-to-clean-duplicate-mailboxes-with.html
The deleted for 0 days worked a treat ... cheers