Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
EnzoSoares
Regular Visitor

Power BI Report not loading in Web Page

Greetings.

I'm trying to embed a Power BI report using an azure service principal and a capacity. I managed to obtain the embed url through the endpoint

https://api.powerbi.com/v1.0/myorg/groups/{group_id}/reports/{report_id}

 I am then trying to put that embed url inside an iframe like so:

    <iframe title="Title" width="1140" height="541"
src={{ embed_url }}
allowFullScreen="true"></iframe>

 When the page is loaded, the report just loads infinitely.

What should I be doing diferently? Any help would be appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @EnzoSoares ,

 

According to your statement, I think you use service principal as authentication method to embed your report for customer. 

For reference:

Embed Power BI content with service principal and an application secret

Tutorial: Embed Power BI content using a sample embed for your customers' application

If you use embed to website, you can refer to below offcial blog.

Embed a report in a secure portal or website

Easily embed secure Power BI reports in your internal portals or websites

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @EnzoSoares ,

 

According to your statement, I think you use service principal as authentication method to embed your report for customer. 

For reference:

Embed Power BI content with service principal and an application secret

Tutorial: Embed Power BI content using a sample embed for your customers' application

If you use embed to website, you can refer to below offcial blog.

Embed a report in a secure portal or website

Easily embed secure Power BI reports in your internal portals or websites

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.