TLS 1.2 Recommended for Power BI Embedded applications
Share
Services
As part of Microsoft-wide programmes to ensure that customers have control over the security of communications with Microsoft services, we highly recommend (and will require in the future) that you 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](https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FMicrosoft.PowerBI.Api%2F&data=02%7C01%7CNimrod.Shalit%40microsoft.com%7C61669ef7682a4bd6dd2a08d673f07579%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636823874011454333&sdata=gldWYrct3%2FHpar4fFms2tm%2FfagqId12Us79B1JOj9us%3D&reserved=0).
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’](https://cloudblogs.microsoft.com/microsoftsecure/2017/06/20/tls-1-2-support-at-microsoft/).
* Power BI Embedded
* Security
* [ Power BI Embedded](https://azure.microsoft.com/en-gb/products/power-bi-embedded/)
What else is happening at Microsoft Azure?
Read update
Services
Share
Read update
Services
Share
We’re retiring Azure Time Series Insights on 7 July 2024 – transition to Azure Data Explorer
May 31st, 2024
Services
Share