Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Is it possible to make automated the rls and avoid adding member of role on power bi service
my client has 400 persons to add into the rls and he wants to be done automaticcally
we have used a dynamic rls in desktop by using the username function
thanks for your Help
sli
Solved! Go to Solution.
Hey @SLI ,
you can create an Azure Active Directory security group, add this group to the RLS role.
Then you can create a PowerShell script adding the users to this group
https://www.alitajran.com/add-users-to-group-powershell/#:~:text=%20Add%20users%20to%20group%20with%...
, you can automate the exceution of the script, meaning scanning if there are new users which are meeting certain requirements and if so add theses users to the security group.
Hopefully, this provides an idea on how to tackle your challenge.
Regards,
Tom
Hey @SLI ,
you can create an Azure Active Directory security group, add this group to the RLS role.
Then you can create a PowerShell script adding the users to this group
https://www.alitajran.com/add-users-to-group-powershell/#:~:text=%20Add%20users%20to%20group%20with%...
, you can automate the exceution of the script, meaning scanning if there are new users which are meeting certain requirements and if so add theses users to the security group.
Hopefully, this provides an idea on how to tackle your challenge.
Regards,
Tom
Thank you very much for your help
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.