Prerequisites
- A Microsoft account with access to Power BI workspaces, reports, and semantic models you intend to use.
- At least Viewer access to a Power BI workspace.
- An EKB project where you can configure an agent or workflow.
- Your organization’s Microsoft Entra administrator may need to approve the app’s requested Power BI delegated permissions before the OAuth connection can complete.
Setup
1
Open an agent or workflow in EKB
Create or open an agent or workflow in EKB, then add the Microsoft Power BI toolkit.
2
Connect with Microsoft
When prompted, select Connect with Microsoft Power BI and sign in with the Microsoft account that has access to the Power BI workspaces, reports, and semantic models you need.
3
Accept permissions
Review and accept the requested permissions. If your organization requires administrator approval, ask your Microsoft Entra administrator to approve the app’s delegated Power BI permissions before proceeding.
4
Confirm the connection
Run List Workspaces to confirm the connection is working and to obtain workspace IDs for use in subsequent actions.
Available tools
Discovery
Data Exploration
Refresh Management
Recommended workflow
Start with List Workspaces → List Datasets (using a workspace ID) → Get Dataset Schema → Execute DAX Query. This sequence makes the available model and its table and column names visible before you write a query.Use cases
- Return the top revenue regions from a Power BI semantic model using a DAX query, then include the results in a Slack notification or report summary.
- Trigger a dataset refresh after an upstream data-load workflow completes, then use Get Refresh History to confirm success before publishing a report link.
- Let an agent list workspaces and reports, then surface a report URL to a stakeholder on request.
- Check the latest refresh status of a scheduled dataset before a downstream workflow depends on fresh data.