Outlook Calendar sychronization

Estimated reading: 3 minutes 54 views

Introduction

To sync the Outlook Calendar with Odoo’s Calendar, a Microsoft Azure account is required. This setup allows two-way synchronization of events between Odoo and Microsoft Outlook.

Step-by-Step Instructions

 

1. Microsoft Azure Setup

  • Create a Microsoft Azure (Microsoft Entra ID) account if you don’t have one.
  • Log in to the Microsoft Azure portal.
  • Select View under the Manage Microsoft Entra ID

2. Register the Application

  • Go to App Registrations and click + AddApp registration.
  • Enter a unique Name.
  • Set Supported account types to:

Accounts in any organizational directory (Any Microsoft Entra ID directory – Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox).

  • Click Register.
  • Copy the Application (Client) ID.

3. Create Client Secret

  • Go to Certificates & secrets → click + New client secret.
  • Add a Description and set an expiration date (preferably 24 months or custom).
  • Click Add and copy the Value (this is your Client Secret).
     Make sure to save it immediately – it won’t be visible later.

4. Configure Odoo

  • Go to OdooCalendar appConfigurationSettings.
  • Enable the Outlook Calendar option and click Save.
  • Enter the Client ID and Client Secret from Microsoft Azure into their respective fields.
  • Save changes.

5. Sync with Outlook

  • Open Calendar module in Odoo.
  • Click the Outlook sync button on the calendar view.
  • You’ll be redirected to Microsoft to log in and authorize.
  • Accept permissions to finalize sync.

Tips

  • Test sync first using a test database and test email.
  • Avoid mass email notifications:
    • Outlook will send invites or cancellations to all event attendees when syncing for the first time.
    • To prevent this:
      • Copy existing events from Odoo to Outlook.
      • Delete them from Odoo.
      • Then sync.
    • Outlook will send a notification for every event change (create, delete, edit, archive/unarchive, contact changes).
    • Always ensure base.url matches your Azure redirect URI domain.

Key Benefits

  • Two-way synchronization of calendar events between Odoo and Outlook.
  • Centralized scheduling across business tools.
  • Auto-invite attendees via Outlook when events are created in Odoo.
  • Reduces double bookings and improves productivity.

Troubleshooting Sync

  • Go to Settings appManage Users → select user → Calendar tab.
  • Click Reset Account under Microsoft calendar.

Reset Options

Option

Description

Leave events untouched

No changes to events.

Delete from Microsoft Calendar

Deletes from Outlook.

Delete from Odoo

Deletes from Odoo.

Delete from both

Full deletion from both calendars.

Next Sync Options

Option

Description

Synchronize only new events

Skips old events.

Synchronize all events

Resyncs everything.

Click Confirm after choosing.

Related Articles

Leave a Reply

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

Learn how we helped 100 top brands gain success