cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
laikittmun
Frequent Visitor

Not Able to get RLS Working

Hi,

 

I need help with configuring RLS on my DataSet which is created via DirectQuery to my SQLMI Database.

 

I referred to the following link to setup the necessary RLS configuration: -

https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

Unfortunately, I could not get it working.

 

When I tested the role with the test function, it works. But, execute the report with the respective User Logon assigned to a specific Role, it does not seem to work.

 

Where have I gone wrong if I have followed the steps provided in the documented link : https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

 

Thanks.

 

 

1 ACCEPTED SOLUTION
Burningsuit
Super User
Super User

HI @laikittmun 

This could possibly be because of the permissions on the workspace you have the Report in.

In a workspace only "viewers" are subject to RLS, if your user is acessing the Report with "Contributor", "Member" or "Admin" rights in the workspace they are NOT subject to RLS so will see all the data.

Check the user's workspace permissions.

Hope this helps

Stuart

View solution in original post

1 REPLY 1
Burningsuit
Super User
Super User

HI @laikittmun 

This could possibly be because of the permissions on the workspace you have the Report in.

In a workspace only "viewers" are subject to RLS, if your user is acessing the Report with "Contributor", "Member" or "Admin" rights in the workspace they are NOT subject to RLS so will see all the data.

Check the user's workspace permissions.

Hope this helps

Stuart

Helpful resources

Announcements
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through June10th!

Power BI Dev Camp Session 22 without aka link and time 768x460.jpg

Check it Out!

Watch Session 22 Ted's Dev Camp along with past sessions!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!

Top Solution Authors
Top Kudoed Authors