Mail authentication failed. Please verify your SMTP user name and password. If your SMTP server doesn't support authentication, please clear the SMTP user name and password.
Server smtp.office365.com:587 using SSL/TLS supports the following authentication options: LOGIN, XOAUTH2.
Microsoft.Dynamics.Platform.Integration.Smtp.SmtpProxyAuthenticationException: 535: 5.7.3 Authentication unsuccessful [MN2PR07CA0006.namprd07.prod.outlook.com] ---> MailKit.Security.AuthenticationException: 535: 5.7.3 Authentication unsuccessful [MN2PR07CA0006.namprd07.prod.outlook.com] ---> MailKit.Net.Smtp.SmtpCommandException: 5.7.3 Authentication unsuccessful [MN2PR07CA0006.namprd07.prod.outlook.com]
--- End of inner exception stack trace ---
at MailKit.Net.Smtp.SmtpClient.<AuthenticateAsync>d__69.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MailKit.Net.Smtp.SmtpClient.Authenticate(Encoding encoding, ICredentials credentials, CancellationToken cancellationToken)
at MailKit.MailService.Authenticate(Encoding encoding, String userName, String password, CancellationToken cancellationToken)
at MailKit.MailService.Authenticate(String userName, String password, CancellationToken cancellationToken)
at Microsoft.Dynamics.Platform.Integration.Smtp.SmtpProxy.Connect(Nullable`1 correlationId)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Platform.Integration.Smtp.SmtpProxy.Connect(Nullable`1 correlationId)
at Microsoft.Dynamics.Platform.Integration.Smtp.SmtpProxy.SendMessage(MailMessage message, Guid correlationId)
at Dynamics.AX.Application.SysMailerSMTP.`clientSend(MailMessage _message, Guid _correlationId) in xppSource://Source/ApplicationFoundation\AxClass_SysMailerSMTP.xpp:line 274
at Dynamics.AX.Application.SysMailerSMTP.clientSend(MailMessage _message, Guid _correlationId)
at Dynamics.AX.Application.SysMailerSMTP.`sendMessage(MailMessage _message, Boolean _interactive, Guid _correlationId) in xppSource://Source/ApplicationFoundation\AxClass_SysMailerSMTP.xpp:line 130