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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

RLS

Hello, I have created Roles using USERNAMEPRINCIPAL() on my desktop, and each time I run test on PowerBI desktop (View As Role) its working.

 

However when I publish it to the workspace, It doesnt work ! the user still can see other values.

2 ACCEPTED SOLUTIONS

@Anonymous  - Just wanted to confirm whether you have added the users to the RLS role 🙂 Assuming, the user only has 'Viewer' access to the workspace.  

Lastly, are you using USERPRINCIPALNAME ()  or  USERPRINCIPAL() ?




View solution in original post

Anonymous
Not applicable

USERPRINCIPALNAME()

 

I managed to solve it, the users that I am granting roles to, are also Members of the Workspace so the permission of the workspace is superiour to the RLS role permission so they can check the data.

 

I removed them from workspace permission and it worked perfectly, Thanks a lot for your interference and sorry dont take me wrong 🙂 

View solution in original post

5 REPLIES 5
gauthamboppana
Solution Specialist
Solution Specialist

@Anonymous  - Have you added the users or AD groups to the RLS role in Power BI service?

Click on the dots in the dataset and go to security. Add the Users or AD groups to the role.

gauthamboppana_1-1659367054652.png

 

gauthamboppana_0-1659367026408.png

Did I answer your question? Mark my post as a solution! If not, please feel free to ask me.

Also, I would ❤ Kudos if my solution helped.  It is a token of appreciation!

Thank you very much !

Anonymous
Not applicable

Hello Thanks for your answers but thats extremly basic, ofcourse I have added them to the RLS on PowerBI service.

 

My issue is that although I added them, they can still see all the data, not only the data assigned to their role.

 

Thanks again 🙂 

@Anonymous  - Just wanted to confirm whether you have added the users to the RLS role 🙂 Assuming, the user only has 'Viewer' access to the workspace.  

Lastly, are you using USERPRINCIPALNAME ()  or  USERPRINCIPAL() ?




Anonymous
Not applicable

USERPRINCIPALNAME()

 

I managed to solve it, the users that I am granting roles to, are also Members of the Workspace so the permission of the workspace is superiour to the RLS role permission so they can check the data.

 

I removed them from workspace permission and it worked perfectly, Thanks a lot for your interference and sorry dont take me wrong 🙂 

@Anonymous  - No worries at all. Happy that you managed to resolve it 🙂

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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