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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello,
I have created a role using RLS, I need to assign a large number of user to that role. Is there any way that we can automate it rather than assigning each user the role in Power BI Service. Either by placing a excel/csv file having mapping of users to roles. or set a default role for all the users.
Please let me know
Thanks!!
There are mutiple roles and have senstive information and can not create that much number of DLs
@Anonymous
For each role, you have to map a separate Security Group/Distribution list. Going forward, you have to add the users to the Security Group/Distribution list. You don't need to add users to the Role.
The bulk import option is possible with the Security Group/Distribution list. (https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-bulk-import-members)
If you can't create multiple Security Group/Distribution list, then you have to write the logic in RLS DAX.
Refer to this:https://community.powerbi.com/t5/Service/Dynamic-Row-Level-Security-Single-Role-for-all-the-User/m-p/643064
If this is not helpful please explain your scenario.
Thanks for your help.....but I have implemented RLS in Power BI dsktop.....the only thing that I want to do is to automate the mapping all the users in roles in the Power BI service.
Hi @Anonymous ,
".the only thing that I want to do is to automate the mapping all the users in roles in the Power BI service."
The current version can not realize this idea, the best way is @nandukrishnavs ’s suggestion.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.