I developed my own dashboard and displying powerbi dashboad and reports with dataset refresh feature. it was working fine for the last one year but for the last few days suddenly it stop working and showing "
The underlying connection was closed: An unexpected error occurred on a send
".
Just for more clarity i was following below steps to refresh the dataset as well as display reports
Refresh Data set:
1. Generate the Access token : getting access token
2. call API
https://api.powerbi.com/v1.0/myorg/groups/{0}/datasets/{1}/refreshes
passing groupid, datasetid, token etc
Here i am getting error: "
The underlying connection was closed: An unexpected error occurred on a send
"
Same error while try to get information for reports.
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
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
Microsoft Fabric Community Conference
Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.
Power BI Monthly Update - February 2024
Check out the February 2024 Power BI update to learn about new features.
Fabric Community Newsletter - March 2024
Find out what's new and trending in the Fabric Community.
Microsoft Fabric Partner Community
Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.