0

We use Rebex to access mails of outlook account using OAuth tokens retrieved from login live API. From last week outlook IMAP server returns "NO Authenticate failed" error code. We update the token retrieval to Microsoft Graph APIs. Even then IMAP responds similarly.

Geeks support is highly appreciated.

Regards, Arun. S

Martin Vobr
  • 5,757
  • 2
  • 37
  • 43
Arun S
  • 1
  • 1
  • Why do you think an IMAP account would have any integration with the Graph APIs? They only work with Office 365 mailboxes – Eric Legault May 18 '17 at 03:01
  • Graph API here i meant is access token retrieved from latest MS graph REST api. – Arun S May 18 '17 at 07:54
  • The Graph API has nothing to do with IMAP. Can you please clarify why you are trying to use a Graph token to authenticate an IMAP connection? What kind of email account are you connecting to IMAP with? – Eric Legault May 18 '17 at 16:51
  • We create access_token using login live api and try connecting imap-mail.outlook.com server using Rebex API. We use wl.imap scope too. But outlook server always returning authenticate failed(NO) error. With the same token we could login outlook smtp server. I hope now you got an idea of my problem. – Arun S May 24 '17 at 06:58
  • Sorry, I have no idea how IMAP fits into Graph authentication. – Eric Legault May 24 '17 at 18:51
  • @ Eric Legault - I don't think it does. Unless Office 365 uses an IMAP4 standard extension that I am not aware of, I don't think it is even possible. – Dmitry Streblechenko Jan 19 '18 at 16:01

1 Answers1

0

This should be helpful now , OAuth IMAP Auth support ... didn't used to work, but should now.

https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth

agentile
  • 252
  • 2
  • 9