Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to use the Power BI REST API through PowerApps to query a Power BI dataset. It works fine for me and for another person who had contributor access to the workspace that the Power BI data set is in, but it's not working for other users. The dataset has RLS active, I'm assigned the role in RLS that lets me view everything. The other users have workspace access and build access to the dataset, and the query is set up with me as the impersonatedUserName. But they get an error that PowerBEntityNotFound, cannot query the dataset by using the REST API because the dataset was not found or you do not have the required permissions. This exact setup with user permissions--(Workspace Viewer, Build (app)) with impersonatedusername as someone assigned the RLS role--is working for a different app that is querying a different dataset in the same workspace. I don't know what else to try to get this to work. From what I read, this should be working. Any ideas?
My understanding is that the PowerApps user has to have a workspace role above Viewer. This also means that RLS will be ignored.
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |