Forum Discussion
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
- vickyprudhviHelper 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/
- borlipKudo Kingpin
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