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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Rajnish366
Frequent Visitor

Issues in Dynamic RLS - one of my user is by-passing the RLS rule and able to see all data.

In my RLS enabled report on Services. one of report user is able to see all data by by-passing RLS rule . Can some one Help me out to find the possible reason.

RLS is based on Branch level 1 to many relation followed by Userprinciple () function to recognise the user.

4 REPLIES 4
Rajnish366
Frequent Visitor

Hi GilbertQ,

While debugging this issue we found that the Cost centers (used for join ) in my Dim table are not available in my Fact table and RLS user is able to see all CCs (not available in fact table) along with his/her own CCs data.

Is there any way to restrict in Manage roles (Dax) that the user will able to see his/her own data only even if CCs are not present in Dim table but available in Fact table.

v-menakakota
Community Support
Community Support

Hi @Rajnish366 ,

Thank you for reaching out to us on the Microsoft Fabric Community Forum.

As @GilbertQ  mentioned, Ensure that the user is assigned to appropriate role within the workspace. As mentioned, any role with higher than 'Viewer' (such as Contributor, Member, or Admin) can bypass RLS and access all data, regardless of the RLS settings.

Providing the documentation link which might help you in clear understanding:

vmenakakota_0-1737096809911.png

 


Row-level security (RLS) with Power BI - Microsoft Fabric | Microsoft Learn

If this post was helpful, please give us Kudos and consider marking Accept as solution to assist other members in finding it more easily.

Hi @Rajnish366 ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

 

GilbertQ
Super User
Super User

Hi @Rajnish366 

 

Please make sure that the user does not have any roles in the workspace, as that will allow them to see all of the data. except for a viewer role, any other role, and they'll be able to see all the data.

 





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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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