Forum Discussion
powerbi-oe
9 years agoFrequent Visitor
Power BI embedded: load report into web control in winforms application
Hi
So I want to load a report hosted in an Azure workspace into a desktop application.
Using the power bi cli, I've created a workspace and uploaded a pbix file. I've also got the embedurl for my report.
All the examples I've see are using an iframe to load the report. Can I not use URL directly in a browser control on my desktop application? If so, what URL do I need to use?
Thanks
So I want to load a report hosted in an Azure workspace into a desktop application.
Using the power bi cli, I've created a workspace and uploaded a pbix file. I've also got the embedurl for my report.
All the examples I've see are using an iframe to load the report. Can I not use URL directly in a browser control on my desktop application? If so, what URL do I need to use?
Thanks
10 Replies
- Eric_ZhangMicrosoft Employee
powerbi-oe wrote:
Hi
So I want to load a report hosted in an Azure workspace into a desktop application.
Using the power bi cli, I've created a workspace and uploaded a pbix file. I've also got the embedurl for my report.
All the examples I've see are using an iframe to load the report. Can I not use URL directly in a browser control on my desktop application? If so, what URL do I need to use?
ThanksIt is not possible to access a URL to visit reports in Power BI Embedded. When embeding a report, besides the embed URL, a token is required for authentication purpose.
One exception is Publish to web in Power BI Service, as it is public so no authentication required. The reports can be accessed via a single URL, any one who has that URL can access the reports.
- powerbi-oeFrequent VisitorI've managed to create a static HTML on disk and using the power bi JavaScript library load the report. I can then load the html file into a web browser control on a form.
- Eric_ZhangMicrosoft Employee
powerbi-oe wrote:
I've managed to create a static HTML on disk and using the power bi JavaScript library load the report. I can then load the html file into a web browser control on a form.You can do that but the embed token may expire. Although a token never expires can be generated but it is not recommended.