Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Power BI Embedded access control



I'm trying to figure out how to handle access control from within a custom app using the new Power BI embedded. Auth is handled using access tokens which means I don't have a user context. Does that mean we can't use row level security features? How can this be used in an application that has a security model i.e. users should only be accessing their own data? Or is it all or nothing where all users see the same reports? It would be great to be able to pass in a custom user identifier as part of the access token aquisition that then can be used in RLS somehow.


Also, I'm trying to find the transportation/truck sample you demoed in a video on //build where you showed how to render a report based on a specific truck selected. How is that report parameterized? Is it available on github? Couldn't figure it out by looking in the SDK.



Regular Visitor

Re: Power BI Embedded access control

Got the answers myself in the q&a here

Will come in future updates.
Frequent Visitor

Re: Power BI Embedded access control

Pretty critical functionality... I would be ok with generating individual reports just manipulating the underlying dataset as needed, except the AddRows Dataset method doesn't appear to work yet (Unauthorized).

Helpful resources


August Community Highlights

Check out a full recap of the month!

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Kudoed Authors