1.9 KiB
| title | slug |
|---|---|
| PowerBI Account Setup | /connectors/dashboard/powerbi/powerbi-account-setup |
PowerBI Account Setup
Requirements
- To access the PowerBI APIs and import dashboards, charts, and datasets from PowerBI into OpenMetadata, a
PowerBI Prolicense is necessary.
Step 1: Create an Azure AD app and configure the PowerBI Admin consle
Please follow the steps mentioned here for setting up the Azure AD application service principle and configure PowerBI admin settings
Login to Power BI as Admin and from Tenant settings allow below permissions.
- Allow service principles to use Power BI APIs
- Allow service principals to use read-only Power BI admin APIs
- Enhance admin APIs responses with detailed metadata
Step 2: Provide necessary API permissions to the app
Go to the Azure Ad app registrations page, select your app and add the dashboard permissions to the app for PowerBI service and grant admin consent for the same:
The required permissions are:
Dashboard.Read.AllDashboard.ReadWrite.All
Optional Permissions: (Without granting these permissions, the dataset information cannot be retrieved and the lineage processing will be skipped)
Dataset.Read.AllDataset.ReadWrite.All
{% note %}
Make sure that in the API permissions section Tenant related permissions are not being given to the app Please refer here for detailed explanation
{% /note %}
Step 3: Create New PowerBI workspace
The service principal only works with new workspaces. For reference