Supported actions
Actions are Microsoft Power BI operations that an agent runs as Action Tools during a conversation. You can also run them from an Integration node in a workflow.Prerequisites
- A Power BI workspace. For a service principal, enable Allow service principals to use Power BI APIs in the Power BI admin portal, and add the principal to the workspace.
Set up the integration
1
Register an Entra ID app
Register an app in Microsoft Entra ID, create a client secret, and copy the Application (client) ID and Directory (tenant) ID. Add Microsoft Graph permissions (Power BI Service permissions, for example
Dataset.ReadWrite.All) as Delegated or Application permissions, grant admin consent, and for delegated access add the Artemis Callback URL as a Web redirect URI.2
Create the auth profile
In Integrations, select Microsoft Power BI > Connect. On Project Auth Profiles, select New Profile > Integration Profile > Microsoft Power BI > Continue. Select an Auth Type, configure the fields, and select Create Profile. For delegated access, select Authorize.
- OAuth 2.0 App (User Delegated)
- Azure AD (Service Principal)
Enter the Microsoft identity platform endpoints if Artemis doesn’t pre-fill them (
https://login.microsoftonline.com/<tenant>/oauth2/v2.0/authorize and .../token), the delegated Scopes, Client ID, and Client Secret. Usage Mode: Preconfigured shares one authorization across users; JIT and Preflight ask each user to authorize, during or before the session. See Auth profiles.3
Create the action tool
In Tools, select New Tool > Action > Microsoft Power BI > Continue. Select the Action and Auth Profile, set parameter defaults (leave a value empty for the agent to supply at runtime), and select Create Tool. Then assign the tool to an agent.
Action reference
Create Dataset
Create Dataset
Push Rows to Dataset Table
Push Rows to Dataset Table
Custom API Call
Custom API Call
Troubleshoot common issues
Related articles: