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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
syasmin25
Helper V
Helper V

RLS security groups

Hello, 

I have an email group for Managers from different companies that I am setting up dashboards for. I have tied the managers to the reports that I create for just their companies. I only have one email security group irrespective of the companies they are in. When I test their permissions for their reports , I can see that they can only see what I have permitted them to see. Their users ID's are tied to the company that they are working on. 

However, since they have the same email group, when I share it with all of them, managers from other companies can view dashboards of different companies with no limitations which they should not be allowed to. Can somebody please tell me how somebody from Company A and view everything from the dashboard created for Company B? Isnt it supposed to show restrcited data instead?

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@syasmin25 PLEASE don't cross post!!

 

Sorry, having trouble following, would need to see data model and RLS rules.


Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

I am providing the sample here. I have a Manager's table, 

EIDCompany CodePositionUPN
5002402Managerjohn.doe@example.com
5003402Managerjane.doe@example.com
5070403Managersara.doe@example.com
5879403Managerjune.doe@example.com
4566402Managersara.doe@example.com
4568402Managerjuly.doe@example.com
4598403Managerkathy.doe@example.com
4789403Managermay.doe@example.com

 

I have another table for visuals to demonstate the projects they are currently working on, 

EIDCompany CodeProjects
45684024545-jk
47894038585-res
47894038585-res
45984037898-kl
47894038585-res
45684024545-jk
45664025056-qw
45684024545-jk
45664025056-qw
45984037898-kl
45664025056-qw
45984037898-kl
47894038585-res
45684024545-jk
45664025056-qw
45684024545-jk
45664025056-qw
45664025056-qw
45984037898-kl
45664025056-qw
47894038585-res
45984037898-kl
47894038585-res
45684024545-jk
45684024545-jk

 


As you can see the employees have different company codes here. I have connected both the tables for RLS based on their Company Code. However, they only have one security group which I added in both the security part on Power BI server and also on the share. So, when I share a report to company 402, company  403 has complete access to it. They can even access information that is for higher officials in 402 which employees in 402 cannot access. Since the company codes aren't the same, shouldn't their view show restricted data?


Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.