KosmoKrator

analytics

Microsoft Power BI CLI for Coding Agents

Use the Microsoft Power BI CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.

6 functions 6 read 0 write Bearer token auth

Microsoft Power BI CLI for Coding Agents

Let coding agents discover schemas and execute integration functions through CLI commands or MCP.

Use this pattern when another coding agent needs exact commands and schema discovery. The Microsoft Power BI CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Microsoft Power BI CLI for Coding Agents
kosmokrator integrations:configure microsoft_powerbi --set access_token="$MICROSOFT_POWERBI_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call microsoft_powerbi.powerbi_list_reports '{}' --json

Discovery Before Execution

Agents and scripts can inspect Microsoft Power BI docs and schemas before choosing a function.

kosmo integrations:docs microsoft_powerbi --json
kosmo integrations:docs microsoft_powerbi.powerbi_list_reports --json
kosmo integrations:schema microsoft_powerbi.powerbi_list_reports --json
kosmo integrations:search "Microsoft Power BI" --json
kosmo integrations:list --json

Useful Microsoft Power BI CLI Functions

FunctionTypeParametersDescription
microsoft_powerbi.powerbi_list_reports Read none List all Power BI reports the authenticated user has access to. Returns report names, IDs, embed URLs, and workspace associations.
microsoft_powerbi.powerbi_get_report Read report_id Get details of a specific Power BI report by ID. Returns the report name, embed URL, dataset ID, and other metadata.
microsoft_powerbi.powerbi_list_datasets Read none List all Power BI datasets the authenticated user has access to. Returns dataset names, IDs, and workspace associations.
microsoft_powerbi.powerbi_get_dataset Read dataset_id Get details of a specific Power BI dataset by ID. Returns the dataset name, tables, default mode, and other metadata.
microsoft_powerbi.powerbi_list_workspaces Read none List all Power BI workspaces (groups) the authenticated user has access to. Returns workspace names, IDs, and isolation modes.
microsoft_powerbi.powerbi_get_current_user Read none Get the profile of the currently authenticated Power BI user. Returns display name, email address, and user identity details.

Automation Notes

Related Microsoft Power BI CLI Pages