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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RustyO
Frequent Visitor

Row Level Security (RLS) not working. Specific domain / Email addresses?

Hi All,

 

I have identified anomalies when attempting to apply Row Level Security to specific email addresses only. This is across three domains [ .com | .com.au | .co.uk ]

 

To replicate the scenario I created a simple test / proof of concept. One table. One Security Role. One Measure.

 

The Security Users table is sourced from an Excel workbook. Seven email addresses across the three domains:

 

15545 Microsoft 0010.png

 

I have created a single role called Security. This is applied to the Security Users table as [Principal] = USERPRINCIPALNAME()

 

15545 Microsoft 0020.png

 

I have created a measure to sanity check: mUserPrincipalName = USERPRINCIPALNAME()

 

Desktop Row Level Security logic works as expected. "View As" etc. Publishes to the service fine.

 

All email addresses are valid in the service, have been added to the Security group:

 

15545 Microsoft 0030.png

 

The problem:

 

  • The .com (#4) and .com.au (#1 & #2) addresses work as expected.
  • The .co.uk (#3, #5 & #6) addresses do not work as expected, all data is shown. 

 

Naturally this leads to the idea that it is a domain specific issue, but not sure where to look?

 

Any adivce would be appreciated.

 

Thanks in advance.

 

 

1 REPLY 1
Tutu_in_YYC
Super User
Super User

The only way RLS is overwritten if the users are members in the workspace and have one of these following roles:
1-admin

2-member

3-contributor


If they are assigned with any of these, RLS will show everything. Can you check if they are members of the workspace? They could also be hidden in a security group.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.