Set up Microsoft Power BI
Atlan connects to Microsoft Power BI using a secure, least-privilege model. The integration reads metadata using Microsoft’s recommended metadata (scanner) APIs. It doesn't modify any content or settings in your Power BI environment.
This guide outlines the steps required to enable metadata extraction using a service principal.
Prerequisites
Before you begin, confirm you have access to the required roles.
Depending on your organization’s setup, you may need a combination of admin roles to complete these steps. You may not have access yourself.
- Cloud Application Administrator or Application Administrator (Microsoft Entra ID)
- Microsoft 365 administrator (Microsoft 365)
- Fabric Administrator (Power BI tenant settings)
- Workspace Admin or Member (workspace access, if needed)
Register service principal in Azure
Atlan connects using a service principal. This enables secure, automated access to metadata.
- Go to the Azure portal and navigate to Microsoft Entra ID.
- Select App registrations and then select New registration.
- Name the application (for example,
Atlan-PowerBI-Connector) and complete the registration. - Copy and securely store:
- Application (client) ID
- Directory (tenant) ID
- Go to Certificates & secrets and create a New client secret.
- Save the client secret Value securely.
- For simpler permission management, create a security group in Entra ID and add the service principal to it.
Create security group in Azure
Create a security group and add the correct application registration to it.
- Log in to the Azure portal.
- Search for Microsoft Entra ID and select it.
- Select Groups under the Manage section.
- Select New group.
- Set Group type to Security.
- Enter the group name and optional description.
- Select No members selected.
- Add the appropriate member:
- Service Principal Authentication: Search for the application registration you created earlier and select it.
- Select Select and then Create.
Enable metadata access in Power BI
A Power BI tenant admin must enable metadata access.
- Open the Power BI admin portal and select Tenant settings.
- Under Developer Settings, enable Service principals can call Fabric public APIs.
- Under Admin API settings, enable Service principals can use read-only Power BI admin APIs.
- Under Enhanced metadata, enable:
- Detailed metadata responses
- DAX and mashup expression metadata
- Add the security group containing your service principal to each setting you enabled.
These settings enable Atlan to read metadata from Power BI workspaces, datasets, dashboards, and reports.
Grant workspace access
Add the security group to each workspace you want Atlan to scan. Workspaces that don't have the security group won't appear in the Include/Exclude Workspaces metadata filters during crawl configuration.
If your organization has many workspaces, you can skip adding the security group to individual workspaces by enabling the Scanner APIs Only Access toggle during crawl credential configuration. When the toggle is enabled, workspaces appear in the metadata filters using only scanner APIs -> no workspace-level access is required.
However, using only scanner APIs has limitations, including no Pages catalog and no downstream column/measure-to-page lineage. For a full comparison, see How does the scanner API toggle affect catalog coverage and lineage?.
- In Power BI, go to Workspaces, select a workspace, and then select Access.
- Add the security group containing your service principal.
- Assign the role based on your metadata requirements:
- Viewer: Dashboards and reports
- Contributor: Datasets with parameters
- Member: Dataflows and full lineage
- Repeat for every workspace you want Atlan to scan.
Verify setup
Before you configure the connection in Atlan, confirm you have:
Client IDTenant IDClient secretvalue (stored securely)- Power BI tenant settings updated to include your security group for the scanner API settings
- Workspace access granted to the security group for each workspace you want to scan, or plan to enable the Scanner APIs Only Access toggle during crawl configuration
If you run into connectivity issues, see Troubleshooting connectivity.
Next steps
- Crawl Microsoft Power BI: Configure and run the crawler to extract metadata from Microsoft Power BI.