Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Inteligência Artificial
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Gestão de Imóveis
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Agende uma Demonstração
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

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

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
securityemailsmtpazure
1129 Visualizações
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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscrever-se
Publicações relacionadas Respostas Visualizações Atividade
Issue Connecting to Active24 SMTP Server
email smtp
Avatar
0
dez. 25
1806
outgoing mail server not working with smtp.office365.com Resolvido
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
mai. 22
5443
All Mail Sent as admin@domain.com Resolvido
email smtp
Avatar
Avatar
1
nov. 17
10928
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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