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
Deku
1 year agoSuper User
You would need read access to the semantic models.
Alternatively you can set log analytics integration on each workspace. This will give all refreshes, plus you get the benefit of knowing how long the refreshes take and the cpu cost, plus you get stats for individual tables and partitions etc
- ledd_251 year agoFrequent Visitor
I have over 1000 workspaces, is there any way to programmatically do that? if no, what other alternatives do i have?
- Deku1 year agoSuper User
Yes. Use GetGroupsAsAdmin to get the workspace then run AddUserAsAdmin for each. Pick you favourite scripting language of choice