Access to Office365 mailbox from Apache Nifi - procesor ConsumeIMAP fail

Jose Acosta 20 Reputation points
2023-01-28T17:21:26.67+00:00

User's image

Since January 24, 2023, this processor stop working, we are wondering if this is related to OAuth new feature that Microsoft is implementing???? The other processor used to send emails (PutEmail) still working. Can someone give me an explanation?

User's image

ConsumeIMAP[id=6a073cd0-2dfb-1a29-5251-038135e8bbdd] Failed to receive messages from Email server: [javax.mail.AuthenticationFailedException - AUTHENTICATE failed.
Microsoft Exchange Online
Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,632 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,818 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,228 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,519 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dillon Silzer 57,481 Reputation points
    2023-01-28T21:06:00+00:00

    Hi Jose,

    This is most likely due to the depreciation of basic authentication:

    Deprecation of Basic authentication in Exchange Online

    https://video2.skills-academy.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online

    You can check if you have disabled basic authentication via Admin Portal:

    https://video2.skills-academy.com/en-us/exchange/clients-and-mobile-in-exchange-online/enable-or-disable-modern-authentication-in-exchange-online#using-the-microsoft-365-admin-center

    In the Microsoft 365 admin center, go to Settings > Org Settings > Modern Authentication. In the Modern authentication flyout that appears, click to enable or disable Turn on modern authentication for Outlook 2013 for Windows and later (recommended).


    If this is helpful please accept answer.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.