Script to go from Mailbox to Mailbox Enabled User Failed, Now What?

Posted on 2014-08-16
Last Modified: 2014-08-17
I am in the process of migrating from Exchange 2007 (SBS 2008) to Office 365. I have been following these steps:

Step 1 is finished with no issues.
Step 2, however, I have had a major problem. While the 2nd script was running, I received error messages that unfortunately I don't have anymore because they rolled out of EMS before I could copy them. The basic gist of the error was that it couldn't create a mail enabled user. The script then proceeded to delete the mailboxes so now I cannot run the script again.

So, I need the local AD users to be mail enabled users in order for the dirsync to work properly. How can I do this now that this script failed and deleted my mailboxes??

Thanks so much in advance for your help!
Question by:MrComputerIT
    LVL 38

    Accepted Solution

    I guess you are referring to the scripts here:

    You can manually mail-enable a user, using the following cmdlet in EMS:

    Enable-MailUser  -Identity user -ExternalEmailAddress

    Open in new window

    Make sure you add at least the primary SMTP Address and the WindowsEmailAddress values that match the cloud ones. You can reference the cmdlets in the script, or simply modify it to get the needed values from the input CSV, instead of doing a mailbox lookup.

    Converting to mail-enabled users is not a mandatory step, but it does help with management/Outlook configuration.

    Author Comment

    I think I've asked the wrong question after speaking with Microsoft last night. I'm going to accept your answer, but I've asked a new related but totally different answer about this issue. Here is the new question if you are interested:

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Easy CSR creation in Exchange 2007,2010 and 2013
    Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    733 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

    24 Experts available now in Live!

    Get 1:1 Help Now