Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Microsoft Azure Login (SSO) v 18.0
  4. Sales Conditions FAQ

Microsoft Azure Login (SSO)

by Codevia
Odoo

$ 228.30

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 79
Technical Name microsoft_azure_login
LicenseLGPL-3
Microsoft Azure Login for Odoo — single sign-on with Microsoft Entra ID, pre-configured out of the box

Sign in to Odoo with Microsoft Azure / Entra ID

A ready-to-use Microsoft single sign-on for Odoo. The Azure OAuth provider is pre-configured — just enter your Client ID and tenant in Settings and enable it. It also fixes the two classic Odoo + Azure login failures automatically, so users click Sign in with Microsoft and they're in.

Odoo 18 Microsoft Entra ID OAuth 2.0 / OpenID Connect Pre-configured provider
Why teams install it

Microsoft login that just works — no OAuth debugging

Wiring Azure SSO into Odoo by hand means fighting cryptic errors: users who can't be matched and a missing e-mail claim. This module ships the provider ready to go and handles both for you — so your team logs in with the Microsoft 365 accounts they already have.

Pre-configured provider

The Microsoft Azure OAuth provider is created on install — endpoints, scope and sign-in button already set. Add your Client ID and tenant, enable it, done.

Matches users by e-mail

Existing Odoo users are matched by their Azure e-mail / UPN against their login or e-mail — no per-user "reset password" linking step, and it survives database copies.

Robust e-mail resolution

When Azure omits the email claim, the address is read from upn / preferred_username / unique_name — and decoded from the token when needed.

Everything included

A complete, production-grade Azure SSO

Fixes oauth_error=3

The classic "no matching user" failure is solved: sign-in matches accounts by e-mail (case-insensitive) instead of the provider's numeric subject id.

Handles the missing e-mail claim

Azure's userinfo endpoint often drops email. The address is pulled from alternate claims and, if needed, decoded from the access-token JWT payload.

Zero manual system params

Sets auth_oauth.authorization_header for you on install, so Microsoft Graph's /oidc/userinfo receives the Bearer token it requires.

One-click sign-in button

A Sign in with Microsoft Azure button appears on the Odoo login screen, styled with the Microsoft icon and ready the moment you enable the provider.

Survives environment copies

Because linking is by e-mail rather than a stored subject id, restoring a database or moving to a new environment doesn't break existing users' Microsoft login.

Works with your existing users

No public signup required. Pre-provisioned Odoo users log in through Azure with their Microsoft 365 identity — no per-user OAuth configuration.

Set up in minutes

From install to Microsoft sign-in in four steps

Install the module

The Microsoft Azure OAuth provider is created automatically, disabled and ready to configure — no XML or manual provider setup.

Register an Azure app

In the Azure portal, register an application and note its Client ID and Directory / tenant ID. Scopes needed: openid profile email.

Enter credentials & enable

Open Settings → Microsoft Azure, paste the Client ID and tenant, and enable the provider. Copy the redirect URI shown there.

Users log in

Register that redirect URI in your Azure app, and the Sign in with Microsoft button on the login page takes it from there.

Under the hood

Reads the e-mail from wherever Azure puts it

Azure spreads the user's address across different claims depending on the token version and endpoint. The module checks all of them, then falls back to decoding the token — so sign-in never fails just because email is absent.

Claims it inspects

email / mail / preferred_username / upn / unique_name / userPrincipalName

The first claim containing an @ wins — checked in the userinfo response, then in the JWT.

What it prevents

oauth_error=3 → matched by e-mail
no email claim → read from upn / JWT

The two failures that stop most Odoo + Azure setups — handled automatically.

openidprofileemail login.microsoftonline.comgraph.microsoft.com/oidc/userinfo

Built for real logins

Not a bare provider record — a hardened sign-in flow with the fixes production Odoo instances actually need.

1Provider — pre-configured on install
6E-mail claims checked, plus JWT fallback
0Manual system parameters to set
0Per-user linking steps required
Before you start

Requirements

A quick checklist to have Microsoft sign-in live.

  • Odoo 18.0 (Community or Enterprise).
  • The standard auth_oauth module (a dependency, installed for you).
  • A Microsoft 365 / Entra ID tenant.
  • An Azure app registration with its Client ID and tenant ID, and the openid profile email scopes.
  • The Odoo redirect URI (shown in Settings) registered on that Azure app.
Good to know

Frequently asked questions

Do I have to configure the OAuth provider by hand?

No. The Microsoft Azure provider is created automatically on install with the correct endpoints, scope and sign-in button. You only enter your Client ID and tenant in Settings and enable it.

Why did my Azure login fail with oauth_error=3 before?

That error means Odoo couldn't find a user matching the provider's subject id. This module matches users by their Azure e-mail / UPN against their Odoo login or e-mail instead, so existing users sign in without any per-user linking step.

Azure isn't returning an email claim — is that a problem?

No. Azure often exposes the address as upn, preferred_username or unique_name instead. The module reads the e-mail from any of these and, if necessary, decodes it from the access-token JWT payload.

Will existing users keep working after a database copy?

Yes. Because matching is by e-mail rather than a stored numeric id, restoring or duplicating the database doesn't break Microsoft login for your users.

Do users need public signup enabled?

No. Pre-provisioned Odoo users log in through Azure with their Microsoft 365 identity — no public signup and no per-user OAuth setup required.

Does it set the required system parameter?

Yes. On install it sets auth_oauth.authorization_header so Microsoft Graph's /oidc/userinfo endpoint receives the Bearer token it needs — one less thing to remember.

Microsoft Azure Login (SSO) for Odoo 18

Developed by Codevia

Microsoft, Azure, Entra ID and Microsoft 365 are trademarks of the Microsoft group of companies. This module is an independent integration and is not affiliated with or endorsed by Microsoft.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with