Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Problem configuring Inbound/Outbound email servers with Outlook/Azure

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
emailoutlookazureodoo16features
2 Besvarelser
3604 Visninger
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
Kassér
Avatar
Jainesh Shah(Aktiv Software)
Bedste svar

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
Kassér
Avatar
Ghislain Gadbois
Forfatter Bedste svar

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
Kassér
Ghislain Gadbois
Forfatter

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
Forfatter

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).

Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Integrating Outlook Email w/ Open ERP
email outlook
Avatar
1
jul. 24
3110
Send the email via Outlook and not OpenERP - Python code
email outlook
Avatar
Avatar
2
jul. 24
5861
Outlook plug-in only showing headers
email outlook
Avatar
0
mar. 15
4632
Forwarding emails to a specific Opportunity
email opportunity odoo16features
Avatar
Avatar
1
mar. 25
3389
Send email by outlook if it is installed Løst
email outlook win32
Avatar
Avatar
2
jul. 24
6500
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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