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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Nikkitea
Regular Visitor

Is Role-Level Security (RLS) Case Sensitive for Email Addresses?

Hi there, 

 

I added 9 users to the dataset security settings for a pilot dashboard I'm working on and during RLS testing 7 out of the 9 users had data displayed on the report. 2 others users are not displaying any data despite being configured the same way by email address: [Email] = Username(). The only noticeable differential I found was the email addresses containing an uppercase letter in the first name and last name (e.g. Firstname.Lastname@company.com at Microsoft Power BI service vs. firstname.lastname@company.com at data source). Is RLS case sensitive when it comes to email addresses? If not, what other cause could there be for this discrepancy in system behaviour? 

 

I'll also add that I can see their data when I filter by name, so the data is definitely present. 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi! I can't find an exact definition at microsoft doc but I assume it should be case sensitive. You can try adding LOWER () to the conditions to convert them to lowercase when comparing.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

3 REPLIES 3
drumroll
Regular Visitor

Hi there, am having same problem, tried using LOWER([User]) = LOWER(USERNAME()) in manage roles on PBI desktop and published to service. I tried using the test role with the lowercase username and it doesn't work. How did you do make it work?

ibarrau
Super User
Super User

Hi! I can't find an exact definition at microsoft doc but I assume it should be case sensitive. You can try adding LOWER () to the conditions to convert them to lowercase when comparing.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Thank you! The suggestion surprisingly worked by turning the email username lowercase and I can see the data for the two impacted users now. This confirms there is case sensitivity to the email address in Power BI service. 

Helpful resources

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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