> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# microsoft-powerbi

> Reports, datasets, and dashboards

**Server path:** `/microsoft-powerbi` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                              | Description                                                  |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| [`microsoft-powerbi_get_workspaces`](#microsoft-powerbi_get_workspaces)                           | Get all Power BI workspaces the user has access to           |
| [`microsoft-powerbi_get_reports_in_workspace`](#microsoft-powerbi_get_reports_in_workspace)       | Get all reports in a specific Power BI workspace             |
| [`microsoft-powerbi_get_dashboards_in_workspace`](#microsoft-powerbi_get_dashboards_in_workspace) | Get all dashboards in a specific Power BI workspace          |
| [`microsoft-powerbi_get_datasets_in_workspace`](#microsoft-powerbi_get_datasets_in_workspace)     | Get all datasets in a specific Power BI workspace            |
| [`microsoft-powerbi_get_report_details`](#microsoft-powerbi_get_report_details)                   | Get detailed information about a specific Power BI report    |
| [`microsoft-powerbi_get_pages_in_report`](#microsoft-powerbi_get_pages_in_report)                 | Get all pages in a specific Power BI report                  |
| [`microsoft-powerbi_refresh_dataset`](#microsoft-powerbi_refresh_dataset)                         | Trigger a refresh operation for a Power BI dataset           |
| [`microsoft-powerbi_get_refresh_history`](#microsoft-powerbi_get_refresh_history)                 | Get refresh history for a Power BI dataset                   |
| [`microsoft-powerbi_export_report`](#microsoft-powerbi_export_report)                             | Export a Power BI report to a specified format               |
| [`microsoft-powerbi_generate_embed_token`](#microsoft-powerbi_generate_embed_token)               | Generate an embed token for secure Power BI report embedding |
| [`microsoft-powerbi_get_data_sources`](#microsoft-powerbi_get_data_sources)                       | Get data sources used by a Power BI dataset                  |
| [`microsoft-powerbi_create_workspace`](#microsoft-powerbi_create_workspace)                       | Create a new Power BI workspace                              |

***

## microsoft-powerbi\_get\_workspaces

Get all Power BI workspaces the user has access to

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_get\_reports\_in\_workspace

Get all reports in a specific Power BI workspace

**Parameters:**

| Parameter     | Type   | Required | Default | Description                      |
| ------------- | ------ | -------- | ------- | -------------------------------- |
| `workspaceId` | string | Yes      | —       | Workspace ID to get reports from |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "workspaceId": {
        "type": "string",
        "description": "Workspace ID to get reports from"
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_get\_dashboards\_in\_workspace

Get all dashboards in a specific Power BI workspace

**Parameters:**

| Parameter     | Type   | Required | Default | Description                         |
| ------------- | ------ | -------- | ------- | ----------------------------------- |
| `workspaceId` | string | Yes      | —       | Workspace ID to get dashboards from |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "workspaceId": {
        "type": "string",
        "description": "Workspace ID to get dashboards from"
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_get\_datasets\_in\_workspace

Get all datasets in a specific Power BI workspace

**Parameters:**

| Parameter     | Type   | Required | Default | Description                       |
| ------------- | ------ | -------- | ------- | --------------------------------- |
| `workspaceId` | string | Yes      | —       | Workspace ID to get datasets from |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "workspaceId": {
        "type": "string",
        "description": "Workspace ID to get datasets from"
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_get\_report\_details

Get detailed information about a specific Power BI report

**Parameters:**

| Parameter     | Type   | Required | Default | Description                        |
| ------------- | ------ | -------- | ------- | ---------------------------------- |
| `workspaceId` | string | Yes      | —       | Workspace ID containing the report |
| `reportId`    | string | Yes      | —       | Report ID to get details for       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "workspaceId": {
        "type": "string",
        "description": "Workspace ID containing the report"
      },
      "reportId": {
        "type": "string",
        "description": "Report ID to get details for"
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "reportId"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_get\_pages\_in\_report

Get all pages in a specific Power BI report

**Parameters:**

| Parameter     | Type   | Required | Default | Description                        |
| ------------- | ------ | -------- | ------- | ---------------------------------- |
| `workspaceId` | string | Yes      | —       | Workspace ID containing the report |
| `reportId`    | string | Yes      | —       | Report ID to get pages from        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "workspaceId": {
        "type": "string",
        "description": "Workspace ID containing the report"
      },
      "reportId": {
        "type": "string",
        "description": "Report ID to get pages from"
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "reportId"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_refresh\_dataset

Trigger a refresh operation for a Power BI dataset

**Parameters:**

| Parameter     | Type   | Required | Default | Description                         |
| ------------- | ------ | -------- | ------- | ----------------------------------- |
| `workspaceId` | string | Yes      | —       | Workspace ID containing the dataset |
| `datasetId`   | string | Yes      | —       | Dataset ID to refresh               |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "workspaceId": {
        "type": "string",
        "description": "Workspace ID containing the dataset"
      },
      "datasetId": {
        "type": "string",
        "description": "Dataset ID to refresh"
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "datasetId"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_get\_refresh\_history

Get refresh history for a Power BI dataset

**Parameters:**

| Parameter     | Type   | Required | Default | Description                           |
| ------------- | ------ | -------- | ------- | ------------------------------------- |
| `workspaceId` | string | Yes      | —       | Workspace ID containing the dataset   |
| `datasetId`   | string | Yes      | —       | Dataset ID to get refresh history for |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "workspaceId": {
        "type": "string",
        "description": "Workspace ID containing the dataset"
      },
      "datasetId": {
        "type": "string",
        "description": "Dataset ID to get refresh history for"
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "datasetId"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_export\_report

Export a Power BI report to a specified format

**Parameters:**

| Parameter     | Type   | Required | Default | Description                        |
| ------------- | ------ | -------- | ------- | ---------------------------------- |
| `workspaceId` | string | Yes      | —       | Workspace ID containing the report |
| `reportId`    | string | Yes      | —       | Report ID to export                |
| `format`      | string | No       | `"PDF"` | Export format (PDF, PPTX, etc.)    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "workspaceId": {
        "type": "string",
        "description": "Workspace ID containing the report"
      },
      "reportId": {
        "type": "string",
        "description": "Report ID to export"
      },
      "format": {
        "type": "string",
        "default": "PDF",
        "description": "Export format (PDF, PPTX, etc.)"
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "reportId"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_generate\_embed\_token

Generate an embed token for secure Power BI report embedding

**Parameters:**

| Parameter     | Type    | Required | Default | Description                                   |
| ------------- | ------- | -------- | ------- | --------------------------------------------- |
| `workspaceId` | string  | Yes      | —       | Workspace ID containing the report            |
| `reportId`    | string  | Yes      | —       | Report ID to generate token for               |
| `accessLevel` | string  | Yes      | —       | Access level for the token (View, Edit, etc.) |
| `allowSaveAs` | boolean | No       | —       | Whether to allow saving the report            |
| `datasetId`   | string  | No       | —       | Dataset ID for the token                      |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "workspaceId": {
        "type": "string",
        "description": "Workspace ID containing the report"
      },
      "reportId": {
        "type": "string",
        "description": "Report ID to generate token for"
      },
      "accessLevel": {
        "type": "string",
        "description": "Access level for the token (View, Edit, etc.)"
      },
      "allowSaveAs": {
        "type": "boolean",
        "description": "Whether to allow saving the report"
      },
      "datasetId": {
        "type": "string",
        "description": "Dataset ID for the token"
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "reportId",
      "accessLevel"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_get\_data\_sources

Get data sources used by a Power BI dataset

**Parameters:**

| Parameter     | Type   | Required | Default | Description                         |
| ------------- | ------ | -------- | ------- | ----------------------------------- |
| `workspaceId` | string | Yes      | —       | Workspace ID containing the dataset |
| `datasetId`   | string | Yes      | —       | Dataset ID to get data sources for  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "workspaceId": {
        "type": "string",
        "description": "Workspace ID containing the dataset"
      },
      "datasetId": {
        "type": "string",
        "description": "Dataset ID to get data sources for"
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "datasetId"
    ]
  }
  ```
</Expandable>

***

## microsoft-powerbi\_create\_workspace

Create a new Power BI workspace

**Parameters:**

| Parameter | Type   | Required | Default | Description                |
| --------- | ------ | -------- | ------- | -------------------------- |
| `name`    | string | Yes      | —       | Name for the new workspace |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "name": {
        "type": "string",
        "description": "Name for the new workspace"
      }
    },
    "required": [
      "PCID",
      "name"
    ]
  }
  ```
</Expandable>
