How to Sync Contacts of Two Office 365 or Exchange Mailboxes?

The problem

You have two separate, delegated, impersonated or shared mailboxes, and you'd like to have a (customizable) two-way sync of contacts between them? Then you're in the right place! In this little article we'll show you how to solve your problem in just a couple minutes using SyncPenguin platform.

The sync allows variety of connection combinations and scenarios, including between different Exchange domains or Office 365 tenants. You can sync records between pairs of accounts, from all accounts to a single shared one, or arrange any other custom sync behavior.

Note that apart from Office 365 the service can sync with multiple Exchange EWS-based services, including:

  • Microsoft Office 365
  • Microsoft Teams
  • Exchange On-Premise Server
  • Exchange Online
  • Outlook on the Web
  • Outlook Live and @outlook.com account
  • Microsoft ToDo
  • Amazon WorkMail

Let's start!

1. Sign up

The first step is to sign up and log in to the SyncPenguin Dashboard. That's the place where you create, monitor and manage your synchronizations.

2. Create contacts sync

The next step is to create the sync. To do this, go to the Synchronizations section of the dashboard and click the plus 'New sync' button. You'll see a wizard page, where you need to follow three steps of sync creation:

  • Select the first data source (Exchange Office 365 Contacts in our case)
  • Select the other data source (also Exchange Office 365 Contacts)
  • Specify the name and click Create

sync sizard

3. Sign in to Office 365 or Exchange accounts

Great! You are almost there. The next step is to allow SyncPenguin access to both of your O365 accounts in Access & Settings sections that you'll see on the sync page. To do that, expand the corresponding access panel, click the 'Sign In' button and authenticate your Office 365 account through OAuth.

In case you want to sync to Exchange on-premise server, you cannot sign in like that. Instead, you should enter Endpoint URL, Username (which should just be your email in most cases) and Password fields directly manually. You can always contact us if you're not sure how to connect!


sign in to your office 365 accounts

4. Test and start the sync

That's it! Well, almost. The last thing, of course, is to test your connection and start the sync itself.

In order to do that just click the 'Trigger sync' button. This schedules a sync job that you'll see in the logs section at the bottom of the page.


run sync for an account

Note that this doesn't sync any contacts yet. The first sync is just used to test the connection - after a couple of moments you should see a blue 'Initialized' in the status column.


the status of sync run

Now you can test the sync itself. Go ahead and create a test contact in one of the Office 365 accounts, and click 'Trigger sync' once again. You should see the contact synced on the other account you specified. Great! (If you want to sync already existing data, check out the migration section below.)

The last step is to configure and start your sync. You can configure three basic things:

  • How often the sync is triggered (Sync period)
  • The direction of the sync (two-way or one-way)
  • Whether delete events should be synced as well

Make sure you click the Save button once you're done.

Then just click the 'Start periodic sync' button and your scheduled sync has started! Well done!


configure your sync

In case anything went wrong and you're not sure what, feel free to contact us.

Migrate already existing contacts database

By default, the sync is incremental. It means that it syncs all newly created or updated contacts.

But, of course, it's possible to sync existing contacts as well. Here's how you can do it:

  1. Pause the sync (if you've already started it).
  2. Click 'Migrate existing data'.
  3. Among available tabs, choose the All tab.
  4. Choose the direction of the sync.
  5. Hit the Migrate button.

Your migration is now scheduled! You can watch the status in the logs section at the bottom of the page.

Conclusion

So there you have it. That how simple it is. If you have any questions, visit our website or feel free to contact us directly. And remember: with our platform, it always possible to customize the sync so that it fits your needs!