Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Discuss
    • Kecerdasan Buatan
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Manajemen Properti
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Konsultasi
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Use custom Outlook/MS Entra as Email provide, and issues with Entra security configuration

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
securityemailsmtpazure
1128 Tampilan
Avatar
Justin

Hey all,

I'm rather new in the Odoo pool...getting my feet wet as an integrator.  I had some questions about getting Odoo to integrate with an Office365/Azure/Entra/MS ecosystem.


I am working with a client that has Azure/Entra as their email provider.  We are using a custom domain for that... but not for the address of the database itself.  (If that matters.  E.g. database is my-db.odoo.com, but email domain is <name@myCompany.com>.  They are running Odoo 19.1, via Odoo Online.  (They plan to shift to .sh soon - the email setup the same, there, I would assume...)


We are also working with an outside IT provider for this client, too, just FYI.  They seem good, and err on the side caution when it comes to security - which is good.)


We do have outgoing email working, currently.  But to get it working, we had to make a number of additional changes to the Entra environment that are different/not-documented in the Odoo 'How-To' page.  (https://www.odoo.com/documentation/19.0/applications/general/email_communication/azure_oauth.html)


The additional steps needed involved reducing security levels, as told to me by the IT provider:



Enabling SMTP AUTH for a Single Mailbox in M365 (Security Defaults Tenant)

Step 1 — Disable Security Defaults in Entra ID

  • Navigate to entra.microsoft.com
  • Go to Identity → Overview → Properties
  • Click Manage Security Defaults at the bottom of the page
  • Toggle Security Defaults to Disabled
  • When prompted for a reason, select the appropriate option and confirm
  • Important: When disabling, Microsoft will automatically offer to create equivalent Conditional Access policies to replace Security Defaults — accept this. It will create policies for MFA enforcement and blocking legacy authentication, maintaining your security posture while giving you the granular control you need

Step 2 — Exclude the Service Account from all CA Policies

  • Navigate to entra.microsoft.com
  • Go to Protection → Conditional Access → Policies
  • Open each policy that was created (at minimum the Block Legacy Authentication and Require MFA policies)
  • For each policy, go to Users → Exclude → Users and Groups
  • Search for and add the service account UPN
  • Click Save
  • Allow 15-30 minutes for the policy changes to propagate

Step 3 — Enable Authenticated SMTP on the Mailbox

  • Navigate to admin.microsoft.com
  • Go to Users → Active Users
  • Click on the specific user/service account
  • Select the Mail tab
  • Click Manage email apps
  • Check the box for Authenticated SMTP
  • Click Save changes

Security Note: Excluding an account from MFA and legacy authentication blocking is a necessary tradeoff for SMTP AUTH to function, but it does reduce the security posture of that account. Compensate by ensuring the account has a strong unique password, monitoring its sign-in activity in Entra ID under Identity → Users → Sign-in logs, and restricting the account's permissions to only what the application requires.



I'm not a security expert, by a long shot.  😊   But I'll pose this question: with modern concerns about security and everybody moving away from SMTP, why is Odoo using SMTP for email sending?  Shouldn't it be a full API integration with MS Graph?  It seems like the above changes wouldn't need to be made if it were a full API integration.


Or am I just doing something wrong in the initial email integration setup inside Odoo?

0
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Issue Connecting to Active24 SMTP Server
email smtp
Avatar
0
Des 25
1806
outgoing mail server not working with smtp.office365.com Diselesaikan
email smtp
Avatar
Avatar
Avatar
Avatar
Avatar
14
Jan 26
241612
Error sending email
email smtp
Avatar
Avatar
Avatar
2
Mar 23
8436
When i request a password reminder, i don't get any email
email smtp
Avatar
Avatar
1
Mei 22
5443
All Mail Sent as admin@domain.com Diselesaikan
email smtp
Avatar
Avatar
1
Nov 17
10928
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Karir
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah software terintegrasi dengan 70+ aplikasi seperti CRM, Akuntansi, Inventaris, Sales, eCommerce, Marketing, POS; plus fitur lokal Indonesia!

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now