All docs
Connect

Power BI: connect a work or school Microsoft account to read reports, query semantic models and run refreshes

TL;DR

Power BI asks for the delegated Power BI permissions Workspace.Read.All, Report.ReadWrite.All, Dashboard.ReadWrite.All, Dataset.ReadWrite.All, Content.Create and App.Read.All — and nothing from Microsoft Graph (a Microsoft token covers one service, so SharePoint is its own connection). None of them needs an administrator by itself. The agent has 35 tools (17 reads, 18 changes).

What you need

  • A work or school Microsoft account with Power BI. A free licence reaches My workspace; shared workspaces need Power BI Pro or Premium Per User.
  • For DAX queries: your Power BI administrator turns on the tenant setting "Dataset Execute Queries REST API", and you have Read and Build permission on the semantic model.
  • For exports: the report's workspace runs on a Premium, Embedded or Fabric capacity (Premium Per User is not enough); PNG export is off until the tenant turns it on.
  • For refreshes: on shared capacity Power BI allows 8 refreshes a day per semantic model, scheduled ones included; enhanced refresh options need a Premium or Fabric capacity.

Connect step by step

  1. 1Open Integrations → Power BI → Connect.
  2. 2Sign in with your work or school Microsoft account and accept the permissions.
  3. 3Your workspaces appear on the card. A colleague who connects the same shared workspace adds a second sign-in to the same connection; each person's My workspace stays their own.
If Microsoft shows "Need admin approval", your tenant's user-consent policy routes the approval to an administrator: send them the administrator approval link from the Power BI card, then connect again. Re-authorize updates the same connection in place.

Bring your own data in, and build a report by API

  • Bring data in: create a push semantic model (tables, typed columns, DAX measures) in the connected workspace — My workspace included — and add rows (Power BI takes 10,000 per request and 1,000,000 an hour per model).
  • Build a report by API: a new report on a semantic model, with one page of cards, line / bar / column charts and tables, created through Microsoft Fabric's Create Report with the same Power BI sign-in.
  • Reload safely: a push model has no data source and no scheduled refresh; replacing its rows (delete all rows, then add) and changing a table's schema wait for a person.

Tools

