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
AnthonyMCUBI
Frequent Visitor

Get Dataflow Refresh Schedule from Power BI REST API

Hi everyone,

 

I'm using the Microsoft.PowerBi.Api Nuget package in my C# project, and I'd like to receive my dataflows' refresh schedules using that package's API. I see that it is possible to retrieve refresh schedules for datasets, but I don't see a similar action for dataflows. Is this possible at the moment, and if not, is it planned for the future?

 

Link to REST API Dataset - Get Refresh Schedule endpoint.

 

Link to Microsoft.PowerBi.Api Github repository.

 

Thank you,

 

Anthony

6 REPLIES 6
dbeavon3
Continued Contributor
Continued Contributor

Has anyone figured out how to retrieve the refresh schedule? 

It seems like there should be a better level of consistency between datasets and dataflows.  I'm definitely spending a lot of time spinning my wheels on the dataflow API.

If you have permission for it, there is an admin api call that will get you the refresh schedule and average duration for anything that is refreshable within a Capacity (only for datasets/flows in premium in some capacity): 

https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-refreshables

Otherwise you'd need to use data from get-dataflow-transactions and infer scheduled refresh times
https://learn.microsoft.com/en-us/rest/api/power-bi/dataflows/get-dataflow-transactions

v-easonf-msft
Community Support
Community Support

Hi, @AnthonyMCUBI 

All related API have be list here.

https://docs.microsoft.com/en-us/rest/api/power-bi/dataflows 

 

Have you checked this?Does it work?

Dataflows - Update Refresh Schedule 

 

Best Regards,
Community Support Team _ Eason

Hi @v-easonf-msft ,

 

I did see the linked Dataflow REST API, but did not find an appropriate function for my purpose. I did test UpdateRefreshSchedule, but it does not allow me to receive the current refresh schedule configuration so it isn't a solution to my issue.

 

Regards,

 

Anthony

Hi @AnthonyMCUBI - did you manage to find a way to return the configured refresh schedules ?

Hi, @AnthonyMCUBI 

It is recommended to create a support ticket in Power BI support for further help.

https://powerbi.microsoft.com/en-us/support/ 

They may know  other workarounds.

 

Best Regards,
Community Support Team _ Eason

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.

Top Solution Authors
Top Kudoed Authors