Forum Discussion
Getting The underlying connection was closed
- 6 years ago
issue resolved with the help of microsoft support.
Support for transport layer security (TLS) 1.0 and 1.1 for Power BI will end in June 2020. Upgrade the TLS version of your Power BI application to TLS 1.2 before then.
Solution: Adding followung code
System.Net.ServicePointManager .SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
Follow below post suggested by microsoft support team:
https://azure.microsoft.com/en-in/updates/power-bi-support-for-transportlayer-security/
https://community.powerbi.com/t5/Issues/Embedded-Power-BI-is-not-working/idi-p/1185996#comments
Just for your reference i have pro licence only. link shared ny you for Premium licence. my reports were working fine and refresh dataset also.
Suddently from last week it stop working ansd showing error . Still embeded trail token showing 75%.
issue resolved with the help of microsoft support.
Support for transport layer security (TLS) 1.0 and 1.1 for Power BI will end in June 2020. Upgrade the TLS version of your Power BI application to TLS 1.2 before then.
Solution: Adding followung code
System.Net.ServicePointManager .SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
Follow below post suggested by microsoft support team:
https://azure.microsoft.com/en-in/updates/power-bi-support-for-transportlayer-security/
https://community.powerbi.com/t5/Issues/Embedded-Power-BI-is-not-working/idi-p/1185996#comments