Forum Discussion
ledd_25
1 year agoFrequent Visitor
PowerBI Audit Activity events API - Scheduled RefreshDataset activity
im trying to get refresh activity for all datasets in the organization using service principal utilizing the get activity events However this does not include scheduled events. You can use get refre...
- 1 year ago
Yes. Use GetGroupsAsAdmin to get the workspace then run AddUserAsAdmin for each. Pick you favourite scripting language of choice
ledd_25
1 year agoFrequent Visitor
I have over 1000 workspaces, is there any way to programmatically do that? if no, what other alternatives do i have?
Deku
Super User
1 year agoYes. Use GetGroupsAsAdmin to get the workspace then run AddUserAsAdmin for each. Pick you favourite scripting language of choice