Power BI Header Auth icon

Power BI Header Auth

Work with the Power BI API using header authentication

Overview

This node enables interaction with the Power BI API using header-based authentication. Specifically, for the Dashboard - Get operation, it retrieves detailed information about a specific Power BI dashboard within a workspace (group). This is useful when you want to programmatically access dashboard metadata or details without manually navigating the Power BI portal.

Common scenarios include:

  • Automating reporting workflows by fetching dashboard details.
  • Integrating Power BI dashboards into other applications or services.
  • Monitoring or auditing dashboards across different workspaces.

Example: You have a Power BI workspace with multiple dashboards and want to retrieve metadata of a particular dashboard to display or process in your automation workflow.

Properties

Name Meaning
Authentication Token Bearer token for authentication (without the "Bearer" prefix). Required to authorize API calls.
Group (Workspace) Power BI group (workspace) ID. Leave blank to use "My Workspace".
Dashboard ID ID of the dashboard to retrieve. Required to specify which dashboard's details to fetch.

Output

The node outputs JSON data representing the retrieved dashboard's details. The structure typically includes properties such as dashboard name, id, web URL, and other metadata provided by the Power BI API for dashboards.

No binary data output is produced by this operation.

Dependencies

  • Requires a valid Bearer token for Power BI API authentication. This token must be provided either as an input parameter or via incoming data.
  • The token should have sufficient permissions to access the specified workspace and dashboard.
  • No additional external dependencies beyond the Power BI REST API.
  • The base URL used for API requests is https://api.powerbi.com/v1.0/myorg.

Troubleshooting

  • Missing or invalid token error: If the authentication token is missing or invalid, the node will throw an error indicating that the token is required or failed to authenticate. Ensure the token is correctly provided and has not expired.
  • Invalid Group or Dashboard ID: If the specified workspace (group) or dashboard ID does not exist or the token lacks access rights, the API call will fail. Verify IDs and permissions.
  • Token format: The token should be provided without the "Bearer " prefix; the node adds it automatically.
  • API rate limits or network issues: Standard Power BI API limitations apply; handle retries or errors accordingly.

Links and References

Discussion