powerbi-desktoppowerbi-embeddedpower-bi-report-server

showing power bi report in html using <iframe> returns "name refused to connect"


i have a power bi report that i need to view it in my web page, i am using power bi desktop rs (using no AccessToken idk if its the problem or not) and power bi report server configuration manager 15. server configuration manager i can view the report on power bi web portal just fine my report on web portal

but when i create a html file and use the iframe tag to show the report on it, it says refused to connect. report on my html

this is my html code:

<iframe
    width="800"
    height="600"
    src="http://garshasp:2970/Reports/powerbi/voicebot"
    frameborder="0"
    allowfullscreen="true">
</iframe>

the report is supposed to be shown in my html file

im new to all this someone please help me, i really need this to work


Solution

  • Need to publish the reports from Power BI Report server/ Power BI Desktop to Power BI Service.

    Refer Publish .rdl files to Power BI from Power BI Report Server and Reporting Services for publishing the report to PBI service.

    Refert to Publish Power BI Reports from PBI Desktop to PBI Service

    Once the report gets published in Power BI Service, we can get the iframe link to embed the report.

    Refer Embed a report in a website and follow the steps to Embed your report in the website.