When you move from one Microsoft Exchange service to another, such as from an internal Exchange server to Office365, and want to retain the current profile, you cannot remove the original Exchange account from your profile.
The primary account cannot be removed unless it is the only account in the profile. You must remove all other Exchange accounts before removing the primary account account.
Logically, making the new email account and it's data file the default should work, but changing the defaults doesn't change the primary or principal account.
Primary Exchange Account
The primary Exchange account is the first account added to the profile. The primary account cannot be removed from a profile until all other Exchange accounts are removed from the profile (when the primary is removed, the next Exchange account added is considered the primary).
All other Exchange accounts added to a profile are considered secondary accounts.
The recommended method to change the primary account is to recreate the user’s profile and add the appropriate account first. However, there are two other options: edit the registry then remove the primary Exchange account from your profile or add a pst file to the profile, set it as default then remove the Exchange accounts.
Removing the Primary Account
You have three choices when you need to remove a primary account from your profile. You can make a new profile (recommended), remove all Exchange accounts from your profile then add the new account back, or remove a key from the registry so you can delete the primary account from the registry.
While making a new profile might be faster (and is the recommended method), there is a convoluted method you can use to change the primary account and keep the profile, retaining profile-specific settings.
Go to Control Panel, Mail and remove all of the Exchange accounts from the profile, removing the primary account last. You'll need to add a pst to the profile and set it as the default data file, then restart Outlook.
Close Outlook and return to the Control Panel, Mail applet and add the new account. (In my experience, the new account may not be listed in until you restart Outlook.)
Remember: the first account added to the profile is the primary account
Restart Outlook. Go to account settings and set the *.ost as default. You'll need to restart Outlook one more time to remove the *.pst from your profile.
I said it was convoluted, although it's not bad if you only have a couple of Exchange accounts... if you have a lot of Exchange accounts or the mailboxes you are keeping in the profile are huge, you can edit the registry to remove the 'primary' flag then delete the account. Editing the registry is generally the better option when the mailboxes will take a long time to re-sync (or you are on a metered connection) or if you have a lot of Exchange accounts in your profile.
Remove the primary account by editing the registry
You can edit the registry to remove the primary assignment, however it is not supported and not recommended by Microsoft. If you mess up, you will need to make a new profile, restore the profile key you exported, or use System Restore to go back to a previous restore point.
Close Outlook and open the registry editor.
Press Windows key + R to open the Run command then type regedit in the Run field and press Enter.
Tip: Export the profile key before editing, so you can recover your profile if you make a mistake.
In Outlook 2016, the profile key is at:
In Outlook 2013, the profile key is at:
To remove the Outlook 2010 primary account from the registry, go to the profile key:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\Current Version\Windows Messaging SubSystem\Profile\profile-name
Export the profile key then search for and remove one (or both) of the registry keys related to primary account.
I searched the profile for 001f662b (or 001f6641 in Outlook 2016) as this value is used by each account. You'll find two keys containing this value for each account and you need to delete the second key that belongs to the primary account (you can delete both keys). Once I did this, I could delete the primary account from the profile.
To verify it's the correct account, either look at the alias in 001e660b (the alias is at the end of the data: /o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=74479d8714d3414c8502650cc962e1c6-maryc) or double click on other keys and look for the address. For example, in the screenshot below, the address is in 001f6641.
Note: you need to delete the entire key (on the left side), not just the registry value. The value helps you find the right key to delete.