What can you do with it?
Microsoft Power BI allows you to manage business intelligence assets programmatically. You can access workspaces, create and clone reports, manage dashboards, refresh datasets, export reports in various formats, embed reports with secure tokens, monitor data sources and gateways, and organize analytics content. This integration is perfect for automated reporting, data visualization management, and business intelligence workflows.How to use it?
Basic Command Structure
Parameters
Required:action- The operation to perform with Power BI
Tools
List Workspaces
Get all workspaces you have access to Parameters:- None required
List Reports
Get all reports in a specific workspace Parameters:workspace-id(required) - The ID of the workspace
List Dashboards
Get all dashboards in a workspace Parameters:workspace-id(required) - The ID of the workspace
Get Report Details
Retrieve detailed information about a specific report Parameters:workspace-id(required) - The ID of the workspacereport-id(required) - The ID of the report
Refresh Dataset
Trigger a refresh operation for a dataset Parameters:workspace-id(required) - The ID of the workspacedataset-id(required) - The ID of the dataset
Get Refresh History
View the refresh history for a dataset Parameters:workspace-id(required) - The ID of the workspacedataset-id(required) - The ID of the dataset
Clone Report
Create a copy of an existing report Parameters:workspace-id(required) - The ID of the source workspacereport-id(required) - The ID of the report to clonenew-name(required) - Name for the cloned reporttarget-workspace-id(optional) - Destination workspace IDtarget-dataset-id(optional) - Different dataset to use
Export Report
Export a report to PDF or PowerPoint Parameters:workspace-id(required) - The ID of the workspacereport-id(required) - The ID of the reportformat(required) - Export format: PDF or PPTX
Generate Embed Token
Generate a secure token for embedding reports Parameters:workspace-id(required) - The ID of the workspacereport-id(required) - The ID of the reportaccess-level(optional) - Access level: View or Edit (default: View)allow-save-as(optional) - Allow saving copies (default: false)
Create Workspace
Create a new Power BI workspace Parameters:name(required) - Name for the new workspace

