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.
TL DR: If there is a role that specifically excludes a segment of your data, but there are not roles that include this segment than workspace admins (for whom RLS should not impact) would also not be able to see the specifically excluded segment.
---
Long version:
We recently moved all our data to azure and could take advantage of scheduled updates from PowerBI Service. We noticed that some of our data started dissapearing from our reports.
After a lot of trial and error we've narrowed it down to the RLS behaving in a way that we feel it was not designed to behave.
Here's the scenario:
Our data has many regions, Most executive level users should see data from all regions except two. Only the admin team should see data from all regions (admin team being the admin in the workspace hosting our dataset)
Since RLS does not apply to workspace admin we created a role called "Unrestricted Access" where NOT([REGION] in {"XYZ1","XYZ2"}), The way it should work is that the workspace admin team should see see XYZ1 and XYZ2 irrespective of the RLS since RLS is not supposed to impact us.
But we noticed that all data from XYZ2 would randomly stop displaying on our reports. This also did not occur regularly but appeared to happen intermitantly. The only connection we found was that our dataset had a role XYZ1 users where [REGION] = "XYZ1" while there was no role that specifically included XYZ2.
Once we created a new role for XYZ1 our workspace admin stopped seeing this issue.
To replicate issue we created a new fake region called "RLS TEST" and excluded it from our unrestricted access role. We again found that after a scheduled refresh workspace admins intermintently stopped seeing the dummy test data.
This makes us conclude that RLS is behaving in a way it is not designed to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.