Chuck Exchange mailboxes into the cloud... sysadmin style
UC certificates, MX records and how to make a teeny bit of extra dosh
Sysadmin blog How do we migrate Exchange mailboxes into the cloud? A customer of mine has recently approached me with a request to move his mail hosting into the cloud, and it had to include BlackBerry support. After some discussion of the options available, a hosted exchange solution was deemed best, with Microsoft's own Office 365 emerging the winner.
I've migrated dozens of Exchange installations to Google Apps and Microsoft's BPOS without issue, but this will be my first production Office 365 client. It is an excellent test migration; the client is looking to migrate less than 15 users and an unknown number of shared mailboxes/mail enabled public folders from an SBS 2008 (Exchange 2007) installation.
Cutover deployments result in one of two flavours: either you have Single-Sign-On (SSO) enabled or you don't. As SSO is something that is generally enabled after the migration is completed, I'll address SSO in a separate article.
If SSO isn't enabled, then accessing your email really isn't all that different from any other web-based provider. Each user will have their own username and password, and they are completely separate from the local usernames and passwords. Office 365 has its own password requirements, but is otherwise pretty standard fare.
The advantage to Office 365 over other solutions is simply that this is a hosted version of exchange. All the lovely bits that make Outlook + Exchange the most popular business mail combination on the planet are available without you having to fuss over the server.
Getting the migration done
First, change the domains MX record TTL in DNS to the shortest possible timing allowed by the DNS provider. This is probably the most important step. When you do your cutover from locally hosted to cloud hosted email, you need your DNS changes to propagate as quickly as possible.
Next we need to enable Outlook Anywhere. This is required to perform the migration from the extant exchange server to Microsoft's cloud.
Create the customer's Office 365 account. If you're set up as a reseller of Microsoft's Office products, then sign in to https://portal.microsoft.com under your account (likely the yellow sticky under your keyboard where the username ends with @yourcompany.onmicrosoft.com) and use the "invites" system.
To do this, once you are logged in click on the word Partner at the top of the screen, and then you can either send a trial invitation or create a purchase offer. By using the invite system you'll get some fraction of the subscription revenues; why throw away free money? After the customer's account is created we log in to their account and start a migration batch from within the Office 365 control panel. This is fairly straight forward and will run you through connecting Office 365 to the local exchange server's Outlook Anywhere.
Right about now you should change your public DNS's MX records to point to cloud provider. Take a coffee break: we need to wait for MX records to propagate, as many DNS providers put a minimum TTL in place that overrides your settings.
After your coffee, complete the migration. This runs a last "sweep" across the local server to move any remaining emails to the cloud that may have accumulated during the MX transition period.
Finally, close the local mail server's firewall ports; it is better for mail to bounce (for those whose DNS providers don't respect TTL) than to accept mail to a server no longer in use. At least bounces provide the sender with a signal that something has gone wrong, and they should try alternate methods of communication.
That's it, we're done! One Exchange server cloudified. This is just part one of two – things get significantly more complicated when SSO is involved – but we'll jump off that bridge in the next article. ®
Now I actually have some resentment at that statement, sir. Do you have any idea how long it took me to wade through Microsoft's myriad documentation and figure out exactly what needed to be done for this stuff? MS is great at churning out whitepapers. Not so great at cutting them down into a single document and making them comprehensible.
After I had done the legwork and made the document for my own use internal to my company, I simply figured that it would be something that some of my readers could use as well. That way, when the time comes, they don’t have to go slogging through the incomprehensible mess that is Microsoft’s unsearchable, disorganised, chaotic mess of an online presence seeking this info.
Instead, I you now have all the links and a step-by-step. Might not mean much to you today, but when the call comes, you’ll remember you saw it on The Register. And El Reg’s Search actually works.
Probably about the same as the wide range of tools Google provide for moving away from Google Apps - ie none whatsoever. We found that out after head office signed us up...
Would it not be easier to set up Office365 as a lower preference MX record.
Then when it comes time to swap over, simply shut down the ports on your firewall, the email will automatically get routed to the next MX record and there are no bounce backs. Then you can simple change the MX records at your leisure?