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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Assigning list of user to a Role

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!!

5 REPLIES 5
nandukrishnavs
Community Champion
Community Champion

@Anonymous 

 

You could add a security group or a distribution list to the role. 


Regards,
Nandu Krishna

Anonymous
Not applicable

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. 


Regards,
Nandu Krishna

Anonymous
Not applicable

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.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors