Skip to main content
The Paradime SDK provides CLI commands to interact with Microsoft Power BI, allowing you to trigger dataset refreshes and list available datasets with real-time monitoring capabilities.
🔑 Azure AD Application RequiredYou will need an Azure AD application with Power BI API permissions to use these commands. You can create and configure them in your Azure portal. See our docs here.Configure Power BI API permissionsAdd the Dataset.ReadWrite.All application permission for the Power BI Service.

Refresh Power BI Datasets

Trigger refreshes for one or more Power BI datasets with parallel execution and comprehensive status reporting.

CLI Command

Options

Recommended SetupFor security and convenience, set your Power BI credentials as environment variables:

Dataset Refresh Examples

Refresh a single dataset

Refresh multiple datasets in parallel

Refresh with custom parameters

Sample Output

List Power BI Datasets

List all available Power BI datasets in a workspace with their IDs, names, and refresh status.

CLI Command

Options

Usage Examples

Sample Output

Dataset Status Reference

Understanding the refresh capabilities and status indicators:

Refresh States

  • ✅ Refreshable: Dataset can be refreshed programmatically
  • ❌ Not Refreshable: Dataset cannot be refreshed (e.g., streaming datasets, live connections)

Important Notes

  • Parallel Execution: Multiple datasets refresh simultaneously for efficiency
  • Authentication: Uses Azure AD service principal authentication
  • Workspace Permissions: Service principal must have workspace access
  • Refresh Limits: Subject to Power BI capacity and refresh quotas
  • Timeout Handling: Individual dataset refreshes timeout after 60 seconds for triggering
  • Dataset Identification: Use exact dataset names from your Power BI workspace

Environment Variable Reference

Troubleshooting

Ensure your Azure AD application has proper permissions:
Use the list command to find exact dataset names:
Service principal needs at least “Contributor” role in the Power BI workspace.
Some dataset types cannot be refreshed via API. Check the dataset type in Power BI service.

Workflow Integration

These Microsoft Power BI CLI commands are designed to integrate seamlessly into your data pipeline workflows. Common use cases include:
  1. Post-dbt Refresh: Trigger Microsoft Power BI refreshes after dbt model runs complete
  2. Scheduled Data Updates: Automate regular refresh cycles for critical dashboards
  3. CI/CD Integration: Include Microsoft Power BI refreshes in your deployment pipelines
  4. Resource Discovery: Use list commands to programmatically discover available workbooks and data sources
For more information about integrating Tableau refreshes into your Paradime workflows, see the Bolt Schedules documentation.