< Back to all integrations
AI & Machine Learning

Connect AI agents and workflows to Power BI: run DAX queries, refresh datasets, push rows, export reports, and read workspaces, dashboards, gateways and apps.

Book a demo
[ Power BI + engini ]

Power BI for AI agents and workflows.

engini lets your AI agents and workflows work with Power BI: run DAX queries against datasets, refresh datasets and read their refresh history, add and delete rows in dataset tables, export and download reports, clone reports and create dashboards, and read workspaces, dashboards, tiles, gateways, dataflows and apps. Connect from Claude, ChatGPT or Cursor over MCP, from your code, or build in Workflow Studio.

MCPPython and TypeScript SDKCLIREST APIWorkflow Studio
Read the Power BI guide →
Sign-inOAuth 2, through engini or your own Microsoft app
ReachWorkspaces, datasets, reports, dashboards, tiles, gateways, dataflows and apps
TriggersNew dataset refreshes, new reports and updated apps, on a schedule
[ 01 / What agents can do ]

What your agent can do in Power BI. Every tool is one you allow or leave out.

The Power BI tools in engini, grouped by what they change. Read tools are safe to hand out widely. Write and delete tools go only to the agents that need them.

Read

Execute DAX Query

Ask a dataset a question in DAX.

Read
Get Workspaces, Get Datasets, Get Reports, Get Dashboards, Get Dashboard Tiles

Read what you have.

Read
Get Dataset Refresh History, Get Gateways, Get Dataflows, Get Apps

Read refreshes, gateways, dataflows and apps.

Read
Export Report to File, Download Report

Get a report as a file.

Read

Write

Refresh Dataset

Refresh a dataset now.

Write
Add Rows to Dataset Table

Push rows into a push dataset.

Write
Create Dataset, Clone Report, Create Dashboard

Build new content.

Write

Delete

Delete Rows from Dataset Table, Delete Dataset, Delete Report

Remove rows or content.

Delete

Any endpoint

Send API Request

Call any Power BI API endpoint, with the sign-in added for you.

Any call

Triggers

Check for New Dataset Refreshes

A dataset finished refreshing.

Scheduled
Check for Reports

New reports in a workspace.

Scheduled
Check for Updated Apps

Apps that changed.

Scheduled

A trigger starts a workflow, and a workflow can include an AI agent step. In Code, a trigger delivers the event to your own endpoint.

[ 02 / Connect your agent ]

Connect your AI agent to Power BI. Four ways in, one set of permissions.

MCP

Claude, ChatGPT, Cursor

Create an MCP server in engini with your Power BI connection and only the tools you choose. Add its address to your client and sign in through engini. There is no key to copy.

MCP client setup →
SDK

Python and TypeScript

Hand your agent a toolset of Power BI tools. The SDK gives OpenAI and Anthropic models the tools in the format they expect and runs the ones they pick.

SDK guide →
CLI

For coding agents

The engini CLI connects Power BI and runs its tools from a terminal, with machine-readable output, so an AI coding agent can drive it without getting stuck.

CLI guide →
REST API

Any language

Every Power BI tool is an endpoint. Call it with exact inputs from a scheduled job or a sync, with no model in the loop.

API reference →
MCP in four steps
In engini, connect Power BI and create an MCP server with that connection and the tools this agent may use.
Claude: Settings, Connectors, Add custom connector, then paste the server address.
Cursor: add the address to .cursor/mcp.json. Claude Code: claude mcp add.
Sign in through engini when the client asks. The agent sees only the tools you chose.
Cursor, connected to Power BI through engini
// .cursor/mcp.json: Cursor, connected to Power BI through engini
{
"mcpServers": {
"engini-microsoft-power-bi": {
"url": "<your engini MCP server address>"
}
}
}

Create the MCP server in engini with your Power BI connection and the tools this agent may use, then paste its address. The client signs in through engini on first use. Claude, VS Code and other clients take the same address: see the MCP client setup guide.

Try asking your agent
“What was revenue by region last month, from the Sales dataset?”
“Refresh the Finance dataset now.”
“Export the board report as a PDF and send it to the CFO.”
“Did last night's refresh succeed?”
“Which dashboards use the Inventory dataset?”
“Push today's cash position into the Treasury dataset.”

Each request runs through the Power BI tools in the agent's toolset or MCP server. If a tool is not allowed, the agent cannot call it.

[ 03 / What teams build ]

What teams build on Power BI. Agents and workflows, across systems.

Finance

Fresh numbers before the meeting

After the ERP close, refresh the finance dataset and send the exported report to the leadership channel.

NetSuitePower BIMicrosoft Teams
Analytics

Questions answered with DAX

An agent in Claude answers questions by running DAX against your datasets. Its toolset holds read tools only.

Power BIClaude
Data operations

Failed refreshes, caught

When a refresh finishes, check its history and alert the data team if it failed.

Power BISlack
Operations

Live rows from systems of record

Push rows from SAP or SQL Server into a push dataset on a schedule.

SAP S/4HANAPower BI

Every integration runs both ways, so any of these flows can also run in reverse. These are examples, not the limit: any flow between Power BI and another system engini connects is available.

[ 04 / Agent Policy ]

You decide what each agent may do in Power BI. engini enforces it on every call.

Toolsets

Only the tools you allow

A toolset lists the Power BI tools an agent may call and the connection each one uses. Give one agent read tools only and another the write it needs. engini refuses any call outside the toolset.

MCP servers

Scoped when you set them up

An MCP server exposes only the connections and tools chosen when it is created, and engini shows who uses each server.

Identity

Whose permissions apply

Connect a person's own Power BI account and engini acts as that person, with their Power BI permissions. Use a shared integration account and it acts as that account. Every run is recorded under the user who started it.

Credentials

Kept out of prompts

Your agent never needs your credentials: engini stores them and adds them when it runs each call, so keys stay out of prompts and tool inputs.

Audit

Every call on record

Every call lands in History and the audit log, which you can export or stream to your SIEM.

Environments

Test before production

Workspaces keep teams apart, and development, staging and production environments keep a test agent away from live data.

SOC 2 Type IIISO 27001GDPRSecurity at engini →
[ 05 / Set up ]

Connect Power BI in three steps. Then decide what each agent may do.

Step 01

Sign in to Power BI

Add a Power BI connection and sign in with your Microsoft account, or use your own Microsoft app.

Step 02

Choose the tools

Add the connection to an MCP server or a toolset with only the tools each agent needs.

Step 03

Build or ask

Use the connection as a step in a workflow, or ask your agent to work in Power BI from Claude, ChatGPT, Cursor or your own code.

Full Power BI setup guide →
[ 06 / Questions ]

Power BI and engini. Straight answers.

Can an AI agent write to Power BI, or only read?

Both. engini can refresh datasets, add and delete rows in dataset tables, create datasets, clone reports, create dashboards and delete content. Whether a given agent may use them is up to you: give it a toolset or an MCP server with read tools only, and it cannot call the rest.

Does the agent act as me in Power BI?

It acts as the Microsoft account behind the connection, with that account's Power BI workspace roles. Every run is recorded under the person who started it.

Can a change in Power BI start work?

Yes. Scheduled triggers check for new dataset refreshes, new reports and updated apps. The workflow can include an AI agent step.

What if the tool I need is not listed?

Use Send API Request to call any Power BI API endpoint through the same connection, and give it only to the agents that need it.