Forum Discussion
bheltzel
8 years agoNew Member
Pass Username/Password on iFrame Embed with Report Server
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...
v-yulgu-msft
Microsoft Employee
8 years agoHi 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
bheltzel
8 years agoNew Member
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?