View as Markdown
Microsoft Power BI icon

Microsoft Power BI ACTION

Get Report by id

Retrieve metadata for a single Power BI report by ID. Uses My workspace by default; set Workspace (Group) ID for a specific workspace. See the documentation
  • Action
  • Read only
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Microsoft Power BI account once, then configure and run Get Report by id from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "microsoft_power_bi-get-reports-by-id",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    microsoft_power_bi: { authProvisionId: "apn_xxxxxxx" },
    groupId: "Workspace (Group) ID",
    reportId: "Report ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Get Report by id inputs
Property Type Description
groupId Workspace (Group) ID string
Workspace group ID (GUID), e.g. f089354e-8366-4e18-aea3-4cb4a3a50b48. Omit to target My workspace.
Optional Dynamic
reportId Report ID string
Power BI report ID (GUID), e.g. 2f1f6a59-1b2c-4d84-9d89-4c27f8a3c111. Set Workspace (Group) ID to scope options to one workspace.
Required Dynamic

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
microsoft_power_bi-get-reports-by-id
Version
0.0.2
App
Microsoft Power BI
Authentication
OAuth
Read-only
Yes
Destructive
No
Open world
Yes