Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I need to turn off the scheduled refresh of a dataset, via Powershell. I've successfully used the REST API to enable the refresh and set days/times, and the corresponding REST API works to disabled refresh on datasets. The Invoke-RestMethod call below does not return an error or throw an exception, but it has no effect on the dataflow:
Updating: I've worked past this, but for the life of me I don't know how. That is, I re-wrote the function (using exactly the same approach) on the off chance that doing so would avoid a typo or something in the original function...and the new function works. Old function still fails. So I'm going to slink away, knowing I've got some stupid mistake and suspecting that resolving it would not really enlighten anyone else, anyway.
Not sure if it matters but was a refresh running at the time? Assume you didn't change dataset ownership either?
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |