March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
So I am trying to implement RLS using the documentation in the link below
https://docs.microsoft.com/en-us/power-bi/service-admin-rls
my 1st step was to create a bridge table as discuss in this youtube video (Guy in a Cube 1:54 seconds in)
Here is the structure of my bridge table
my second step was to set Row Security on the bridge table see pic below
3rd step was to set manage roles and set the Principal email as "userprincipalname()" see below
3rd step was to test manage roles in view see below:
When i completed that step the view worked as I can only see the school related to Charlela on the bridge table
So I publish up to my Power BI Pro service and update the app for distribution see steps below
checked the app properties
made it accessable to my whole organization since the RLS will provide access via userprincipalname()
My final test was to see if Charlela could view her data via the app.
When she accessed the app she received this screenshot
I have no idea how to troubleshoot this now... PLEASE HELP!!!
~Bryon
Solved! Go to Solution.
It is true that RLS is now defined in the Desktop, but once defined in the Desktop and published to the service, you still have to assign users to the roles you created in the desktop
To get the the security option, navigate to your workspace, then datasets, select "...", the select Security
You should now see the role(s) you created, and from there you assign the users
In the service, you need to assign users to the role you created
In the service, navigate to the dataset, then select the security option
You should see the role you created
Add users to the role
Good luck,
I think this is the step you missed in the service
https://docs.microsoft.com/en-us/power-bi/service-admin-rls#manage-security-on-your-model
RLS is no longer a function in Power BI Service so the documentation is out of date. see snapshot in thread
It is true that RLS is now defined in the Desktop, but once defined in the Desktop and published to the service, you still have to assign users to the roles you created in the desktop
To get the the security option, navigate to your workspace, then datasets, select "...", the select Security
You should now see the role(s) you created, and from there you assign the users
Thanks so much that worked! Right now I am only setting security features for 12 users. How would you set up a group of 1600 users?
RLS is no longer a function in Power BI Service so the documentation is out of date.
Ok, I just tried and it worked. I am sorry, but I don't what is happening to your dataset.
Cheers
I don't see this fuction in Power BI Desktop for secruity... Also I am using 22 different tables in my model which one would I set security on?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
37 | |
22 | |
20 | |
10 | |
9 |
User | Count |
---|---|
59 | |
56 | |
22 | |
14 | |
12 |