Forum Discussion
export Refresh schedule Dataflow
Hi ,
There is a PATCH API call to update the schedule:
Dataflows - Update Refresh Schedule - REST API (Power BI Power BI REST APIs) | Microsoft Learn
PATCH https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}/refreshSchedule
Anonymous
thank you for the suggestion tackytechtom but when i ran this script on the powershell it is returning me an error message
Invoke-PowerBIRestMethod : One or more errors occurred.
At line:1 char:1
+ Invoke-PowerBIRestMethod -Method GET -Url https://api.powerbi.com/v1. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Power...werBIRestMethod:InvokePowerBIRestMethod) [Invoke-PowerBIRestMethod], AggregateException
+ FullyQualifiedErrorId : One or more errors occurred.,Microsoft.PowerBI.Commands.Profile.InvokePowerBIRestMethod
im thinking that the GET API calll is not working?