docs/quick-ingestion-guides/powerbi/setup.md
DataHub connects to Power BI using a service principal / Microsoft Entra application.
In order to configure ingestion from Power BI, you'll first have to ensure you have a Microsoft Entra application with permission to access the Power BI resources.
Follow the below steps to register an Entra application:
Login to the Azure portal at https://portal.azure.com
Go to Microsoft Entra ID
Navigate to App registrations
Click on + New registration
In the Register an application window, fill out the Name of the application (e.g. datahub-powerbi-connector-app) and keep the other defaults as-is, then click Register.
Application (client) ID and Directory (tenant) ID.Navigate to Certificates & secrets on the Entra application you just created.
Click on New client secret
Generate a new secret and note down the secret Value
The application you registered will need to be a member of an Entra group in order to be granted Power BI/Fabric permissions. Follow the below steps to create a new Microsoft Entra Group:
Go to Microsoft Entra ID
Navigate to Groups and click on New group
In the New group window, leave Group type as the default (Security) and fill out the Group name (e.g. datahub-powerbi-connector-group), as shown in the below screenshot:
Navigate to All groups and click on your newly created group.
Navigate to Members and click Add members.
Add your Microsoft Entra application (e.g. datahub-powerbi-connector-app) as a member.
You need to add the created Entra group under your Power BI/Fabric tenant settings in order to grant resource access. Follow the below steps to grant privileges to the group and all applications within it:
Login to Power BI: https://app.powerbi.com/
Go to Settings -> Admin portal
In the Admin portal, navigate to Tenant settings.
For each of the following options, enable the option and add the previously created security group (e.g. datahub-powerbi-connector-group) under Specific security groups:
Developer settings > Service principals can call Fabric public APIs (or Allow service principals to use Power BI APIs in older versions of Power BI)Admin API settings > Service principals can access read-only admin APIsAdmin API settings > Enhance admin APIs responses with detailed metadataAdmin API settings > Enhance admin APIs responses with DAX and mashup expressionsFor workspaces which you want to ingest into DataHub, add the Entra application as a member.
Navigate to Workspaces
Open the workspace which you want to ingest, as shown in the below screenshot:
Click Manage Access
Click Add people or groups
Add your Microsoft Entra application (e.g. datahub-powerbi-connector-app) as a member. For most cases Viewer role is enough, but for profiling the Contributor role is required.
Once you've done all of the above steps, it's time to move on to configuring the actual ingestion source within DataHub.