Forum Discussion

rasta123's avatar
rasta123
Frequent Visitor
9 years ago

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

  • yuryb's avatar
    yuryb
    Power BI Team

    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

    • fbeekvel's avatar
      fbeekvel
      Frequent Visitor

      Hi yuryb

       

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

      • avive's avatar
        avive
        Power BI Team

        Hi,

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

    • Eric_Zhang's avatar
      Eric_Zhang
      Microsoft Employee

      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?

      • yuryb's avatar
        yuryb
        Power BI Team

        Yes. Looking how to reflect this in my signature

  • rasta123's avatar
    rasta123
    Frequent Visitor

    We have succesfully got this working with Azure SQL with an embedded project and have purchased an Premium EM1 SKU to get started.  My next questions is how does the sku get associated with our account and how would we monitor usage on the account just like any other Azure usage?  I assume the SKU is connected to our Office 365 domain and somehow uses that, but not sure how to validate and monitor embedded usage.