Exchange mailbox re-association

We have many linked mailboxes on our exchange 2010 SP3 server that are associated to user accounts on a trusted domain.  We are collapsing the old trusted domain and we need to re-associate the linked mailboxes to user accounts on the local domain.  Is there a procedure for this?
rckollarAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IvanSystem EngineerCommented:
Hi,

This is how I have done migration of users from resource forest back to account forest (which is what you have).
These are some basic steps, so grab a link or two, and you should be able to do it..

1. Export ProxyAddresses attribute from Source forest users and import into Target forest.
2. Mail enable users (MEU) in target forest.
     http://technet.microsoft.com/en-us/library/aa996549(v=exchg.150).aspx
3. Import ProxyAddresses attributes into MEU
4. Use Prepare-MoveRequest.ps1  script to prepare target MEU for merging with source mailbox's
     http://technet.microsoft.com/en-us/library/ee861103
5. Migrate groups, ADMT or something..
6. Migrate mailbox's
    https://technet.microsoft.com/en-us/library/ee633491

Link:
http://blogs.technet.com/b/meamcs/archive/2011/06/10/exchange-2010-cross-forest-migration-step-by-step-guide-part-i.aspx 
http://blogs.technet.com/b/meamcs/archive/2011/10/25/exchange-2010-cross-forest-migration-step-by-step-guide-part-ii.aspx 

Regards,
Ivan.
0
rckollarAuthor Commented:
That's not quite what I need.  The mailboxes do not need to be migrated since they are already in the local domain.  I just need to re-associate them to an AD account in the local domain in place of their currently associate trusted domain accounts.
0
Jeffery HayesSystem Support Technician Commented:
connect-mailbox should work if your environment was once before MBX disabled on the local environment and then MEU on the other domain.

If this is the case you can then disabled all the Mail Enabled users and then just disable the mailboxes and then connect them back to themselves.

For example https://technet.microsoft.com/en-us/library/bb123490(v=exchg.141).aspx
Connect-Mailbox -Identity Jeffery.Hayes -Database 'MBX1-11' -Alias Jeffery.Hayes

That should work just to enable the local mailbox

But if that is the case then you could script this out to make life easier.

Do both Samaccountnames match the same value in the trusted domain as they do on your other local domain?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rckollarAuthor Commented:
The user accounts were different on the 2 domains.  When I try the disable and then user the connect-mailbox to reconnect the to the local domain, I get a mailbox is disabled when trying to access the box.  I checked the AD account and it is not disabled.  What could be causing that?
0
rckollarAuthor Commented:
Jeff,

You solution worked!  I just had to run the command Get-MailboxDatabase | Clean-MailboxDatabase after each re-connect.  Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.