Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Artificial Intelligence
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Нерухомість
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Property Management
    • Садівництво
    • Асоціація власників нерухомості
    Консалтинг
    • Бухгалтерська компанія
    • Партнер Odoo
    • Агенція маркетингу
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Меблі
    • Їжа
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Системи сонячної енергії
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Інші
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

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

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
securityemailsmtpazure
1127 Переглядів
Аватар
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
Аватар
Відмінити
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Реєстрація
Related Posts Відповіді Переглядів Дія
Issue Connecting to Active24 SMTP Server
email smtp
Аватар
0
груд. 25
1806
outgoing mail server not working with smtp.office365.com Вирішено
email smtp
Аватар
Аватар
Аватар
Аватар
Аватар
14
січ. 26
241611
Error sending email
email smtp
Аватар
Аватар
Аватар
2
бер. 23
8436
When i request a password reminder, i don't get any email
email smtp
Аватар
Аватар
1
трав. 22
5443
All Mail Sent as admin@domain.com Вирішено
email smtp
Аватар
Аватар
1
лист. 17
10926
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة 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 - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція 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