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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors