Is the account MFA enabled?
Issue while configuring SMTP using O365
Hi,
I cant able to send mails using SMTP via O365.I have enabled the SMTP AUTH in mail apps.While i try to send mails through SMTP got the below Error.
"Send-MailMessage : The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send
mail. Error: 535 5.7.3 Authentication unsuccessful [SG2PR03CA0140.apcprd03.prod.outlook.com]"
2 answers
Sort by: Most helpful
-
-
Kael Yao-MSFT 37,496 Reputation points Microsoft Vendor
2021-10-08T01:16:16.003+00:00 Please refer to this link for troubleshooting: Fix issues with printers, scanners, and LOB applications that send email using Microsoft 365 or Office 365
There are four possible causes of this issue:
- SMTP AUTH is not enabled on the mailbox being used
- MFA is enabled on the mailbox
- Azure Security Defaults is enabled in the tenant
- The user is included in a Conditional Access policy which blocks Legacy Authentication
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.