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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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 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.