• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 344
  • Last Modified:

Exchange 2003 -- Reconnecting mailboxes. Odd request.

I won't go into details about why we need to do this, but:

We are going to be disconnecting about 5000 Exchange Mailboxes from their associated AD accounts, because those AD accounts will now be associated with email accounts that don't live on our Exchange server.

As for the disconnected mailboxes, we want to create NEW AD accounts for them, and connect the mailboxes to them.  The new accounts will have the same usernames, except with something appended to end of them (for example 'user' will now be 'user_temp', 'user1' will now be 'user1_temp').  I've been reading up on how to do a mass reconnect of mailboxes, but everything I've seen looks like it tries to match the username, which will nolonger be the same.  I'm not sure if there's a way to script doing this so it looks for the new username?  Or, make it so it'll create new usernames for these dead mailboxes based on criteria I specify?
1 Solution
How about a workaround:
1. Disconnect mailboxes from 5000 original accounts (let's call these A)
2. A accounts renamed to a temporary placeholder, e.g. a-<username>. This can be done en-masse as well.
2. 5000 new accounts created with original names (let's call these B).
4. B accounts connected to mailboxes that belonged to A which can now be done en masse, since the accounts are the same.
5. B accounts renamed to <username>_temp.
6. A accounts renamed back to original names.

All above actions can be performed en masse. You would need to ensure AD update and AD and Exchange convergence during the process. It is also a good idea to work out if your Recipient Policies are affected in any way - in other words, if usernames play a major role in email address assigning.

Good luck.
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now