The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
We need to get refresh history for all datasets in all workspaces in the organisation.
There are non-admin APIs at the moment that require you to assign Service Principal to each workspace (which is not an option for big organisations with hundreds of workspaces):
1. Datasets - Get Refresh History: https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-history
GET https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/refreshes?$top={$top}
2. Datasets - Get Refresh History In Group: https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-history-in-group
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes?$top={$top}
It would be great to have an admin version of these APIs similar to others like GetDatasetsAsAdmin, GetGroupsAsAdmin, etc. Something like this:
GET https://api.powerbi.com/v1.0/myorg/admin/datasets/{datasetId}/refreshes?$top={$top}
and
GET https://api.powerbi.com/v1.0/myorg/admin/groups/{groupId}/datasets/{datasetId}/refreshes?$top={$top}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.