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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anmolgan
Post Prodigy
Post Prodigy

Restrict Dynamic RLS for some users?

I can use dynamic RLS ( USERPRINCIPALNAME()), if I have all the details of the email id's that I want to restrict, but for example if i have some users which do not have there emails present in the dataset, and i want to restrict them to a static role, such as if they login they should see specific amount of information can I do that?

 

How can I give full access to some users over dynamic RLS?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anmolgan 

1. You could create a  new role for the static roles you want the specific users to see, then assign their account to the new role instead of the dynamic role filtered using USERPRINCIPALNAME(). 

 

2. To give the full access to someone over RLS, you could change the user's workspace role or give the user edit permission to the dataset. Because RLS only restricts users who can only view the reports. See: https://docs.microsoft.com/en-us/power-bi/service-new-workspaces#roles-in-the-new-workspaces

 

Best regards

Paul Zheng

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

@Anmolgan 

1. You could create a  new role for the static roles you want the specific users to see, then assign their account to the new role instead of the dynamic role filtered using USERPRINCIPALNAME(). 

 

2. To give the full access to someone over RLS, you could change the user's workspace role or give the user edit permission to the dataset. Because RLS only restricts users who can only view the reports. See: https://docs.microsoft.com/en-us/power-bi/service-new-workspaces#roles-in-the-new-workspaces

 

Best regards

Paul Zheng

@Anonymous So I give the users edit permission on my workspace they can view the full content? regardless of the Dynamic RLS?

Anonymous
Not applicable

@Anmolgan 

 

Yes, we have made tests on that and you can also find it here:

scroll down to Using RLS with workspaces in Power BI:  https://docs.microsoft.com/en-us/power-bi/service-admin-rls

 

Paul Zheng

@Anonymous  This says "If you have configured the workspace so that members have edit permissions, the RLS roles will not be applied to them. Users will be able to see all of the data."

 

So if I already configure the workspace as edit permissions, then dynamic RLS will never be applied?

 

Is that correct?

Anonymous
Not applicable

@Anmolgan 

Yes, it is right. Just remember RLS will not applied if any user has edit permission,  they can see everything on the report. 

 

Paul

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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