Skip to content

Connect Microsoft 365 to Odoo: Complete Integration Guide

DeployMonkey Team · March 24, 2026 10 min read

Why Connect Microsoft 365 to Odoo?

Organizations standardized on Microsoft 365 need Odoo to work within their existing ecosystem. Outlook for email, Teams for communication, OneDrive for file storage, and Azure AD for identity management are non-negotiable for many enterprises. Connecting Odoo to Microsoft 365 means your team works in their familiar tools while business data flows to and from Odoo automatically.

Integration Points

Microsoft ServiceOdoo ModuleIntegration Type
OutlookDiscuss / MailOAuth email send/receive
Outlook CalendarCalendarBidirectional event sync
OneDriveDocumentsFile attachment linking
Azure ADAuth OAuthSSO authentication
TeamsDiscussNotification integration
ExcelImport/ExportData exchange

Setup: Azure AD App Registration

All Microsoft 365 integrations start with Azure AD:

  • Go to Azure Portal → Azure Active Directory → App registrations
  • Register a new application for Odoo
  • Set redirect URI: https://yourodoo.com/microsoft_outlook/confirm
  • Note Application (client) ID and Directory (tenant) ID
  • Create a client secret and note the value
  • Grant API permissions: Mail.ReadWrite, Calendars.ReadWrite, Files.ReadWrite
  • Admin consent for the organization

Setup: Outlook Email

Configure in Odoo

  • Go to Settings → General Settings → Discuss section
  • Enable Outlook authentication
  • Enter Azure AD Client ID and Client Secret
  • Each user connects their Outlook account via OAuth
  • Emails sent from Odoo appear in the user's Outlook Sent folder
  • Incoming emails route through Outlook to Odoo Discuss

Setup: Calendar Sync

  • Enable Microsoft Calendar in Odoo settings
  • Use the same Azure AD app credentials
  • Add Calendars.ReadWrite permission to the Azure AD app
  • Each user authorizes calendar access
  • Meetings sync bidirectionally with attendees, times, and descriptions
  • Teams meeting links are preserved in sync

Setup: OneDrive Integration

  • Enable OneDrive/SharePoint in Odoo settings
  • Configure Azure AD app with Files.ReadWrite permission
  • Set default OneDrive folder for Odoo documents
  • Link OneDrive files to Odoo records
  • Generate documents from Odoo templates to OneDrive

Setup: Azure AD SSO

  • Enable OAuth authentication in Odoo
  • Add Microsoft OAuth provider with Azure AD credentials
  • Set tenant to your organization's directory ID
  • Users sign in with their Microsoft 365 credentials
  • Map Azure AD groups to Odoo access groups for role management
  • Enforce conditional access policies through Azure AD

Teams Integration

Connect Odoo notifications to Microsoft Teams:

  • Create incoming webhook in Teams channel
  • Configure Odoo server actions to POST to Teams webhook
  • Format messages with Adaptive Cards for rich notifications
  • Use cases: new orders, support escalations, approval requests
  • Build a Teams bot for two-way interaction with Odoo

Excel Data Exchange

  • Export Odoo data to Excel for analysis using native export function
  • Import data from Excel using Odoo's import wizard
  • Use Power Query in Excel to connect to Odoo's API directly
  • Schedule automated Excel report generation via Odoo server actions

Common Pitfalls

  • Azure AD permissions — Delegated vs. Application permissions matter. Use delegated for user-context integrations.
  • Multi-tenant configuration — Set tenant correctly. Use "common" for multi-tenant, your directory ID for single-tenant.
  • Token management — Microsoft tokens expire. Implement refresh token handling properly.
  • Conditional access — Azure AD policies may block Odoo's server-to-server calls. Whitelist Odoo's IP or use service principal credentials.

Getting Started

Deploy Odoo on DeployMonkey and configure the Azure AD app registration. Enable Outlook email first for immediate productivity, then add Calendar, OneDrive, and SSO. All integrations use the same Azure AD credentials.