Forum Discussion
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
- yurybPower 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
- avivePower BI Team
Hi,
We do not have a date to share yet for PBI Embedded with RLS connecting to AS Azure
- Eric_ZhangMicrosoft 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
Thanks for the confirmation. By the way, are you from the product team?
- yurybPower BI Team
Yes. Looking how to reflect this in my signature
- rasta123Frequent 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.
- nimrodResolver II
After purchasing a SKU, you need to assign the relevant workspace to the capacity you purchased.
It can be done through the Admin Portal in the PBI Portal.
Read more about it here- https://powerbi.microsoft.com/en-us/documentation/powerbi-admin-premium-manage/#assign-a-workspace-to-a-premium-capacity