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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Nicolas_viet
Regular Visitor

RLS restrictions for a single user / How to assign all other users

Hey there,

 

I've created a problem when I started with RLS: My dataset and report is shared for multiple users.

 

Then I added a further user who's access should be restricted to specific rows in the dataset.  Therefore I wanted to use RLS:

I created a role with the respective filter and added the user to the role in the PBI Service.

 

So far so good: It is working exactly as I wanted for this user.

 

But:

All other users (not on any role) do now receive an error, when opening the report.

 

I understand that all users that are not assigned to a role, cannot see the report anymore. 😕

 

Is there an option to create another role and automatically assign all other users to this role?

 

Thanks in advance!

Nico

1 ACCEPTED SOLUTION
v-danhe-msft
Employee
Employee

Hi @Nicolas_viet,

Based on my research, you could set a role in Power BI with no filters to let the all other users to see the whole report, but I am afraid that you could not assign the users to the role automatically, you have to assign the users to the role manually.

 

Reference: https://docs.microsoft.com/en-us/power-bi/desktop-rls

                     https://docs.microsoft.com/en-us/power-bi/service-admin-rls

 

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-danhe-msft
Employee
Employee

Hi @Nicolas_viet,

could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-danhe-msft
Employee
Employee

Hi @Nicolas_viet,

Based on my research, you could set a role in Power BI with no filters to let the all other users to see the whole report, but I am afraid that you could not assign the users to the role automatically, you have to assign the users to the role manually.

 

Reference: https://docs.microsoft.com/en-us/power-bi/desktop-rls

                     https://docs.microsoft.com/en-us/power-bi/service-admin-rls

 

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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