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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Jay_AVA
Frequent Visitor

How to Use RLS with Workspace Permission

Hi everyone,

 

I'm using RLS to limit the access to spicific data, and it works fine when the user's permission in workspace is Viewer. 

 

Besides, I'm able to change Viewer to Admin to ignore the RLS for some of my users, by republishing the report to the workspace.

 

However, I find out that I'm not able to change it back to reapply RLS to that user. For instance, if someone becomes Admin in your workspace once, you can never apply RLS to that user, even you change the permission back to Viewer. Unless you create another workspace in where the user is Viewer. 

 

I don't know whether that's true or workspace needs more time to reapply RLS. 

 

Is there a way that I can reapply RLS to Admin users in the existing workspace?

 

Any helps would be appreciated. 

 

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @Jay_AVA 

 

I have never heard of that happening.

 

What I would suggest is to rather deploy the reports via an App, and then control the RLS via the RLS settings. This way you can ensure that it will work as expected?

 

Other than that it does sound like a bug if it does not re-apply the View Permissions.

What happens if you have to remove the user from the App Role, and then add them back in does that work?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

4 REPLIES 4
otravers
Community Champion
Community Champion

If this is really happening you need to report it to Microsoft support as this would be a very serious bug.

------------------------------------------------
1. How to get your question answered quickly - good questions get good answers!
2. Learning how to fish > being spoon-fed without active thinking.
3. Please accept as a solution posts that resolve your questions.
------------------------------------------------
BI Blog: Datamarts | RLS/OLS | Dev Tools | Languages | Aggregations | XMLA/APIs | Field Parameters | Custom Visuals

It works fine in my colleague's laptop. I guess it's just the function "Test As Role" has some lag. 

 

Thanks for your advice. 

 

GilbertQ
Super User
Super User

Hi @Jay_AVA 

 

I have never heard of that happening.

 

What I would suggest is to rather deploy the reports via an App, and then control the RLS via the RLS settings. This way you can ensure that it will work as expected?

 

Other than that it does sound like a bug if it does not re-apply the View Permissions.

What happens if you have to remove the user from the App Role, and then add them back in does that work?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

It's solved. It works fine in my colleague's laptop. I guess it's just the function "Test As Role" has some lag. 

 

Now I know, it's better to use another account to run the test. 

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.