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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors