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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
kadee15
Regular Visitor

Doubt about RestAPI Real time data

Hi, i want to use Power BI REST API to get reports on my account and show them on my web app. My doubt is:

When a user access to my app and see the iframe with report obtained by C# code, will it be real time data? What i mean is... will iframe data stay cached 1 hour like "publish to web" option or it'll always be real time access to data and info on report?

 

If you need a better explanation, just tell me and ill try to give you better.

Thank you so much! 

1 ACCEPTED SOLUTION


@kadee15 wrote:

Thank you so much! I have another question:

Can i use the same user on my Azure AD configured on my C# code (same access token every time) to get reports and then show them on my app iframe to public users??? Maybe this is the right way to do it but i prefer ask before do something useless... 😃

 

Again thanks for help! @Eric_Zhang


@kadee15

This seems possible on technology aspect, however I doubt it would violate some license compliance. A better option is using Power BI Embedded, it has no license involved.

View solution in original post

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee

@kadee15

It should be real time, check the first paragraph at What can developers do with Power BI? And I don't notice some latency when embeding report via Power BI REST API.

 



Hi, i want to use Power BI REST API to get reports on my account and show them on my web app. My doubt is:

When a user access to my app and see the iframe with report obtained by C# code, will it be real time data? What i mean is... will iframe data stay cached 1 hour like "publish to web" option or it'll always be real time access to data and info on report?


By the way, the user can't access the report unless the user has access to your report in Power BI Service. 

Thank you so much! I have another question:

Can i use the same user on my Azure AD configured on my C# code (same access token every time) to get reports and then show them on my app iframe to public users??? Maybe this is the right way to do it but i prefer ask before do something useless... 😃

 

Again thanks for help! @Eric_Zhang


@kadee15 wrote:

Thank you so much! I have another question:

Can i use the same user on my Azure AD configured on my C# code (same access token every time) to get reports and then show them on my app iframe to public users??? Maybe this is the right way to do it but i prefer ask before do something useless... 😃

 

Again thanks for help! @Eric_Zhang


@kadee15

This seems possible on technology aspect, however I doubt it would violate some license compliance. A better option is using Power BI Embedded, it has no license involved.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.