Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Problem configuring Inbound/Outbound email servers with Outlook/Azure

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
emailoutlookazureodoo16features
2 Réponses
3607 Vues
Avatar
Ghislain Gadbois

Hi,


I have an on-premise installation of Odoo 16.0 (Community Edition).  I want to configure Inbound/Outbound email servers with Outlook service hosted in Azure.


I followed all the steps detailed here:  https://www\.odoo\.com/documentation/16\.0/administration/maintain/azure_oauth\.html


When\ I\ configure\ the\ outgoing\ email\ server,\ I\ click\ on\ Connect\ your\ Outlook\ account\ and\ authenticate\ in\ Azure\. \ After\ authentication,\ all\ I\ get\ is\ an\ error\ message\ in\ the\ Azure\ authentication\ page\ saying AADSTS900971:\ No\ reply\ address\ provided\.


When\ I\ configure\ the\ incoming\ email\ server,\ I\ get\ the\ exact\ same\ result\.


I\ tried\ to\ find\ what\ is\ causing\ this\ error\ and\ it\ seems\ to\ be\ caused\ by\ a\ missing\ Redirect\ URL\ \(see

https://answers.microsoft.com/en-us/msteams/forum/all/aadsts900971-no-reply-address-provided/1967cfa2-fde1-4359-b66d-bc5b0d7dacfe).  I triple-checked the settings in Azure and everything looks fine...


Here's the config I have in Azure...


Here's the global config I have in Odoo:


Here's the config I have for the Outgoing email server:



What else can I check to resolve this error?


Thanks in advance!



0
Avatar
Ignorer
Avatar
Jainesh Shah(Aktiv Software)
Meilleure réponse

Hello Ghislain Gadbois,


The "Redirect URI" for the Outlook/Azure services should be as follows.

Please refer this documentation for the same: https://www.odoo.com/documentation/16.0/applications/productivity/calendar/outlook.html?highlight=microsoft_account%20authentication

Redirect URI: https://{DOMAIN}/microsoft_account/authentication

Thanks & Regards,
Email:  odoo@aktivsoftware.com 

Skype: kalpeshmaheshwari

0
Avatar
Ignorer
Avatar
Ghislain Gadbois
Auteur Meilleure réponse

Hi all,

I found something that could lead me in the right direction, but need some help to figure out how Odoo can be configured to "behave" properly...

In the documentation referenced in my original post (https://www\.odoo\.com/documentation/16\.0/administration/maintain/azure_oauth\.html\),\ it\ says\ to\ add\ the\ redirect\ URL\ to\ the\ Azure\ configuration\ using\ that\ format: \ https://\.\.\./microsoft_outlook/confirm\.

I\ used\ Fiddler\ to\ intercept\ the\ authentication\ request\ sent\ by\ Odoo\ to\ Outlook\ and\ here's\ what\ I\ got:


Odoo\ clearly\ sent\ a\ redirect_uri\ starting\ with\ http://,\ which\ is\ not\ supported\ by\ Azure\ \(as\ stated\ here: https://learn\.microsoft\.com/en\-us/azure/active\-directory/develop/reply\-url\)\.

Odoo\ is\ behind\ a\ reverse\ proxy\ that\ forwards\ all\ http\ traffic\ to\ https\ as\ mentionned\ in\ the\ Odoo\ documentation\ \(https://www.odoo.com/documentation/15.0/administration/install/deploy.html?highlight=proxy_mode).

Here is my odoo.conf file...

[options]

admin_passwd = *****

db_host = False

db_port = False

db_user = *****

db_password = False

xmlrpc_port = 8069

logfile = /var/log/odoo/odoo.log

addons_path = /opt/odoo/odoo/addons,/opt/odoo/custom-addons

proxy_mode = True


Is there a way to tell Odoo to use https in the redirect_uri?


Thanks in advance!


Best regards!




0
Avatar
Ignorer
Ghislain Gadbois
Auteur

Hi all,

I managed to go a little further with this issue...

I found another question with a similar problem here: https://www.odoo.com/fr_FR/forum/aide-1/uri-mismatch-on-outlook-calandar-option-and-ms365-209247

So I followed the steps mentionned:
1. Activate Developer mode
2. Go to Settings / Tecnical / System parameters
3. Changed web.base.url to https://odoo.mydomain.com

Then, I managed to complete the Outook authentication.

Now, I'm waiting my system administrator to approve the connection...

Hope this helps someone some day!

Best regards!

Ghislain Gadbois
Auteur

I also noticed that web.base.url sometimes reverts back to the http://... value...

Adding a new parameter web.base.url.freeze = true seems to have solved this problem (see https://www.odoo.com/fr_FR/forum/aide-1/web-base-url-automatic-reset-31937).

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Integrating Outlook Email w/ Open ERP
email outlook
Avatar
1
juil. 24
3110
Send the email via Outlook and not OpenERP - Python code
email outlook
Avatar
Avatar
2
juil. 24
5863
Outlook plug-in only showing headers
email outlook
Avatar
0
mars 15
4633
Forwarding emails to a specific Opportunity
email opportunity odoo16features
Avatar
Avatar
1
mars 25
3389
Send email by outlook if it is installed Résolu
email outlook win32
Avatar
Avatar
2
juil. 24
6502
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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