Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Problem configuring Inbound/Outbound email servers with Outlook/Azure

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
emailoutlookazureodoo16features
2 Risposte
3603 Visualizzazioni
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
Abbandona
Avatar
Jainesh Shah(Aktiv Software)
Risposta migliore

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
Abbandona
Avatar
Ghislain Gadbois
Autore Risposta migliore

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
Abbandona
Ghislain Gadbois
Autore

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
Autore

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

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Integrating Outlook Email w/ Open ERP
email outlook
Avatar
1
lug 24
3110
Send the email via Outlook and not OpenERP - Python code
email outlook
Avatar
Avatar
2
lug 24
5860
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 Risolto
email outlook win32
Avatar
Avatar
2
lug 24
6500
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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