Forum Discussion
RLS user with two roles generating error when accessing via workspace app, not via direct link
- 4 years ago
I haven't used apps in a while but if memory serves, you need to publish changes made to its component artifacts (e.g. report, dashboard) after its creation. Can you check that the app has the latest version of the dataset with RLS rules built in? Maybe it needs to be republished if it was created before RLS were part of the underlying PBIX.
GilbertQ (sorry I mistagged the wrong Gil above), FYI I created a parallel environment in a Microsoft developer's account evironment, and could not replicate the error. IT has agreed to temporary create an account on our production system so I can troubleshoot the problem where it sits...to be continued.
I anticipate I may look foolish when this is over.
I haven't used apps in a while but if memory serves, you need to publish changes made to its component artifacts (e.g. report, dashboard) after its creation. Can you check that the app has the latest version of the dataset with RLS rules built in? Maybe it needs to be republished if it was created before RLS were part of the underlying PBIX.
- aseagull4 years agoHelper IV
Yes, this was it! Sorry for the delay; I didn't get a test account, appropriately privileged, until yesterday.
Biggest lesson here, which I should have figured out on my own: If a report is working with direct access, and not through an app, first tip is to republish the app!!