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: 550 5.7.58 Account is not configured properly for
LOB App service. Contact your administrator.
At C:\Scripts\SMTP.ps1:10 char:1
+ Send-MailMessage -From [email protected] -To paris.wells@pa. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpExcept
ion
+ FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
I checked the HVE Page in Exchange and the account was missing !
However the Account was still in Entra
I had to create a new HVE account and raise a support case with Microsoft