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
Arendp
Helper III
Helper III

PowerBI Embedded advantages

hi there,

Just rolling into the usage of PowerBI Embedded. It looks great but one thing is still not clear to me.

I understand that Publish to the WEB has disadvantages because everyone with the url can access the report.

What if my dashboard is published in my customer's portal (which has a user login). So only if you are logged in the portal, you can see the dashboard (and have access to the dashboard). Why is the publish to WEB in this case a problem? Nobody from outside can see this link, can't they? Maybe I am just missing something here?

 

And if I use PBI Embedded, and the same report is embedded on that portal, somebody with access to the embed Javascript Code, can also access the dashboard, right? So in this case the access is also arranged by logging in to the portal or not. 

I hope it's clear what I try to get a better understanding of. Sorry if it might sounds confusing, but I have the feeling i'm not completely getting the security of PowerBI Embedded.

 

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

With Publish to Web, if the URL gets out, anyone can see it. There is no authentication at all. Plus, other things like export to Excel are turned off, etc. What you are talking about is called security through obscurity. If you want to go down that route nobody can stop you.

 

With Embed, there is always authentication. So no, you cannot just grab the javascript code and get access without authenticating. This is actual security. 

 

The level of security you desire is your choice.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks for your answer.

Maybe I am doing something wrong.

I created a Javascript based on a tutorial here:

https://www.youtube.com/watch?v=BwBnAN2PrWA&list=PLib8Q64STW-tLS5zh0HZmfT0QEopzqDc3&index=7&t=0s

Maybe it's because in this example the App ID and username and password of Powerbi are stored in the Function app on Azure?

I am pretty sure if I give you the result of this youtube tutorial, you are also allowed to see this. 

What would be the best way to arrange authentication for PowerBI Embedded?

 

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.