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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors