Forum Discussion
Userprincipalname Returning wrong address
Good afternoon all, I have been having an issue the last couple of weeks, hope someone call shed some light.
I have implemented RLS with a table and roles. They depend on the person logging in (Dynamic).
The issue that I'm having is that for some people the Userprincipalname measure returns the correct email address and it filters the data correctly. (view screenshots).
For other people it returns the developer's email address and therefor it doesn't filter anything and shows all the data....
When this first happed last week, I deleted the report and dataset from the workspace/app and then reuploaded. Now I am trying that but it only "fixed" half the users....
- Anonymous4 years ago
Hi Powerbiconnecto ,
Are users in the Workspace role of View? Otherwise, even if RLS is used, the user can still see all the data
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- AnonymousNot applicable
Hi Powerbiconnecto ,
Are users in the Workspace role of View? Otherwise, even if RLS is used, the user can still see all the data
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- PowerbiconnectoFrequent Visitor
Hello Liu Yang, thank you very much for having taken the time to reply, I hadn't seen this. Yes, indeed that was the issue, they were set up as "Members" and therefor could see everything.
Thank you!