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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
Employee
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.