Schedule refreshes with the Power BI Embedded REST API
Posted on Wednesday, March 6, 2019
Power BI enables dataset owners to configure the refresh schedule. The refresh schedule refreshes the data according to the specified time and frequency. Learn more about configuring a scheduled refresh.
The new REST API enables you to set a new refresh schedule or override the configuration of an existing schedule. You can also retrieve the schedule of a dataset by using the API.
This API is useful for setting or updating schedules on many datasets because you can use a script rather than configuring each dataset manually. The API can also be useful if you want to make automatic changes according to a specific trigger. For example, multiple refresh failures will disable the scheduled refresh. With the new API, you can enable the refresh schedule again without the need to do it manually.
Note that this API is relevant for cached (import mode) or composite models only.