PowerBI Connector Setup

This guide will walk you through how to set up PowerBI Connector in Datalogz via service principal. This method allows read-only access to PowerBI's administrative APIs for a single PowerBI tenant.

Time estimated: 6 mins

To start, we need the following:

  1. Datalogz account & license activation -> contact customers@datalogz.io

  2. Log in to your Datalogz account → https://app.datalogz.io/#/organization/connectors

Step 1: Create a new App Registration

  1. Create New Registration

  2. Create a name for your app, select single tenant (first option) as a supported account type, ignore the optional field as needed, and click Register at the bottom.

In this new app, we will need three pieces of information

  1. Application (client) ID & Directory (tenant) ID

Before continuing, please ensure you save all critical information (e.g., credentials, API keys, or configuration details) to a secure notepad or document for easy reference.

Recommended Action: Copy and paste the information into your favorite text editor (e.g., Notepad, Notion, or Google Docs).

  1. Client Secret Value

    1. Under Manage in the side nav

    2. Click Certificates & secrets & create new

    3. Find the Client Secret Value

The Client Secret Value will only be shown once during creation. If you refresh or navigate away, you won’t be able to view it again.

Recommended Action: Copy and paste the client secret into your secure note-taking tool (e.g., Notepad, Notion, or a password manager) as soon as it's generated. If lost: You’ll need to generate a new client secret.

Step 2: Create a new Group in Azure

  1. Create a new group

  2. Add members by adding the new app to the Enterprise applications

  3. Create new group

Step 3: Configure PowerBI with the Group

  1. In the Admin Portal, search "admin api" in the search box.

  2. Enable all three Admin API settings and apply all newly created Groups.

  3. This configuration could take 15-25 mins

Important: License Activation Required

Before logging into your account, please ensure your license file is activated. Without activation, access to your account may be restricted.

Contact the Datalogz Team:

  • Send a request to activate your license file to customers@datalogz.io

  • Provide any relevant information (e.g., company name, user email) to speed up the process.

Step 4: Create a New Connector in Datalogz

  1. Log in to your Datalogz account

  2. Navigate to Connector in the sidebar, and click New Connector

  3. Choose PowerBI, and select Connect using a Service Principal (SP)

  4. Copy-paste the new application information.

    1. Directory (tenant) ID

    2. Application (client) ID

    3. Client Secret Value

Step 5: Reload the connection in Datalogz

  1. Select a PowerBI workspace

  2. Reload Workspace and select all, option to expand and choose personal workspace

  3. Rename Connection and Continue to Next Step.

  4. Schedule the Connector Refresh rate.

  5. Refresh and click to view the new connector.

For more questions, please contact Datalogz support support@datalogz.io

Last updated