If your Odoo outgoing mail server signs in to smtp.office365.com with a username and password, it uses Basic authentication. Microsoft will disable that by default for existing tenants at the end of December 2026. Admins can turn it back on for now, but the lasting fix is Odoo’s Microsoft Outlook module, which signs in with OAuth.
Step 1: Check whether your Odoo is affected
Look at the Odoo outgoing mail server
Turn on developer mode in Odoo and go to Settings › Technical › Outgoing Mail Servers. Open each server and check two things:
- The server address is
smtp.office365.comorsmtp-legacy.office365.com. Microsoft names both. - The server signs in with a username and password, not with the Outlook option.
If both are true, you are affected. If the server already has Outlook ticked and shows a green Outlook Token Valid tag, it already uses OAuth and this change does not touch it.
Check incoming mail as well
Now open Incoming Mail Servers in the same menu. If an IMAP or POP server logs in to Microsoft 365 with a password, it is not about to break. It should already be broken. Microsoft says “Basic authentication is now disabled in all tenants”, covering POP and IMAP, and adds: “Now no one (you or Microsoft support) can re-enable Basic authentication in your tenant.”
Ask your Microsoft 365 admin for one report
The SMTP AUTH Clients Submission Report in the Exchange admin center has an Authentication Protocol column. Microsoft added it to show whether each sender uses Basic auth or OAuth. Ask your admin for the rows that cover the mailbox Odoo sends from.
Who can skip this
Odoo Online and Odoo.sh send through Odoo’s own mail server by default. If nobody added a Microsoft 365 server, your outgoing mail is not affected.
Step 2: What breaks, and when
Microsoft’s Exchange team published the current timeline on 27 January 2026. Message Center post MC786329 carries the same wording:
- “Now to December 2026: SMTP AUTH Basic Authentication behavior remains unchanged.”
- “End of December 2026: SMTP AUTH Basic Authentication will be disabled by default for existing tenants. Administrators will still be able to enable it if needed.”
- “New tenants created after December 2026: SMTP AUTH Basic Authentication will be unavailable by default. OAuth will be the supported authentication method.”
- “Second half of 2027: Microsoft will announce the final removal date for SMTP AUTH Basic Authentication.”
This replaced an earlier plan. MC786329 says the removal “has been put on hold (previously beginning March 1st, 2026, and completing April 30th, 2026)”. If you read an older article quoting April 2026, that is why the dates don’t match.
What you will see
Once the setting is off, Odoo can’t sign in with the stored password, so quotations, invoices and notifications from that server stop going out. Microsoft’s original announcement gives the error once Basic auth is permanently removed: 550 5.7.30 Basic authentication is not supported for Client Submission. Microsoft has not published the message for the “disabled by default” stage.
Why turning it back on only buys time
Your admin can re-enable Basic auth after December. That buys months, not a fix. A final removal date is coming, and Microsoft’s 2024 FAQ on this change says that once Basic auth is permanently disabled, Support cannot re-enable it or grant exceptions. And Microsoft’s own reason applies now: Basic auth “sends usernames and passwords in plain text over the network”.
Not sure how your Odoo signs in to Microsoft?
Inwizards will check your Odoo mail set-up, outgoing and incoming, and switch it to OAuth. We test it with real documents and hand you a note of the client secret’s expiry date.
Get Your Odoo Mail CheckedStep 3: Switch Odoo to OAuth
Odoo’s guide, “Connect Microsoft Outlook 365 to Odoo using Azure OAuth”, goes back to the version 14.0 documentation and is still in the 19.0 and latest documentation. Menu names move between versions; the steps don’t. You need a Microsoft Entra admin and an Odoo administrator.
Part A: Register an app in Microsoft Entra
- In the Azure portal, open Microsoft Entra ID (formerly Azure Active Directory). Choose Add, then App registration.
- Name it “Odoo”. For supported account types, Odoo’s guide selects “Accounts in any organizational directory (Any Microsoft Entra ID directory - Multitenant) and personal Microsoft accounts”.
- Under Redirect URI, choose Web and enter
https://<your Odoo address>/microsoft_outlook/confirm. Use the exact address people use to reach Odoo, such asmydatabase.odoo.com, then Register. - Open API permissions and choose Add a permission, then Microsoft Graph, then Delegated permissions. Add
SMTP.SendandIMAP.AccessAsUser.All.User.Readis added by default. - From the overview, open the managed application in your local directory and, under Users and groups, assign the users who will send mail from Odoo.
- Copy the Application (client) ID from the overview page.
- Under Certificates & secrets, add a new client secret. Set the expiry to the furthest date offered. Copy the secret Value straight away, because Odoo’s guide warns that it is hidden once you leave the page. You do not need the Secret ID.
Part B: Add the credentials to Odoo
- In Apps, remove the Apps filter, search for “Outlook” and install Microsoft Outlook.
- In Settings, tick Use Custom Email Servers and save. (Older versions call it External Email Servers.) An Outlook Credentials option appears.
- Paste in the Client ID and the Client Secret value, then save.
Part C: Rebuild the outgoing mail server
- Open Outgoing Email Servers and create a new server. Tick Outlook and enter the Microsoft 365 username.
- Fill in the From Filter with the email address or domain this server sends for.
- Click Connect your Outlook account, pick the mailbox in the Microsoft window and click Yes to allow access.
- When you are back in Odoo, check for the green Outlook Token Valid tag, then click Test Connection.
- Archive the old password-based server so Odoo can’t pick it. Then send a real quotation to yourself.
Part D: Rebuild the incoming mail server
In Incoming Mail Servers, create a server and choose Outlook Oauth Authentication. Enter the username and click Connect your Outlook account. When Odoo shows Outlook Token Valid, use Test and Confirm.
One shared sender or one server per user
The simpler set-up in Odoo’s guide is one outgoing server for a shared address such as notifications@yourdomain.com. That address is the From Filter, and it must match the mail.default.from@mail.catchall.domain system parameters. The other set-up gives each user their own server. Odoo calls it the harder option: every such user needs access rights to settings, and you still need a fallback server for notifications.
Step 4: Microsoft’s alternatives, if an app can’t use OAuth
Odoo supports OAuth, so this is mostly background. Microsoft lists these routes for clients that can’t:
- High Volume Email for Microsoft 365, for mail to recipients inside your own tenant. It is internal send only, so it can’t send customer invoices.
- An on-premises Exchange Server in a hybrid configuration. You either sign in to it with Basic auth or set up a Receive connector that allows anonymous relay.
- A dedicated high-volume email solution for internal and external recipients. MC786329 calls this “a 3P solution”, meaning a third-party service.
- Azure Communication Services Email appears in Microsoft’s 2024 announcement. Microsoft has since put ACS Email into retirement. It is supported until 30 September 2028, and Microsoft advises migrating off it rather than onboarding new workloads.
On Odoo Online and Odoo.sh, Odoo’s own mail server is a further option outside Microsoft’s list, once your domain’s SPF and DKIM records are set for it.
Step 5: Odoo Online, Odoo.sh or self-hosted
Odoo Online
Odoo’s documentation says sending and receiving email “works out of the box” on Odoo Online. If you added a Microsoft 365 server, Microsoft Outlook is a standard Odoo app; follow Step 3 with your odoo.com address or custom domain as the redirect. If you use a relay instead, port 25 is blocked (use 465, 587 or 2525), and your own outgoing server must be paired with your own domain.
Odoo.sh
The defaults and the port 25 block are the same as on Odoo Online. If you test on a staging branch first, its URL differs from production’s, so add both redirect URIs to the Entra app.
Self-hosted
Self-hosted installs don’t get Odoo’s mail server, so they are the ones most likely to be pointing at smtp.office365.com. Check that the Microsoft Outlook module appears in your Apps list. The redirect URI must be your public HTTPS address. If Odoo runs behind a reverse proxy, make sure it knows that address through the web.base.url parameter and proxy mode. Test any custom modules that change outgoing mail. Odoo’s guide starts at 14.0; on older versions, the realistic choices are an upgrade or a relay.
Step 6: Common errors and what they mean
| What you see | What it means | What to do |
|---|---|---|
550 5.7.30 Basic authentication is not supported for Client Submission | The server still signs in with a password. | Move it to the Outlook option (Step 3). |
AADSTS50011 | Microsoft’s reply-address error. The redirect URI doesn’t match the one registered on the app. | Register exactly https://<your Odoo address>/microsoft_outlook/confirm. On self-hosted installs, check the base URL and proxy settings. |
AADSTS7000215 | Microsoft received an invalid client secret. | Check that you pasted the secret Value, not the Secret ID. |
AADSTS7000222 | The client secret has expired. | Create a new secret, paste the value into Odoo and reconnect. |
| Test passes, but mail goes out as notifications@ or doesn’t arrive | The From Filter doesn’t match the sender. Odoo warns a passing test doesn’t prove delivery. | Align the From Filter and system parameters; send a real document. |
| Sign-in works but sending is refused | SMTP AUTH is turned off for the tenant or the mailbox. Microsoft notes that security defaults also disable it. | Ask your admin to enable Authenticated SMTP for that one mailbox. |
Being straight about our position
Inwizards is not a Microsoft partner or an Odoo partner, and we don’t sell a mail product. We are an implementer that has built software since 2009, with teams in the USA, UAE and India. Every step above is in public documentation, and a confident admin can do it in-house. Outside help earns its keep on the messy cases: several companies in one database, per-user servers, custom modules, or a proxy. For background, see what Odoo is used for and Odoo Online vs Odoo.sh vs self-hosting. Custom work goes to our Odoo development team.
Where to start this week
- List every Microsoft 365 mail server in Odoo that uses a password.
- Get the SMTP AUTH Clients Submission Report for the Odoo mailbox.
- After switching, put the secret’s expiry date in a shared calendar with a named owner.
Sources
- Microsoft Exchange Team: Updated Exchange Online SMTP AUTH Basic Authentication Deprecation Timeline (27 January 2026)
- Microsoft 365 Message Center MC786329, Exchange Online to retire Basic Auth for Client Submission (SMTP AUTH), archived copy, updated 27 January 2026
- Microsoft Exchange Team: Exchange Online to retire Basic auth for Client Submission (SMTP AUTH)
- Microsoft Learn: Deprecation of Basic authentication in Exchange Online
- Microsoft Learn: Enable or disable SMTP AUTH in Exchange Online
- Microsoft Learn: Microsoft Entra authentication and authorization error codes
- Microsoft Learn: Azure Communication Services retirement and breaking changes guide
- Odoo documentation: Connect Microsoft Outlook 365 to Odoo using Azure OAuth (latest), plus the 19.0 and 14.0 versions
- Odoo documentation: Manage outbound messages