cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rasta123 Frequent Visitor
Frequent Visitor

RLS with Power BI Embedded Premium Question?

We are working with Power BI Premium Embedded and want to implement RLS based on Roles, this was available in previous Power BI Embeded service on Azure following the below documentation:

 

https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls 

 

in the example from the above link we could use this passing the Role with method below:

 

var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id, "Andrew Ma", ["Manager"]);'

 

This does not appear to be available yet and based on what we read it appears it is due this quarter or possibly in a July update.  Can anyone confirm when this will be available via preview or in production?

 

 

30 REPLIES 30
Power BI Team yuryb
Power BI Team

Re: RLS with Power BI Embedded Premium Question?

Yes, currently this is not supported but we're working to enable RLS for the new embedding API. First this will be supported for reports based on Power BI models (not AS on-prem or AS Azure live connections). The RLS roles and username will be passed as additional parameters to GenerateToken API. The current plan is to make this available in August.

 

Best regards

Moderator Eric_Zhang
Moderator

Re: RLS with Power BI Embedded Premium Question?


@yuryb wrote:

Yes, currently this is not supported but we're working to enable RLS for the new embedding API. First this will be supported for reports based on Power BI models (not AS on-prem or AS Azure live connections). The RLS roles and username will be passed as additional parameters to GenerateToken API. The current plan is to make this available in August.

 

Best regards


@yuryb

Thanks for the confirmation. By the way, are you from the product team?

Power BI Team yuryb
Power BI Team

Re: RLS with Power BI Embedded Premium Question?

Yes. Looking how to reflect this in my signature

Highlighted
fbeekvel
Advisor

Re: RLS with Power BI Embedded Premium Question?

Hi @yuryb

 

Do you have any idea (rough ballpark) when RLS will be available for live Azure AS connections?

Power BI Team avive
Power BI Team

Re: RLS with Power BI Embedded Premium Question?

Hi,

We do not have a date to share yet for PBI Embedded with RLS connecting to AS Azure

rasta123 Frequent Visitor
Frequent Visitor

Re: RLS with Power BI Embedded Premium Question?

Aviv, thanks for update.

 

We have re-developed a new multi-tenant PaaS application on Azure & Azure SQL and the last enhancement we want to make is the embedding of Power BI & Report Visuals.  We have everything hooked up with the new API's and everything seemed to work great.  We have temporarily hard-coded some TenantID column filters into our models, but the last piece of the puzzle was to implement tenant security within our Power BI Models so we don't have to build seperate models for each Tenant.  We are planning on utilizing role based security within our models and passing the tenant ID within the API in order to filter using these roles the data based on that TenantID column. Can we assume this is the best approach and anticipate the Microsoft is going to support this approach fairly soon within Power BI Models and the new API's?  This would allow us to setup a single user account in Azure AD to support each Tenant and connect to his role.  Does that make sense, I am not the developer, but working with him to map out final pieces of the puzzle.

 

berhir Visitor
Visitor

Re: RLS with Power BI Embedded Premium Question?

Hi @yuryb and @avive,

 

I am currently working on a very similar scenario as rasta123.

We have a multi-tenant web app and want to provide a single report that shows only the data for the current tenant.

The data is stored in a Sql Azure DB and we use direct query to get the data into the report.

We have already embedded the report and everything works fine so far.

The only missing piece to make it available to our customers is RLS.

 

@yuryb said there will be an update in August that brings RLS to the new API. Is my scenario possible with this update? And do you already have a date?

 

Thanks!

Power BI Team avive
Power BI Team

Re: RLS with Power BI Embedded Premium Question?

RLS is out, read about it here: https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedded-rls/

and also about the updates to the GenerateToken API that goes with it: https://msdn.microsoft.com/en-us/library/mt784614.aspx

nicksav Regular Visitor
Regular Visitor

Re: RLS with Power BI Embedded Premium Question?

Hi Avive

Still can't find info on how to generate an embeeded token with Roles for Tiles and Dashboards?

Is there any time line to support this?

 

Thanks

Nick