You need to set SmtpClientAuthenticationDisabled to $false, not $true.
shared mailbox for printers (sending emails)
Hello,
can I use the shared mailbox to send an email with the printer .? I have everything enabled according to the instructions https://aka.ms/smtp_auth_disabled.
Set-CASMailbox -Identity ******@xxx.xx -SmtpClientAuthenticationDisabled $true
Send-MailMessage : The SMTP server requires a secure connection or the client has not been authenticated. Server response: 5.7.57 Client not authenticated to send mail. Error: 535 5.7.139 Authentication unsuccessful,
SmtpClientAuthentication is disabled for the Mailbox. Visit https://aka.ms/smtp_auth_disabled for more information. [FR0P281CA0164.DEUP281.PROD.OUTLOOK.COM 2023-05-29T15:23:44.614Z 08DB5F8809BA8BA6
Thank you Michal.
Exchange Online
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
-
Vasil Michev 119.6K Reputation points MVP Volunteer Moderator
2023-05-29T15:34:12.1133333+00:00