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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

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
Most Valuable Professional
Most Valuable Professional

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
Most Valuable Professional
Most Valuable Professional

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors