cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors