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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

USERPRINCIPALNAME() not working on Service

I use the Path on a Staff  table for Row Level Security ... For some reason ., one of them stopped working for some users it is totally skipping the role security ... have not found a pattern other than ... when I do a Test as Security Role on the Service  it shows my login on the card I have the userprincipal() name on ...   I changed the security from the security from the path contains logic to a simple email and they still do not work ... but some do ...  they are both in the role list ...  both have viewer access to  the workspace ... Had the users actually test and they are seeing everything  which is a major problem ... 

 

When I test on the Power BI Desktop ( October Version ) , the View As Role typing the Email works ... 

 

Any help or guidance of what to do would be helpful , the one that is broken is a high priority report

 

Thanks 

kathy 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

Remember that RLS is ineffective for Workspace members with Edit permissions and above.

View solution in original post

nickyvv
Community Champion
Community Champion

Can you confirm that the users are still members of the defined roles in the service?

RLS has been defined in PBI Desktop and then published? Just ruling out that it's not this known issue: https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls#known-issues.


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

Blog: nickyvv.com | @NickyvV


View solution in original post

2 REPLIES 2
nickyvv
Community Champion
Community Champion

Can you confirm that the users are still members of the defined roles in the service?

RLS has been defined in PBI Desktop and then published? Just ruling out that it's not this known issue: https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls#known-issues.


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

Blog: nickyvv.com | @NickyvV


lbendlin
Super User
Super User

Remember that RLS is ineffective for Workspace members with Edit permissions and above.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors