Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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.