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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
rappleton
Advocate I
Advocate I

Bulk add security groups or users to audience permissions and RLS across hundreds of models/apps

Hi, 

Does anyone know if we can bulk add;

  1. hundreds of security groups to RLS settings across ~200 models
  2. hundreds of security groups to audience permissons across ~100 apps?

Is there something using PowerShell or the REST API? I couldn't find anything at all. How do large companies manage group access to these features at scale when there is organisation change etc? From a tenant admin point of view this must be available surely?

Any help much appreciated, 

Thanks a lot, 

Richard

1 ACCEPTED SOLUTION
4 REPLIES 4
lbendlin
Super User
Super User

Usually distribution list management is done by a dedicated enterprise application, including onboarding, auditing and offboarding.

 

Can you grant access to "super" PDLs in Power BI that contain the other security groups?  If not then consider using dynamic RLS instead.

Hi @lbendlin thanks for your quick reply, sorry I failed to give more context to my scenario. 

We have a good solution in place for onboarding/offboarding, and the RLS on our models is configured correctly. We are completing an excercise to replace current security groups in 'Windows Server AD' and replacing with new 'Cloud' Azure AD groups.

So the infrastructure is in place I just need to bulk add the new security groups to the RLS in a couple of hundred models, and also bulk add the new security groups to ~100 audience permissions within the app. (and then remove the old security groups from both).

Do you know if this is possible?

Thanks a lot for your help. 

Richard 

Thanks a lot @lbendlin I will take a look 😁

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.