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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Power BI Embedded

How should a Front End Developer who has a knowledge of Power Bi approach power Bi embedded?
What should I do with the code generated in the Embed code sample.
If I have the Embed Id,Report ID and Embed URL,Can this Embedding be done without any Back End?
I'm trying to embed a report in a website and not very familiar with Back End Technologies.

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@Anonymous wrote:

How should a Front End Developer who has a knowledge of Power Bi approach power Bi embedded?
What should I do with the code generated in the Embed code sample.
If I have the Embed Id,Report ID and Embed URL,Can this Embedding be done without any Back End?
I'm trying to embed a report in a website and not very familiar with Back End Technologies.


@Anonymous

Two approaches.

  1. Publish to Web.
    You can embeded the Embed URL to iframe in HTML, without doing anything at back end. However, as the name indicates, everyone can access embedded reports as long as the user has access to the embeding web page. So if you have security concern, it is not the choice.
  2. Embedding with Power BI
    It requires quite a lot back end job, see the demos in github lib. In this approaches you can apply security like Row Level Security and other features more than Option 1.
  3. Pure Front End.
    You can put all the back end work in front end via Javascript. For Azure AD authentication, there's an ADAL JS lib. As to get Power BI embedded urls, reportId etc, you can call the Power BI REST APIs in Javascript. 

By the way, I see in another thread, you're consulting Power BI and Sharepoint integration, for this case, you can reference Embed with report web part in SharePoint Online.

View solution in original post

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@Anonymous wrote:

How should a Front End Developer who has a knowledge of Power Bi approach power Bi embedded?
What should I do with the code generated in the Embed code sample.
If I have the Embed Id,Report ID and Embed URL,Can this Embedding be done without any Back End?
I'm trying to embed a report in a website and not very familiar with Back End Technologies.


@Anonymous

Two approaches.

  1. Publish to Web.
    You can embeded the Embed URL to iframe in HTML, without doing anything at back end. However, as the name indicates, everyone can access embedded reports as long as the user has access to the embeding web page. So if you have security concern, it is not the choice.
  2. Embedding with Power BI
    It requires quite a lot back end job, see the demos in github lib. In this approaches you can apply security like Row Level Security and other features more than Option 1.
  3. Pure Front End.
    You can put all the back end work in front end via Javascript. For Azure AD authentication, there's an ADAL JS lib. As to get Power BI embedded urls, reportId etc, you can call the Power BI REST APIs in Javascript. 

By the way, I see in another thread, you're consulting Power BI and Sharepoint integration, for this case, you can reference Embed with report web part in SharePoint Online.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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