Error "Invalid login: 535 5.7.139 Authentication Unsuccessful"


A failed notification message is received with the following error:

Error sending email: Invalid login: 535 5.7.139 Authentication unsuccessful, user is locked by your organization’s security defaults policy.


This particular error is returned directly by the Microsoft/Outlook SMTP provider. It is likely not to have permissions in the credentials being sent in the SMTP Provider since it rejects the request.


Please contact Outlook/SMTP Provider admin, and please see a few references from Microsoft on this error: