KosmoKrator

analytics

Microsoft Power BI CLI for Headless Automation

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

7 functions 7 read 0 write Manual OAuth token auth

Microsoft Power BI CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. 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 Headless Automation
kosmokrator integrations:configure powerbi --set access_token="$POWERBI_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call powerbi.powerbi_list_workspaces '{"top":1}' --json

Discovery Before Execution

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

kosmo integrations:docs powerbi --json
kosmo integrations:docs powerbi.powerbi_list_workspaces --json
kosmo integrations:schema powerbi.powerbi_list_workspaces --json
kosmo integrations:search "Microsoft Power BI" --json
kosmo integrations:list --json

Useful Microsoft Power BI CLI Functions

FunctionTypeParametersDescription
powerbi.powerbi_list_workspaces Read top List Power BI workspaces (groups) the authenticated user has access to. Returns workspace IDs and names that can be used to query datasets and reports.
powerbi.powerbi_get_workspace Read id Get details for a specific Power BI workspace (group) by its ID.
powerbi.powerbi_list_datasets Read workspace_id List datasets within a Power BI workspace. Returns dataset IDs, names, and configuration details.
powerbi.powerbi_get_dataset Read workspace_id, dataset_id Get details for a specific Power BI dataset within a workspace, including schema and refresh configuration.
powerbi.powerbi_list_reports Read workspace_id List reports within a Power BI workspace. Returns report IDs, names, embed URLs, and associated dataset IDs.
powerbi.powerbi_get_report Read workspace_id, report_id Get details for a specific Power BI report within a workspace, including embed URL and associated dataset.
powerbi.powerbi_get_current_user Read none Get the authenticated user's Power BI profile, including display name and email address.

Automation Notes

Related Microsoft Power BI CLI Pages