cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SergK
Regular Visitor

SMTP TLS 1.2

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.

 

6 REPLIES 6
SergK
Regular Visitor

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

V-pazhen-msft
Community Support
Community Support
V-pazhen-msft
Community Support
Community Support

@SergK 

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

Vpazhenmsft_0-1632722432993.png

 

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?

SergK
Regular Visitor

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?

SergK
Regular Visitor

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

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Dev Camp Session 22 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors