Skip to main content

TLS 1.2 Recommended for Power BI Embedded applications

Published date: April 10, 2019

As part of Microsoft-wide programs to ensure that customers have control over the security of communications with Microsoft services, we highly recommend (and will require in the future) to upgrade the TLS version of your application to TLS 1.2. 

What is TLS?

TLS stands for “Transport Layer Security” and is a protocol that is an industry standard designed to protect the privacy of information communicated over the Internet. TLS is used in many web browsers and applications that communicate over HTTPS and TCP.

If you are using .NET application, please do one of the following:

  • If your application is running on .NET Framework 4.6 or higher unless modified the default configuration will continue to work.
  • If your application runs on .NET Framework older than 4.6, you can enable the protocol programmatically when your application starts to run using the following line of code:

System.Net.ServicePointManager  .SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;

Power BI API SDK supports .NET standard 2.0 from version 2.1.0, which adds support in TLS version 1.2. you can download latest SDK version here.

For Powershell- Add [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12 to your Powershell Script

For non .NET software- please check with your vendor. For most languages it can be done with a simple config entry.

Additional information can be found in ‘TLS 1.2 support at Microsoft’.

  • Power BI Embedded
  • Security

Related Products