The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I developed a report in desktop and created a role to apply RLS using userprincipalname().
It works fine for me in PBI desktop when I view as the role.
I published the app and applied security to the data set using the RLS model. I specifically added my username to this RLS role.
When I publish as an app, RLS is applied correctly to everyone except me. I can still see all rows, and I shouldn't.
Is there some configuration in the app that will apply the same RLS rules to the publisher (my own user account)?
Thanks
Thank you Henry, I believe you are correct. But to me this seems like RLS should apply to Admin too. If an admin wanted to see all rows there are other options to allow this. I may add this as a suggestion.
Hi @teasley ,
This may depend on your role in the workspace. For example, admin, member etc. (i.e. you have the appropriate edit permissions for the workspace). In this case, the configured rls will not take effect.
More details, you can read below:
Roles in workspaces in Power BI - Power BI | Microsoft Learn
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
52 | |
22 | |
12 | |
11 | |
9 |
User | Count |
---|---|
113 | |
31 | |
30 | |
21 | |
19 |