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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.