Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
This endpoint:
PATCH https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}/refreshSchedule
With the request Body:
{
"value": {
"enabled": false //OR true
}
}
(Dataflows - Update Refresh Schedule - REST API (Power BI Power BI REST APIs) | Microsoft Learn)
Is meant to disable a referesh schedule. If enabled is true, then the refresh schedule should be enabled.
Testing in the sandbox returns this error:
{
"error": {
"code": "InvalidRequest",
"message": "Refresh schedule time format is not supported"
}
}
The same endpoint for datasets work as expected, enabling and disabling the schedule based on the request body.
Please fix for dataflows so the capability mirros the same endpoint for datasets, or is there a known work around? I found a way to disable by specifying some bogus days, times, localTimeZoneId, and notifyOption along with the enabled key to I assume complete some unnessesary syntax check, but I cannot find a work around for enabling the schedule through this endpoint since I need to keep the same refresh schedule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.