Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
I have a Windows Server 2019 (all updates) and a PBI Report Server May 2021 - 15.0.1106.169.
I use the standard functionality for sending email in PBI + Exchange Online mailbox.
Server 2019 support tls 1.2 from the box.
The problem:
PBI sends mail using tls 1.0 - I can see this in the tls usage reports on M365
According to the MS documentation, support for tls 1.0 and 1.1 will be discontinued in 2022.
How to force PBI to use TLS 1.2 for email?
PS I apologize for my English.
after I disabled tls 1.0 and 1.1, the mail stopped being sent at all.
ERROR: Error sending email. Exception: System.AggregateException: One or more errors occurred. ---> System.Net.Mail.SmtpException: Failure sending mail. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm
at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result)
at System.Net.Mail.SmtpTransport.EndGetConnection(IAsyncResult result)
at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
---> (Inner Exception #0) System.Net.Mail.SmtpException: Failure sending mail. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm
at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result)
at System.Net.Mail.SmtpTransport.EndGetConnection(IAsyncResult result)
at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)
--- End of inner exception stack trace ---<---
. Additional Information: SmtpException StatusCode:GeneralFailure
@SergK
You might need to use the modern authentication.
Disable Basic authentication in Exchange Online | Microsoft Docs
How modern authentication works for Office 2013 and Office 2016 client apps - Microsoft 365 Enterpri...
Also check the suggestion here:
Deprecation of Basic Authentication - Office 365 Basic Authentication Report (o365reports.com)
Paul Zheng _ Community Support Team
Best Regards
I guess you are looking for this doc:
Preparing for TLS 1.2 in Office 365 and Office 365 GCC - Microsoft 365 Compliance | Microsoft Docs
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Hello,
what do you suggest? disable 1.1 and 1.0 on the server entirely? I can try.
What about Basic Auth?
And more:
Microsoft announced that they are restarting the program to end the use of Basic Auth in Exchange Online. Beginning October 1, 2022, Microsoft will begin to disable Basic Auth in all tenants, regardless of usage.
Need support Modern Authentication in PBI.
why doesn't anyone care?
the most recent update:
Today, we are announcing that, effective October 1, 2022, we will begin to permanently disable Basic Auth in all tenants, regardless of usage (with the exception of SMTP Auth, which can still be re-enabled after that).
so in theory, PBI will be able to send mail after October 1, 22