October 22, 2014

How To Set Up Multiple Exchange ActiveSync Accounts in iPhone iOS 4

iPhone Exchange ActiveSync Series

This blog post is probably out of date. If you want to set up Exchange ActiveSync, you should instead consult one my guides:
iPhone Exchange ActiveSync Setup iPad Exchange ActiveSync Setup
iPhone ActiveSync Troubleshooting iPad ActiveSync Troubleshooting

That's right: I now have five Exchange ActiveSync accounts on my iPhone!

Among the many exciting features of Apple’s version-4 iPhone OS is the long-awaited ability to sync to multiple Exchange ActiveSync servers. The new software, now dubbed iOS 4, can synchronize mail, contacts, and calendars between many different services that use Microsoft’s Exchange ActiveSync protocol, including Microsoft Exchange 2003, 2007, and 2010 and Google’s Gmail service.

Who Needs Multiple Exchange Servers?

You may be wondering if you need this capability. After all, only business people commonly use Microsoft’s corporate Exchange email server, and they tend to only have a single account. But Microsoft’s Exchange ActiveSync protocol is widespread: It is supported by Google Gmail, Microsoft Live Hotmail, and many other services. Contrary to expectations, most people actually do have an Exchange ActiveSync account, and many have more than one!

I currently use no less than five Exchange ActiveSync accounts, and I’m very pleased to have all of them successfully synchronized with my iPhone. I use Google’s Gmail service for personal mail as well as two Google Apps domains (GestaltIT.com and Fosketts.net). I also have two genuine Microsoft Exchange server accounts belonging to corporate clients. It’s amazing to have all of these up and running on the iPhone!

How To Set Up Multiple Exchange ActiveSync Accounts

Setting up a Google account as Exchange instead of IMAP brings additional functionality

It’s really quite simple to set up multiple Exchange ActiveSync accounts in iOS 4: You just do it. Where the old iPhone OS would complain if you tried to enter a second Exchange ActiveSync account, iOS 4 happily accepts them. It’s not clear what the limit is: I set up five Exchange accounts and see no limit in sight!

Refer to my iPhone Exchange ActiveSync Guide for step-by-step instructions on setting up Exchange ActiveSync on the iPhone. I’ve also put together an iPad Exchange ActiveSync Guide.

Note that many folks, like me, had already added their extra Gmail and Exchange accounts as IMAP, since the old iPhone OS had no trouble with these. In this case, you should disable these accounts first to avoid trouble. I decided to turn off my old IMAP accounts rather than deleting them, just in case I needed to fall back to this method in the future.

Look at that! A unified inbox! But why all those other inboxes?

Note that iOS 4 also includes two long-awaited features: A unified inbox and threaded message view. These work great with multiple Exchange ActiveSync accounts, allowing quick access to all your messages.

Quirks and Bugs

Apple seems to have used an incorrect (too short) Exchange server timeout. If you are running iOS 4.0, you should install the Exchange timeout profile (per Apple TS3398) by clicking here from the iPhone and rebooting.

Although iOS 4 mail is much nicer, it’s far from perfect. Most importantly, all this only works on iOS 4 compatible hardware: The iPhone 3G, 3GS, and 4. The original iPhone has to stick with 3.0 and its single-Exchange limit.

Apple may have added a unified inbox, but they made the mail app list even more cluttered by listing everything three times: Once in the unified inbox, again with a line-item per account inbox, and a third time per-account. Odd.

By default, every Exchange account added is named “Exchange” rather than using the email address like other account types. This is ugly, and requires the user to manually change the account name in Settings->Mail to avoid confusion.

It took a while for the Calendar app to synchronize, and it used incorrect calendar names for a while. Also, it seems to only synchronize the default calendar, not any others you might have.

iOS 4 will happily maintain duplicate contacts in one or more lists. I synchronized Address Book with Gmail and Entourage, so all of my contacts were listed four times. It’s probably best to synchronize only one contact list to avoid this situation.

Pay no mind: You won't lose all your Exchange contacts, just those from this account!

When you turn off contact synchronization, iOS 4 pops up a disturbing warning that “all Exchange contacts will be removed.” They won’t. It will only delete the contacts from that one Exchange ActiveSync account.