ToolKindWhat it does
powerbi.list_workspacesReadThe Power BI workspaces connected in this workspace (one per row, My workspace included), or — live:true — every workspace the signed-in user can see now (marks those not connected yet).
powerbi.list_reportsReadThe workspace's reports (id, name, web URL, semantic model id, report type — PowerBIReport or PaginatedReport).
powerbi.get_reportReadOne report (name, web URL, semantic model, type, endorsement).
powerbi.list_report_pagesReadA report's pages (name = the page id used by exports, display name, order).
powerbi.list_dashboardsReadThe workspace's dashboards (id, name, web URL, read-only).
powerbi.get_dashboardReadOne dashboard.
powerbi.list_dashboard_tilesReadA dashboard's tiles (title, report / semantic model they come from, size).
powerbi.list_datasetsReadThe workspace's semantic models (datasets): id, name, refreshable, configured by (masked), whether it is on a capacity, storage mode.
powerbi.get_datasetReadOne semantic model with its refresh settings.
powerbi.list_datasourcesReadA semantic model's data sources (type, server / database / URL; no credentials).
powerbi.list_refreshesReadA semantic model's refresh history (status, start / end, type, error). Needs Write permission on the model.
powerbi.get_refresh_scheduleReadA semantic model's scheduled refresh (enabled, days, times, time zone, failure e-mails).
powerbi.execute_queryReadRun ONE DAX query (it must start with EVALUATE or DEFINE) against a semantic model and return the rows (capped at maxRows, default 1,000, ≤ 10,000; Power BI itself stops at 100,000 rows / 1,000,000 values / 15 MB, 120 queries a minute per user). Needs the tenant setting "Dataset Execute Queries REST API" and the user's Read + Build permission. MDX and DMV queries are not supported (DAX INFO.VIEW functions are); read the columns and measures with list_tables first.
powerbi.get_exportReadThe status of a create_report_export job; when it has succeeded the file is saved to the Asset Library and its link returned.
powerbi.list_appsReadThe Power BI apps the signed-in user has installed (id, name, publisher).
powerbi.list_tablesReadA semantic model's tables with their COLUMNS (min / max / distinct values) and MEASURES — read this before writing DAX for execute_query.
powerbi.getReadAny Power BI REST READ under the connected workspace that no typed tool covers: path relative to /v1.0/myorg starting with groups/{this workspace id}/… (or, for My workspace, reports/, dashboards/, datasets/ of items that are in My workspace).
powerbi.refresh_datasetChange (approval)Start a refresh of a semantic model (on shared capacity Power BI allows 8 a day per model, scheduled ones included; enhanced refresh options — type, commitMode, objects, maxParallelism, retryCount, applyRefreshPolicy — need a Premium / Fabric capacity).
powerbi.update_refresh_scheduleChange (approval)Change a semantic model's scheduled refresh (the user must own the model). Turning it off must be the only change.
powerbi.clone_reportChange (approval)Copy a report under a new name, in this workspace or another CONNECTED workspace, optionally bound to another semantic model (Build permission on it).
powerbi.rebind_reportChange (approval)Point a report at another semantic model in the same workspace (the model must have a compatible schema; paginated reports are not supported).
powerbi.create_report_exportChange (approval)Export a report to PDF, PPTX or PNG (PNG must be turned on by the tenant). Needs the workspace on a Premium, Embedded or Fabric capacity — not Premium Per User. Waits up to 40 s; when the file is ready it is saved to the Asset Library, else get_export continues.
powerbi.create_dashboardChange (approval)Create an empty dashboard in the workspace.
powerbi.update_report_contentChange (approval)REPLACE a report's content with another report's (the source report in this workspace). A person approves it on every lane.
powerbi.delete_reportChange (approval)Delete a report (Power BI has no recycle bin for it). A person approves it on every lane.
powerbi.delete_dashboardChange (approval)Delete a dashboard. A person approves it on every lane.
powerbi.delete_datasetChange (approval)Delete a semantic model AND every report built on it. A person approves it on every lane.
powerbi.take_over_datasetChange (approval)Make the signed-in user the semantic model's owner (its data-source credentials and refresh then run as that user). A person approves it on every lane.
powerbi.update_datasourcesChange (approval)Repoint a semantic model's data sources (same schema; SQL Server, Azure SQL, Analysis Services, Synapse, OData, SharePoint, Teradata, SAP HANA only; the user must own the model). A person approves it on every lane.
powerbi.create_push_datasetChange (approval)Create a PUSH semantic model in the connected workspace (My workspace included) from a schema: tables (≤ 75, names letters / digits / _), columns (≤ 75 each; Int64, Double, Decimal, Boolean, DateTime, String; optional formatString), DAX measures and relationships. It holds the rows add_rows sends; it has no data source and no scheduled refresh. A push model of the same name in the workspace is returned instead of a second one (allowDuplicateName:true makes another).
powerbi.add_rowsChange (approval)Add rows to a table of a PUSH semantic model: ≤ 100,000 rows per call, sent as 10,000-row requests (Power BI: 1,000,000 rows an hour, 4,000 characters per text value). A failure part-way says how many rows went in — send only the rest. Dates as ISO text.
powerbi.delete_rowsChange (approval)Delete EVERY row of a push model's table (Power BI has no per-row delete). A person approves it on every lane.
powerbi.update_table_schemaChange (approval)REPLACE a push model table's columns and measures (columns left out are dropped). A person approves it on every lane.
powerbi.create_reportChange (approval)Create a report on a semantic model of the connected workspace (Microsoft Fabric Items — Create Report; works in My workspace with a Pro licence): with visuals, one page laid out on a grid — card (measure), line / bar / column (category column + 1–5 measures), table (columns + measures), ≤ 12; without, an EMPTY report to finish in Power BI. Field names are the model's own; say which are measures. A report of the same name on the same model is returned instead of a second one.
powerbi.mutateChange (approval)Any Power BI REST WRITE under the connected workspace that no typed tool covers: { accountId, method: POST | PATCH | DELETE, path (relative to /v1.0/myorg, under groups/{this workspace}/ or a My workspace item), body? }. A refresh, a refresh schedule, a clone, a rebind, an export or a new dashboard is ordinary; everything else waits for a PERSON; permissions (users), embed tokens, capacity / gateway / admin calls and deleting the workspace are refused.

What waits for a person

  • Under your approval setting: refreshes, refresh schedules, report copies and rebinds, exports, new dashboards.
  • Always a person's decision: Deleting a report, a dashboard or a semantic model, replacing a report's content, taking over a semantic model and changing its data sources always wait for a person, on every lane — even with auto-approve on.
  • Never: sharing and permission changes, embed tokens, admin, capacity and gateway calls, imports, and creating or deleting a workspace.
  • Every call stays in the connected workspace: a report, semantic model or dashboard from another workspace is refused before anything is sent.
  • Your data in DAX results: a DAX query on a saved dashboard is refreshed on its schedule like a BigQuery query; only e-mail addresses are masked, so query aggregates rather than customer rows, and the agent's memory never keeps DAX rows.
