Forum Discussion
Power BI Embedded Row Level Security, Couldn't load data for this visual 401 error
- 9 years ago
Hello Eric,
Thanks so much for your help, as it really narrowed down where the problem was.
It looks like the issue was with one of the packages, which was not working with RLS corectly - but would work without it. I must have taken a version from before RLS was implemented.
After updating all packages with NuGet to the latest working versions it now works with RLS correctly.
Hopefully this is of help to anyone with the same problem.
The token actually works for me when My pbix just contains one table. Do you mind uploading the pbix? I'd like to check the RLS setting in your case.
var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id,"10005",new string[] { "provider"});
Check the simple pbix in my test.
Hello Eric,
I tried uploading your power BI File and i received the same error as with my powerbi file.
However, if i remove the RLS from your file and then upload it it works fine.