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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
bknowles
Regular Visitor

Automate dataset security permissioning

Hi.

 

I have multiple datasets with large numbers of Active Directory security groups that need to be added every time I republish.  Does anyone have an automated script or way to upload a file that lists groups?  Currently, we have 8 groups for each dataset, but once the rest of the company finds out about the dashboards, that number will grow exponentially.

 

I'd appreciate any suggestions.

 

Thanks.

Barbara

2 REPLIES 2
v-robertq-msft
Community Support
Community Support

Hi, 

Have you followed GilbertQ’s suggestion to try this rest API and check if you can get the useful info you wanted to? Because I think this can be a possible method to achieve this.

If so, would you like to his reply as a solution so that others can also get some useful info from it too?

Thanks in advance!

How to Get Your Question Answered Quickly 

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

GilbertQ
Super User
Super User

Hi @bknowles 

 

There might be a way to do this with the Power BI REST APIs

 

This one might be the one you are looking for and could test: Groups - Update Group User - REST API (Power BI Power BI REST APIs) | Microsoft Docs





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.