Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
borlip
Advocate I
Advocate I

Row-Level Security with the new embed model

Hi,

 

Can someone please confirm if Row-Level Security is supported in the new Power BI Embed Model?

It was definitely available in the Azure based PBI Embedded (https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls)

However, using the new model I wasn't able to generate the Embed Token in the Group where a user is not an Admin PowerBIClient.Reports.GenerateTokenInGroupAsync() (returns 403).

Also, I wasn't able to access the Group's api on behalf of the user that doesn't have Pro account.

Please confirm.

 

2 REPLIES 2
vickyprudhvi
Helper IV
Helper IV

Hi,

Please look into below link for RLS in non PowerBI Users for embedding

https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedded-rls/

borlip
Advocate I
Advocate I

I made it working... Instead of generating embed token, I pass access token to UI. Then, UI is using Access Token, Embed URL and ReportId to display the report, which has data filtered on behalf of the user stored in the API.

It's quite annoying that only pro accounts can be used in row level security 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.