Prerequisites
- Power BI connected as a workspace integration, with credentials set as Bolt schedule environment variables:
POWER_BI_CLIENT_IDPOWER_BI_TENANT_IDPOWER_BI_CLIENT_SECRETPOWER_BI_GROUP_ID(optional; can also be set per command with the Group ID field)
Usage
Add the Refresh PowerBI Dataset command to your schedule, then:- Enter one or more Dataset names.
- (Optional) Expand Advanced options to set:
- Request body JSON to customize the refresh (for example,
{"refreshType": "full", "retryCount": 3}). It is base64-encoded and passed via therefresh-request-body-b64flag. - Group ID, the 36-character workspace UUID from the Power BI URL after
/groups.
- Request body JSON to customize the refresh (for example,
- Click Add command.
Power BI accepts only one refresh operation at a time per dataset. If a refresh is already running and another is submitted, it returns a
400 Bad Request.