Can I pass a Username and Password for a system account to my embedded iFrame on my web application? With my current imlpementation, I can only view the iFrame if the app is on my local machine where I am prompted for credentials. When the app is deployed to the server, nothing loads because I am not able to provide credentials.
If it is not possible to pass the paramaters, is there any way in the current offering to embed a Power BI report from Report Server in my web application? Thanks!
I am having the same issue
anyone have solution to authenticate this, right now i can only make this work by passing the username & password through querystring, and modify the page_load on report. Thanks.
Pass encrypted session ID (you can use different mechanism) through js post method call, and authenticate the user in logon.aspx page_load, also you can check the url referr to insure the traffic is coming from your server.
Hey, really appreciate this answer. Can you explain a little more in detail?
Pass encrypted session ID (you can use different mechanism) through js post method call, and authenticate the user in logon.aspx page_load, also you can check the url referr to insure the traffic is coming from your server.
Have you been able to figure this out? Or are you waiting on Microsoft for a solution?
I'm trying to do the same thing than you.
Thanks,
Have you been able to figure this out? Or are you waiting on Microsoft for a solution?
I'm trying to do the same thing than you.
Thanks,
Hi @bheltzel,
For a Power BI report URL, you can add a query string parameter of ?rs:Embed=true
.
http://myserver/reports/powerbi/Sales?rs:embed=true
Once you have your URL, you can create an iFrame within a web page, to host the report.
<iframe width="800" height="600" src="http://myserver/reports/powerbi/Sales?rs:embed=true" frameborder="0" allowFullScreen="true"></iframe>
For more details, please see:
Embedding Power BI Reports with Power BI Report Server
Embed Power BI Report Server reports into extranet apps
Best regards,
Yuliana Gu
Hi Yuliana, thanks for the reply. I actually have completed these steps from the documentation already and they are working as expected. My issue is that the Report Server requires credentials to see the report. How can I pass the credentials in the application so that any user (even ones that don't have access to the report server) can view the report?
Hi @bheltzel,
As mentioned in above link,
The user who is connecting to your custom app also needs to have access to the Power BI report on the report server, this is great for internal applications but harder for extranet scenario’s. A solution to this is also on the road map.
Regards,
Yuliana Gu
Has there been any progress here?
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
User | Count |
---|---|
5 | |
3 | |
1 | |
1 | |
1 |