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
Hello.
Currently I have a report that works with dynamic RLS, so I assign the users to the only role created (with USERPRINCIPALNAME() in the tables I am interested in) and add them to a table that is filled manually indicating the email of the users and the ID related to the data they can access.
So far so good and the rls security works. But now, I want to use security groups instead of users individually for the dynamic RLS.
My doubt is if the system is going to continue working as it is or it is necessary to modify it a little, because in the first my tests introducing the email of the group in the role and in the security table causes that the users that are inside do not have access to the report, so it makes me think that although in the section of roles I can add the group, for the security table I have to continue introducing the emails individually.
Am I right?
Thanks in advance
Solved! Go to Solution.
Yes - in the security table that is in your dataset, keep the individual e-mails, but when you publish to Service and add people to the role you created you can use the group there instead of the individual e-mails.
Proud to be a Super User! | |
Thanks!
I am going to try the workaround of trying to get the users of that group from power query to try to speed things up. I have seen on the web that in principle it is possible but I am still not able to do it. Otherwise I will open another post here in case someone knows 🙂
Yes - in the security table that is in your dataset, keep the individual e-mails, but when you publish to Service and add people to the role you created you can use the group there instead of the individual e-mails.
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
36 | |
27 | |
19 | |
11 | |
8 |
User | Count |
---|---|
54 | |
43 | |
24 | |
13 | |
12 |