---
title: "Data Catalog for Power BI: How to Setup Guide"
url: "https://atlan.com/how-to/microsoft-power-bi-data-catalog-setup-guide/"
description: "Connect a data catalog to your Power BI tenant so an agent can find the right report and table instead of guessing across your analytics."
author: "Emily Winks"
author_role: "Data Governance Expert"
published: "2023-08-04"
updated: "2023-08-05"
---

## Quick Answer: How do you set up a data catalog for Microsoft Power BI?

Setting up a data catalog for Microsoft Power BI involves connecting to your Power BI instance, configuring metadata extraction, establishing data lineage, and enabling discovery for users. This guide covers prerequisites, connection setup, metadata syncing, and best practices for maintaining catalog accuracy.

Setup steps:

- **Prerequisites** and requirements
- **Connection configuration** guide
- **Metadata extraction** setup
- **Lineage establishment** process
- **Best practices** for maintenance

## Key takeaways

- Power BI catalog setup requires a service principal with Report.ReadAll and Dataset.ReadAll API scopes.
- Atlan extracts Power BI workspaces, reports, datasets, and column-level lineage to Snowflake or Databricks.
- Endorsements and sensitivity labels from Power BI propagate into Atlan as governance classifications.

---

The catalog is where an AI agent finds the right table to answer a business question - without it, the agent guesses. Power BI is one of the largest sources of that context, fueling much of the business world's analytics reporting and storing a lot of corporate data. By tracking that data in a data catalog, you can tag, classify, and inspect its flow across your organization, and this article shows how to connect your catalog to a Microsoft Power BI tenant and set up a scheduled crawler for its data and metadata.
## How to set up a data catalog for Microsoft Power BI: Prerequisites

You'll need the following setup before you can connect Microsoft Power BI to your data catalog:

