Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 refresh history, but it only works for workspaces you have access to.
But im trying to get all the scheduled refresh events of all datasets in the organization. Are there other ways to access that without being part of every workspace?
if no, then how could you get all scheduled refresh dataset activities of the org's datasets? Do you need to programmatically set yourself as a workspace user temporarily then remove when done?
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
I have over 1000 workspaces, is there any way to programmatically do that? if no, what other alternatives do i have?
Yes. Use GetGroupsAsAdmin to get the workspace then run AddUserAsAdmin for each. Pick you favourite scripting language of choice
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
59 | |
32 | |
27 | |
22 | |
22 |
User | Count |
---|---|
63 | |
51 | |
33 | |
24 | |
20 |