Checked live on 2026-11-26 in a My workspace with a Power BI Pro licence: a push semantic model built from 90 days of Google Analytics data, its DAX totals checked against the source, and a report created on it by API. Shared workspaces, exports (a capacity) and refresh schedules follow Microsoft's documentation and recorded answers; if something behaves differently, Support wants to hear about it.

Power BI and Microsoft Fabric

Power BI's REST API (api.powerbi.com) covers reports, dashboards, semantic models, refreshes and exports — that is what this connection uses. Microsoft Fabric is the platform around it (lakehouses, notebooks, Real-Time Intelligence, data agents …), reached through the separate Fabric REST API with item-type permissions. The Fabric permissions an app registration lists under "Power BI Service" are not used here.

Permissions you can remove from the app registration

For administrators tidying the app registration in Microsoft Entra: these Power BI Service permissions are retired, belong to Fabric items, or are broader than the tools need. The connect never asks for them.

PermissionKindNote
Scorecard.Execute.AllRetiredShown as retired in Entra (Power BI goals / scorecards permission). Remove it.
Scorecard.ReadWrite.AllRetiredShown as retired in Entra. Remove it.
MetricSet.ReadWrite.AllRetiredMetric sets were retired (phased from 2025-10-25, fully 2025-11-15). Remove it.
DataAgent.Execute.AllMicrosoft Fabric itemMicrosoft Fabric data agent item.
DataAgent.ReadWrite.AllMicrosoft Fabric itemMicrosoft Fabric data agent item.
Datamart.ReadWrite.AllMicrosoft Fabric itemFabric / Power BI datamart item.
GraphQL.Execute.AllMicrosoft Fabric itemFabric API for GraphQL item.
KQLDashboard.ReadWrite.AllMicrosoft Fabric itemFabric Real-Time Intelligence dashboard.
MLModel.ReadWrite.AllMicrosoft Fabric itemFabric Data Science ML model item.
OrgApp.ReadWrite.AllMicrosoft Fabric itemFabric org app item.
SemanticModel.ReadWrite.AllMicrosoft Fabric itemFabric item-CRUD scope for semantic models (the Power BI REST calls here use Dataset.ReadWrite.All).
PaginatedReport.ReadWrite.AllMicrosoft Fabric itemFabric item-CRUD scope for paginated reports.
SQLDatabase.ReadWrite.AllMicrosoft Fabric itemFabric SQL database item.
UserDataFunction.ReadWrite.AllMicrosoft Fabric itemFabric user data function item.
VariableLibrary.ReadWrite.AllMicrosoft Fabric itemFabric variable library item.
Workspace.GitCommit.AllMicrosoft Fabric itemFabric Git integration.
Workspace.GitUpdate.AllMicrosoft Fabric itemFabric Git integration.
Connection.ReadWrite.AllMicrosoft Fabric itemFabric connections / gateways data sources.
Dataflow.Execute.AllNot usedDataflows are not built.
Dataflow.ReadWrite.AllNot usedDataflows are not built.
Pipeline.DeployNot usedDeployment pipelines are not built.
Pipeline.ReadWrite.AllNot usedDeployment pipelines are not built.
StorageAccount.ReadWrite.AllNot usedDataflow storage accounts — not built.
Capacity.ReadWrite.AllNot usedCapacity assignment is never done by the agent.
Workspace.ReadWrite.AllNot usedBroader than needed; the connect asks Workspace.Read.All.
Tenant.Read.AllAdmin onlyAdmin APIs — admin consent required; never asked.

Frequently asked questions

Why does a DAX query fail with "not allowed"?
The tenant setting "Dataset Execute Queries REST API" is off, or you lack Build permission on the semantic model. Power BI also stops a query at 100,000 rows, 1,000,000 values or 15 MB, and at 120 queries a minute per user.
Why can the agent not export my report?
Export needs the workspace on a Premium, Embedded or Fabric capacity; Premium Per User and shared capacity cannot export.
Do I need an administrator?
Only if your tenant's consent policy requires one. The permissions themselves do not need administrator consent; the Power BI card links the administrator approval page when Microsoft asks for it.

About this platform

Related