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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Zuv
Frequent Visitor

Power BI embedded or Rest api? What should I use and what's the main differences?

I am trying to embedd dashboards into my web application.

Right now I made it working with power bi embedded and Azure workspaces and it works. 

But I saw that it is possible to make it working with Power bi rest api and iframes, but it asks logins via Oauth every time, right?

What is the differences between embedded and rest api for embedding dashboards into web applications?

Is it possible to use only power bi rest api and iframe it straight from the Power BI Service?

Is it possible to use Rest Api and Row level security?

Thank you

3 REPLIES 3
ankitpatira
Community Champion
Community Champion

@Zuv Below is the summary for you to differentiate as of now.

 

Power BI Embedded

fr

Azure service to let you host power bi reports and dashboards that you embed into your application. Your users don't need power bi account and they access power bi reports / dashboards via your application. Licensing model is different for this purpose and you can check more info here.

 

Power BI REST API

 

Power BI REST API lets you perform automated tasks over reports / dashboards in power bi service. Here's the link to all operations available currently via REST APIs.

 

iFrame

 

iFrame that you're talking about is generated through Publish to Web feature. Please note publish to web feature makes your report available to anyone over internet that has that publish to web link. There is no authentication to report via publish to web and you can read about it more here.

 

So you can use REST APIs to push data to your datasets in power bi service in real-time and use iFrame publish to web to embed it into your application (without any authentication). Hope that make sense.

@ankitpatira, thanks a lot for a clear explanation.

But I don't understand this part:

https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-report-get-report/

They are getting report with authentication, so it's not public available and it's not in Azure workspace, so it means it's not Power Bi Embedded per se.

And why and when we should use this embedding solution? Is it working with row level security?

Many thanks!

ankitpatira
Community Champion
Community Champion

@Zuv so it looks like this is a third option which I wasn't aware of. Good thing is there is a sample app so you can download that and use it as a basis of your testing for RLS.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors