Forum Discussion
export Refresh schedule Dataflow
we have an api for datasets which is refreshables. im wondering if we have the same for dataflows?
3 Replies
- tackytechtomMost Valuable Professional
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}/refreshScheduleYou could try the same call, but with a GET instead. It might return what you want.Good Luck! :)Anonymous
- AnonymousNot applicable
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.InvokePowerBIRestMethodim thinking that the GET API calll is not working?
- tackytechtomMost Valuable Professional
Hi Anonymous ,
it looks like it 😕 Sorry!
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/