* **Familiarity with data catalogs**: If you need a refresher, [read our primer on data catalogs](https://atlan.com/what-is-a-data-catalog/).
* **Power BI service**: The instructions below assume you are using Power BI service and not the desktop application.
* **Azure Active Directory administrator access**. Power BI service is hosted inside of a [Microsoft tenant](https://learn.microsoft.com/en-us/microsoft-365/solutions/tenant-management-overview?view=o365-worldwide), i.e., an instance of Azure Active Directory. To grant access to Power BI service, you'll need to create an [application registration](https://learn.microsoft.com/en-us/power-apps/developer/data-platform/walkthrough-register-app-azure-active-directory) inside of its associated Azure Active Directory.This will also require an active Azure subscription. (Creating an application registration is free and will not incur charges.)
* **Data catalog permissions**. You will need access to your data catalog as a user with the ability to create new data connector instances and tables.
* **Connectivity**. Your Power BI tenant needs to be reachable from your data catalog. If your data catalog is running in the cloud in a private virtual network, this may require creating a NAT server and outbound firewall rules to allow access to Power BI.

---

## Determine the Power BI assets to be crawled

Before starting, determine which elements from Power BI you want to crawl from your data catalog. What you can crawl may differ depending on which data catalog you use.

For instance, Atlan's data catalog supports crawling the following data objects:

* Workspaces
* Dashboards
* Data sources
* Datasets
* Dataflows
* Reports
* Pages
* Tiles
* Tables
* Columns
* Measures

**Read more ->** [What does Atlan crawl from Microsoft Power BI?](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/references/what-does-atlan-crawl-from-microsoft-power-bi)

---

## Create Active Directory application registration

Your data catalog will create an application registration to authenticate to Power BI. The app registration serves as the identity to which Power BI grants permission to access objects such as workspaces and dashboards. (You may also see the app registration referred to as a service principal.)

To create an application registration, you must:

1. Set up a new registration
2. Grant API permissions
3. Create a client secret
4. Copy the tenant and app ID
5. Create a security group
6. Enable API settings in Power BI admin
7. Add your group as a workspace viewer

So, let's get started.

### 1. Set up a new registration

Firstly, navigate to the [Azure Portal](https://portal.azure.com/) in the same tenant as your Power BI instance. In the search bar, search for **Azure Active Directory**, and then select **Azure Active Directory**.

In the directory's left-hand menu, under **Manage**, select **App registrations**. Then, select **New registration**.

![Registering an application in Azure](https://website-assets.atlan.com/img/Registering-an-application-in-Azure.webp "Registering an application in Azure"){width=906 height=773}

 Registering an application in Azure - Image by  Atlan.  

In **Name**, enter an easy-to-remember name. In Supported account types, select **Accounts in this organizational directory only (MSFT only - Single tenant)**. Then, select **Register**.

### 2. Grant API permissions

Next, you need to grant your app registration permission to access Power BI. To do this, in the left-hand menu for your app registration, under **Manage**, select **API permissions**. Then, select **Add a permission**, and scroll down and select **Power BI service**.

![Requesting an API permission for Power BI](https://website-assets.atlan.com/img/Requesting-an-API-permission-for-Power-BI.webp "Requesting an API permission for Power BI"){width=793 height=764}

 Requesting an API permission for Power BI - Image by  Atlan.  

In the **Request API permissions** panel, select **Delegated permissions** and then grant all of the following **read** permissions:

* App.Read.All
* Capacity.Read.All
* Dashboard.Read.All
* Dataflow.Read.All
* Dataset.Read.All
* Gateway.Read.All
* Pipeline.Read.All
* Report.Read.All
* StorageAccount.Read.All
* Tenant.Read.All
* Workspace.Read.All

This grant applies the **principal of least permission** to your data catalog connection. The data catalog only needs read permissions on Power BI data, therefore there is no reason to assign it write access.

Finally, select the **Grant admin consent** button. (Note: If this button only says **Add permissions**, you are not currently logged in as an Azure Active Directory administrator. Log out and log back in with an account with administrator rights.)

### 3. Create a client secret

To authenticate to Power BI, your data catalog will need two pieces of information: the application ID (**app ID**), also called the **client id**, and a **client secret**. The client secret is a unique cryptographic string that acts like a password.

To create a client secret, on your app registration page, select **Certificates & secrets**. Then, select **New client secret**.

![Creating a client secret](https://website-assets.atlan.com/img/Creating-a-client-secret.webp "Creating a client secret"){width=572 height=768}

 Creating a client secret - Image by  Atlan.  

In **Description**, enter text that describes the purpose of this client secret.

In **Expires**, select how long you want this client secret to remain valid until you need to create a new one. It's recommended that you change, or **rotate**, the client secret at least every six months to reduce the risk of security breaches caused by leaked credentials.

If you set this field to anything except **Never**, you will need to ensure that you rotate the client secret before the specified time period expires. Otherwise, your data catalog will lose connectivity to Power BI and the data it tracks will go out of date.

When ready, click **Add**. Make sure to copy the client secret to a text window on your computer for use in a subsequent step, as you won't be able to copy it again after this. If you lose your client secret, delete it and create a new one.

### 4. Copy the tenant and app ID

Finally, when you configure your data catalog connection to Power BI, you'll need both the tenant ID as well as the app ID.

To retrieve both, on your app registration, select **Overview**. Then, copy the values for **Application (client) ID** and **Directory (tenant) ID**.

![Setting up the Power BI connector](https://website-assets.atlan.com/img/Setting-up-the-Power-BI-connector.webp "Setting up the Power BI connector"){width=826 height=315}

 Setting up the Power BI connector - Image by  Atlan.  

Save this information.

### 5. Create a security group

Next, you'll need to create a security group containing your app registration. You'll specify this later in Power BI to indicate which Azure app registrations should be granted Power BI access.

Navigate back to Azure Active Directory by placing your cursor in the search bar and selecting **Azure Active Directory**. Then, under **Manage**, select **Groups**, and then select **New group**.

Enter a **Group name** and a **Group description**. Then, under **Members**, select **No members selected**. In the Add members dialog, search for and select your app registration, and then select **Select**.

![Creating a security group](https://website-assets.atlan.com/img/Creating-a-security-group.webp "Creating a security group"){width=734 height=772}

 Creating a security group - Image by  Atlan.  

When done, select **Create**.

### 6. Enable API settings in Power BI Admin

Next, you'll need to enable additional API settings within Power BI Admin itself.

To perform this step, log in to the [Power BI Admin Portal](https://app.powerbi.com/admin-portal) as an account with Power BI administrator rights. In **Admin portal** -> **Tenant settings**, change the following properties:

**Developer settings**: **Allow service principals to use Power BI APIs**

Expand this and select **Enabled**. In **Apply to**, select **Specific security groups** and enter the name of the Azure security group you created above. Then, select **Apply**.

![Enabling API settings in Power BI](https://website-assets.atlan.com/img/Enabling-API-settings-in-Power-BI.webp "Enabling API settings in Power BI"){width=641 height=572}

 Enabling API settings in Power BI - Image by  Atlan.  

**Admin API settings: Allow service principals to use read-only admin APIs**

Expand this and select **Enabled**. In **Apply to**, select **Specific security groups** and enter the name of the Azure security group you created above. Then, select **Apply**.

**Admin API settings: Enhance admin APIs responses with DAX and mashup expressions**

Expand this and select **Enabled**. In **Apply to**, select **Specific security groups** and enter the name of the Azure security group you created above. Then, select **Apply**.

### 7. Add your group as a workspace viewer

Finally, to access a workspace, you'll need to add the app registration as a workspace user. You do this by adding the Azure security group you created above to the workspace with Viewer permissions.

To access the workspace, go to the Power BI portal and, from the left-hand menu, select **Workspaces**. Select the **Access** button above the table.

In the resulting dialog box, in the **Enter email addresses** field, enter the name of the security group you created above. Change the dropdown next to it to **Viewer** and then select **Add**.

> **Note**: You can also automate this procedure using the **[Add-PowerBIWorkspaceUser](https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.workspaces/add-powerbiworkspaceuser?view=powerbi-ps)** cmdlet with a **-PrincipalType** of **Group**. This is useful if you have a large number of workspaces to which you need to add data catalog crawler access.

---

## Configure data catalog crawler for Power BI data

With all of that configured, we can now set up our crawler in our data catalog. This procedure will differ depending on which data catalog you use. In the text that follows, we'll show how this works in Atlan.

In Atlan, you create a new Workflow that uses the **Power BI Assets** package. This is a package created and maintained by Atlan for crawling Power BI data.

In the Atlan Power BI assets package, for **Authentication**, select **Service Principal**. (Remember, as we discussed above, an Azure app registration is just another name for a service principal.)

Then, paste in the **Tenant ID**, **Client ID** (App ID), and **Client Secret** information that you copied earlier.

Once entered, select **Test authentication** to verify that the connection works. (If it fails, you may need to generate a new client secret for your app registration and try again.)

Once done, click **Next** and then give your connection a **name**, such as Development or Production. You can also configure **Connection Admins** to control who in Atlan has access to modifying the Power BI connection.

### Configure the crawler

Once you've set up your Power BI connection, you can further configure the crawler by specifying **included** and **excluded workspaces**.

Your data catalog may also have specialized behavior surrounding [certified datasets](https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-endorse-content). Certified Power BI datasets are datasets that someone in your organization has verified are complete and accurate.

[Atlan also supports the concept of certification](https://docs.atlan.com/product/capabilities/discovery/how-tos/add-certificates) and will, by default, automatically mark anything certified in Power BI as Verified in Atlan. To change this behavior, change the **Attach endorsements in Power BI** option in your crawler to **Send a request**. This will generate a request for manual approval of certification status of the dataset in Atlan.

Finally, once you've configured the crawler, you can either run it once or set it to run on a schedule. You can schedule the crawler to run hourly, daily, weekly, or monthly.

---

## Business outcomes for cataloging data from Power BI

[Tracking data in a data catalog provides numerous benefits](https://atlan.com/benefits-of-a-data-catalog/) by providing a single location where you can discover, tag, classify, and govern all of an organization's data.

Cataloging Power BI specifically can play a key role in [democratizing data](https://atlan.com/what-is-data-democratization/) within a company. Power BI is one of the most popular self-service tools used today for analytics reporting. However, its self-service nature can lead to [data silos](https://atlan.com/what-are-data-silos/) full of outdated or inaccurate data.

Adding Power BI workspaces to your data catalog provides a balance between autonomy and data governance. Users can continue to generate reports to fit their needs, while the organization retains visibility and oversight via the data catalog.

---

## How to deploy Atlan for Power BI

We've covered most of the information you'd need to deploy Atlan for Power BI above. For more details, consult our detailed documentation:

* [How to set up Microsoft Power BI](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/set-up-microsoft-power-bi)
* [Create an Azure Active Directory Application](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/set-up-microsoft-power-bi)
* [Add permissions](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/set-up-microsoft-power-bi#add-permissions-0-1)
* [Create a client secret](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/set-up-microsoft-power-bi#create-a-client-secret-0-2)
* [Retrieve the tenant and client IDs](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/set-up-microsoft-power-bi#retrieve-the-tenant-and-client-ids-0-3)
* [Create a security group](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/set-up-microsoft-power-bi#create-a-security-group-0-4)
* [Enable extra admin API settings](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/set-up-microsoft-power-bi#enable-extra-admin-api-settings-0-5)
* [Add service principal as a workspace viewer](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/set-up-microsoft-power-bi#add-service-principal-as-a-workspace-viewer-0-6)
* [How to crawl Microsoft Power BI](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/crawl-microsoft-power-bi)
* [Select the source](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/crawl-microsoft-power-bi#select-the-source-0-0)
* [Provide credentials](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/crawl-microsoft-power-bi#provide-credentials-0-1)
* [Configure the connection](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/crawl-microsoft-power-bi#configure-the-connection-0-2)
* [Configure the crawler](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/crawl-microsoft-power-bi#configure-the-crawler-0-3)
* [Run the crawler](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/how-tos/crawl-microsoft-power-bi#run-the-crawler-0-4)
* [What does Atlan crawl from Microsoft Power BI?](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/references/what-does-atlan-crawl-from-microsoft-power-bi)
* [Troubleshoot Microsoft Power BI connectivity](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/troubleshooting/microsoft-power-bi-connectivity-errors)
* [Preflight checks for Microsoft Power BI](https://docs.atlan.com/apps/connectors/business-intelligence/microsoft-power-bi/references/preflight-checks-for-microsoft-power-bi)

---

## Next steps

- To see Atlan's context layer in action first, watch a recorded demo: [Atlan context layer demos](https://atlan.com/context-layer-demo/)
- To see Atlan working on your own data stack, book a demo: [Book a demo with Atlan](https://atlan.com/forms/talk-to-sales-contact/)
