Outlook Calendar sychronization

Estimated reading: 3 minutes 217 views

Odoo Calendar can be synchronised two ways with Microsoft Outlook Calendar, keeping meetings up to date in both systems. Setting this up requires a Microsoft Azure (Microsoft Entra ID) account to register an application and generate credentials.

How to register an application in Microsoft Azure

  1. Log in to the Microsoft Azure portal and select View under Manage Microsoft Entra ID.
  2. Click + Add, then App registration, and enter a unique Name.
  3. Set Supported account types to Accounts in any organizational directory (Any Microsoft Entra ID directory – Multitenant) and personal Microsoft accounts.
  1. Set the Redirect URI type to Web and enter your Odoo database URL followed by /microsoft_account/authentication (for example, https://yourdbname.odoo.com/microsoft_account/authentication).

Make sure this domain matches the web.base.url system parameter in Odoo exactly.

  1. Click Register, then copy the Application (Client) ID shown on the overview page.

How to create a client secret

  1. Click Certificates & secrets in the left menu, then + New client secret.
  2. Add a description and choose an expiry, ideally the maximum available or a custom long period, so the sync does not need resetting soon.
  3. Click Add and copy the Value immediately, as it cannot be viewed again later.

How to configure Odoo

  1. Go to Calendar > Configuration > Settings.
  1. Enable Outlook Calendar and click Save.
  1. Paste the Client ID and Client Secret from Azure into the matching fields, then save.

How to sync with Outlook

  1. Open the Calendar app and click the Outlook sync button beneath the monthly calendar.

You are redirected to Microsoft to log in and click Accept to grant permissions. Only the Azure setup is a one-off task: any other user just needs to sync their own calendar with Outlook afterwards.

Before you sync

Test the sync on a test database and test email address first. If you already have events on your Odoo calendar, add them to Outlook and delete them from Odoo before the first sync, otherwise Outlook treats them as new events and emails every attendee. Outlook also sends a notification to attendees every time an event is later created, deleted, archived, unarchived or edited, with no exception, which cannot be changed from Odoo.

How to troubleshoot the sync

  1. Go to Settings > Manage Users, select the user, and open the Calendar tab.
  2. Click Reset Account under the Microsoft calendar.

Choose how to handle the user’s existing events (leave them, delete from Microsoft, delete from Odoo, or delete from both), and whether the next sync should cover only new events or all existing events, then click Confirm.

Frequently asked questions

Why does Outlook send emails to attendees after I sync?

Outlook treats events pulled from Odoo as new or changed events and notifies attendees every time an event is created, deleted, archived or edited, with no exception; add existing Odoo events to Outlook and remove them from Odoo before the first sync to avoid unwanted notifications.

What if the sync stops working correctly?

Go to Settings > Manage Users, open the user’s Calendar tab and click Reset Account, then choose how to handle existing events and future synchronisation before confirming.

Need help?

Need help setting up Outlook Calendar sync in Odoo? Contact support@thoughtlogik.com or see our Odoo implementation services.

Leave a Reply

Your email address will not be published. Required fields are marked *

Learn how we helped 100 top brands gain success

Subscribe

×
Cancel