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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
m-colbert
Resolver III
Resolver III

Programmatically remove users from app and dataset permissisons

Hi all,

I've been tasked with cleaning up a tenant where the prior developers assigned workspace app permissions to individual users instead of leveraging security group/distribution lists. I am in the process of replacing the users with groups. This is easy enough to repalce users with groups and republish the app. But the permissions granted on each dataset in the workspace remain. I can manually click through dataset direct permissons and remove the access but this is very time consuming since there were 100's sometime over 1000 users added indivudually and 10's of datasets per workspace (my wrist will not be happy).

 

I've searched and can not find a REST API method or Power Shell cmdlet to programatically delete an individuals user permissions from each data set. Am I missing something or is manually the only way to accomplish this?

 

Thanks!

1 REPLY 1
lbendlin
Super User
Super User

If this is important to you please consider raising it at https://ideas.powerbi.com

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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