[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2014-08-16
Medium Priority
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 44

Accepted Solution

Vasil Michev (MVP) earned 2000 total points
ID: 40265835
I guess you are referring to the scripts here: http://community.office365.com/en-us/f/183/t/16717.aspx

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

Enable-MailUser  -Identity user -ExternalEmailAddress user@domain.com

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

ID: 40266451
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

834 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