Hey Devs, first of all, thank you for your work on getting OAuth implemented before the impending removal of basic auth at Microsoft.
I have a test instance of 2.7.7 installed on an Azure VM using Ubuntu Linux, apache, and MariaDB that I am using to try out the OAuth setup before I upgrade our production server.
I bumbled through the config of the enterprise app on Azure and was eventually able to generate the access token.
The issue I'm having is in the Mail to Ticket automation incoming mailboxes extension. I've configured it to use the OAuth client I've setup and mirrored the current setup we're using. I am now getting the message:
Failed to initialize the mailbox: <mailboxname> Reason: Required parameter not passed: "refresh_token"</mailboxname>
I did enable the debug logging for OAuth and see the following in the error.log file:
Thanks for reaching out, can you send me the following privately (guillaume.lajarige combodo.com) so I can check internally if everything seems configured as excepted?
- Screenshot of the OAuth object in iTop, there should be a status on it
- Screenshot of your Azure entreprise app configuration so I can check with our IT guy
Cheers,
Guillaume
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the same error trying to connect my ITOP with Outllok Office 385 service. My ITOP log is showing me ... Failed to initialize the mailbox: helpdesk@imocom.com.co. Reason: Required parameter not passed: "refresh_token"..
I really apreciate your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Devs, first of all, thank you for your work on getting OAuth implemented before the impending removal of basic auth at Microsoft.
I have a test instance of 2.7.7 installed on an Azure VM using Ubuntu Linux, apache, and MariaDB that I am using to try out the OAuth setup before I upgrade our production server.
I bumbled through the config of the enterprise app on Azure and was eventually able to generate the access token.
The issue I'm having is in the Mail to Ticket automation incoming mailboxes extension. I've configured it to use the OAuth client I've setup and mirrored the current setup we're using. I am now getting the message:
Failed to initialize the mailbox: <mailboxname> Reason: Required parameter not passed: "refresh_token"</mailboxname>
I did enable the debug logging for OAuth and see the following in the error.log file:
I'm happy send to along anything else that might be useful to get to the bottom of it, just let me know.
Thank you for any assistance you can provide!
Hello SylentBobNJ,
Thanks for reaching out, can you send me the following privately (guillaume.lajarige combodo.com) so I can check internally if everything seems configured as excepted?
- Screenshot of the OAuth object in iTop, there should be a status on it
- Screenshot of your Azure entreprise app configuration so I can check with our IT guy
Cheers,
Guillaume
Thank you, Guillaume, sent.
I appreciate it!
Last edit: SylentBobNJ 2022-08-08
Dear Guillaume Lajarige,
I have the same error trying to connect my ITOP with Outllok Office 385 service. My ITOP log is showing me ... Failed to initialize the mailbox: helpdesk@imocom.com.co. Reason: Required parameter not passed: "refresh_token"..
I really apreciate your help.
Try re-generating the token for the OAuth client. Do you still have the same issue afterwards?
Oh, thanks for your quick response.
No I have the same issue when re-generate the token.
This is our current configuration:
[cid:5752fe07-903a-4d07-ba04-105ac9c90646]
[cid:68004094-b6c4-48f6-be18-dd524e940837]
[cid:118f0610-fd01-43b7-a950-5e949e6ad692]
and it is the message that shows:
[cid:9c0954d1-030c-4ad9-b836-dbe707d05d68]
Really appreciate your help.
Francisco Vargas
Chief of Technological Development
Imocom, Colombia
De: discussion@itop.p.re.sourceforge.net discussion@itop.p.re.sourceforge.net en nombre de Jeffrey jbostoen@users.sourceforge.net
Enviado: jueves, 10 de noviembre de 2022 13:11
Para: [itop:discussion] integrating-itop@discussion.itop.p.re.sourceforge.net
Asunto: [itop:discussion] Re: Error Connecting IMAP to Office 365 With OAuth in 2.7.7
Try re-generating the token for the OAuth client. Do you still have the same issue afterwards?
Error Connecting IMAP to Office 365 With OAuth in 2.7.7https://sourceforge.net/p/itop/discussion/integrating-itop/thread/13b9b1c94e/?limit=250#1a2d/93ab
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/itop/discussion/integrating-itop/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
I have the impression some screenshots are missing here on SourceForge.
Dear Team,
Attached you will find the screenshots about our problem.
We have the same issue when re-generate the token.
This is our current configuration: Attached file conf1.png, conf2.png, conf3.png
And it is the message that shows: problem1.png
Really appreciate your help.
Francisco Vargas
Chief of Technological Development
Imocom, Colombia
De: discussion@itop.p.re.sourceforge.net discussion@itop.p.re.sourceforge.net en nombre de Jeffrey jbostoen@users.sourceforge.net
Enviado: viernes, 11 de noviembre de 2022 6:56
Para: [itop:discussion] integrating-itop@discussion.itop.p.re.sourceforge.net
Asunto: [itop:discussion] Re: Error Connecting IMAP to Office 365 With OAuth in 2.7.7
I have the impression some screenshots are missing here on SourceForge.
Error Connecting IMAP to Office 365 With OAuth in 2.7.7https://sourceforge.net/p/itop/discussion/integrating-itop/thread/13b9b1c94e/?limit=250#1a2d/93ab/4d0f/856c
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/itop/discussion/integrating-itop/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
You seem to be missing "offline_access"
See screenshot in Combodo's documentation: https://www.itophub.io/wiki/page?id=2_7_0%3Aadmin%3Aoauth (might be worth adding some basic info here as well in text form?)
See Microsoft's documentation: https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth