Yes you can have two exchange accounts on the iPhone

You can now have multiple exchanges accounts setup for push email, calendar, and contacts on your iPhone through this simple hack. This has been a question I’ve had since I’ve bought the iPhone, however I’ve never been able to find a solution. Let me say first, yes it’s possible to have two, three, or four exchange accounts on the iPhone, and they don’t have to be on the same exchange server. Second let me say you have a jailbroken phone, or you must jailbreak it first. If not your screwed, and won’t be able to do this. Read below for the instructions, and yes it works. The credit goes to Modmyi.com. The only reason I made this guide is so you don’t have to go through the whole forum to get instructions, and read all the posts.

Prerequisites

1. Your iPhone must be jailbroken.

2. You need to install SSH on your iPhone (google it if you need these instructions).

3. Install WinSCP if you don’t have it already on your windows machine.

4. Download the plist editor for windows.

5. Have one exchange account setup on your iPhone already.

The process

1. First connect using WinSCP to your iPhone.

2. Navigate to /private/var/mobile/Library/Preferences/.

3. Download the file com.apple.accountsettings.plist, and also make a backup of this file in case you screw something up (actually make double backups).

4. Open this file with the plist editor.

5.The file should like something like the below depending how many email accounts you have. Navigate to the exchange account you already have setup, now copy that set from the <dict> to the </dict>

<dict>
<key>ASAccountEmailAddress</key>
<string>account1@gmail.com</string>
<key>ASAccountHost</key>
<string>m.google..com</string>
<key>ASAccountMailNumberOfPastDaysToSync</key>
<integer>0</integer>
<key>ASAccountUseSSL</key>
<true/>
<key>ASAccountUsername</key>
<string>account1@gmail.com</string>
<key>ASLastKnownProtocolVersion</key>
<string>2.5</string>
<key>Class>/key>
<string>ASAccount</string>
<key>DAAccountPersistentUUID</key>
<string>47F76882-2678-41C7-91B9-5D1AD5F76BFA</string>
<key>DAAccountVersion</key>
<integer>2</integer>
<key>DATrustSettingsExceptions</key>
<dict>
<key>b8fa0b7f 0e99494e e3210953 21fa4725 65454492</key>
<data>
YnBsaXN0MDChAdICAwQFW1NTTEhvc3RuYW1lWlNIQTFE
aWdlc3QITxAUuPoLfw6ZSU7jIQlTIfpHJWVFRJIICg8b
JicAAAAAAAABAQAAAAAAAAAGAAAAAAAAAAAAAAAAAAAA
Pg==
</data>
</dict>
<key>DisplayName</key>
<string>Gmail</string>
<key>Enabled Dataclasses</key>
<array>
<string>com.apple.Dataclass.Calendars</string>
<string>com.apple.Dataclass.Contacts</string>
<string>com.apple.Dataclass.Mail</string>
<string>com.apple.Dataclass.ContactsSearch</string>
</array>
<key>Identifier</key>
<string>F4EBDF4A-8C1E-486E-89A8-766C1C5D8170</string>
<key>Short Type String</key>
<string>Exchange</string>
<key>Sync Identifier</key>
<string>F4EBDF4A-8C1E-486E-89A8-766C1C5D8170</string>
<key>Type</key>
<string>Exchange</string>
<key>Type String</key>
<string>Exchange ActiveSync</string>
<key>kASAccountVersionKey</key>
<integer>7</integer>
</dict>

6. Now paste that right below the first exchange account (after the </dict>).

7. Now edit the following fields in the second exchange set you just pasted. ASAccountEmailAddress, ASAccountEmailUsername, DisplayName. You will need to change the last four digits of the DAAccountPersistentUUID to whatever you want. Now copy the new DAAccountPersistentUUID string that you just changed, and replace the Sync Identifier, and the Identifier strings with this. So this new string should be in three places now. If your exchange accounts are on different servers, then you will need to change the ASAccountHost to reflect the server name for this new account.

8. If you want to add multiple exchange accounts (more than two), repeat 6 and 7. Now save this file and upload it back to your iPhone.

9. Once the upload is complete go to settings, and mail, contacts and calendars on your iphone. Find the new exchange accounts, and click on account info, and put in the passwords for these new accounts. That’s it. Now you have multiple push exchange accounts.

  1. Just wasting some in between class time on Stumbleupon and I found your article . Not typically what I prefer to learn about, but it was definitely worth my time. Thanks.

line
footer