Forum Discussion
RLS Only Works For Some Users
Do you have an RLS role that can view everything? What's the DAX expression that defines it?
It passes userprinciplename to the users name (code below)
There is a role that sees everything. This doesn't have any filters applied.
DAX
- otravers4 years agoCommunity Champion
I suggest you create a table in a new report page with each user's UPN and then a column with that DAX expression. Publish it in the service to see the UPN resolve to emails.
- Lee_D20224 years agoRegular Visitor
That sheds a little more light on the situation. The problem users are returning my name and, as I'm in the see all group, they can then see all.
Why would this happen for some users and not all of them? Could it be how their profile is set up?
- otravers4 years agoCommunity Champion
Yeah I'd review these users' profiles in AAD and how they're different from those that work as expected.