Exchange 2003 -- Reconnecting mailboxes.  Odd request.

Posted on 2011-10-20
Last Modified: 2012-05-12
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?
Question by:mgudites1
    1 Comment
    LVL 12

    Accepted 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.

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
    This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now