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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.