"How do I resolve the '535 5.7.139 Authentication unsuccessful' error when using Nodemailer with M365"

MAZEED 1 Reputation point
2023-06-16T10:42:05.62+00:00

"How do I resolve the '535 5.7.139 Authentication unsuccessful' error when using Nodemailer with M365"

Outlook
Outlook
A family of Microsoft email and calendar products.
3,628 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,767 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
539 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
510 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amit Singh 4,971 Reputation points
    2023-06-20T07:15:42.84+00:00

    Please refer to this link and check Error: Authentication unsuccessful Article below points.

    Point 3 (Azure Security Defaults) and 

    Point 4 - Conditional Access policy)

    0 comments No comments

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.