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
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
Employee
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
Employee
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
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.