Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
teasley
Frequent Visitor

RLS applied for everyone except publisher (me)

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

2 REPLIES 2
teasley
Frequent Visitor

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.

v-henryk-mstf
Community Support
Community Support

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.

vhenrykmstf_0-1670493008316.png

 

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.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.