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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
fab
Helper I
Helper I

Security RLS on service

Hi,

 

I created a report with a RLS.

User connected (userprincipalname()) mut only see his projects. 

I created a role in PBI Desktop, test it and it works well.

 

I published the report on the service and add users to the role (here too it's ok when I test the role,).

But when I open the report with my account, the rôle does not apply and I see all data.

 

Did I forget something ? 

I would like security to apply to every user from the moment the report is opened.

 

 

Thank for your help

 

Fab

 

 

 

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

If you have Admin rights to a workspace, you pretty much ignore RLS.  Try testing it with a user that does not have the editting rights to the report like you do.

View solution in original post

Anonymous
Not applicable

HI @fab,

 

Current RLS only works on read only right, if users has edit permission, RLS feature will be disabled.

 

 

Using RLS with app workspaces in Power BI

If you publish your Power BI Desktop report to an app workspace within the Power BI service, the roles will be applied to read-only members. You will need to indicate that members can only view Power BI content within the app workspace settings.

Warning:

If you have configured the app workspace so that members have edit permissions, the RLS roles will not be applied to them. Users will be able to see all of the data.

 

Reference:

Row-level security (RLS) with Power BI

 

Regards,

Xiaoxin Sheng

View solution in original post

3 REPLIES 3
prasanna18890
Regular Visitor

solved

Anonymous
Not applicable

HI @fab,

 

Current RLS only works on read only right, if users has edit permission, RLS feature will be disabled.

 

 

Using RLS with app workspaces in Power BI

If you publish your Power BI Desktop report to an app workspace within the Power BI service, the roles will be applied to read-only members. You will need to indicate that members can only view Power BI content within the app workspace settings.

Warning:

If you have configured the app workspace so that members have edit permissions, the RLS roles will not be applied to them. Users will be able to see all of the data.

 

Reference:

Row-level security (RLS) with Power BI

 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

If you have Admin rights to a workspace, you pretty much ignore RLS.  Try testing it with a user that does not have the editting rights to the report like you do.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.