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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
KarenKazab
Frequent Visitor

Power BI Rest API Datasets Get Refresh Schedule For ALL

Hi all,

 

I am trying to use the Power BI Rest API Datasets - Get Refresh Schedule but this requires the dataset ID, I want to be able to get the refresh schedules for all the datasets within the tenant/org.

I am doing this into a Power BI Desktop report through the web section as the source and then use the https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/refreshSchedule as the url, but I dont want to enter each datasetId as there will be hundreds. I have tried also looking at the audit logs and this will return some of the refreshes but only over the last 3/4 months.

 

Is there a way to enter the url without saying what the datasetId, or as a last resort possibly a powershell command?

 

Thanks

 

Karen

1 REPLY 1
v-xicai
Community Support
Community Support

Hi @KarenKazab ,

 

You can refer to the similar case: https://community.powerbi.com/t5/Developer/How-to-get-refresh-history-of-dataset-using-powerbi-REST-....

 

As to further advice, I'd suggest you post the issue in the dedicated Developer forum.

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.