Skip to content

Connect Power BI to Log Analytics

Before Power BI can read data from the Log Analytics workspace, you must add the Log Analytics API permissions to your Power BI app registration (the one created during the BI for Intune installation).

Required for both Custom Inventory and WUfB Reports

This step is needed whenever Power BI reads data from a Log Analytics workspace, whether for Custom Inventory data, WUfB Reports data, or both.

Note

These steps may have been performed when originally creating the app registration (Steps 15-19 of Create Azure AD App Registration). If so, you can skip this page.

Info

This is for the Power BI app registration only. The inventory app registration (used by the collection scripts) does not need this permission.

Prerequisites: The user performing this step requires Global Admin and Subscription Admin rights.

Step 1: Open App registrations in Azure

  1. Log in to entra.microsoft.com or portal.azure.com using a global administrator account.
  2. Search for and select App registrations.
  3. Select your Power BI app registration for BI for Intune. (Note: The name may vary from what is shown in this doc.)

Step 2: Navigate to API Permissions

  1. On the app registration page select API Permissions.

Step 3: Add a new permission

  1. Select Add a permission.

Step 4: Select organization APIs

  1. Select APIs my organization uses.

Step 5: Select Log Analytics API

  1. Search for Log Analytics.
  2. Select Log Analytics API.

Step 6: Select Application permissions

  1. Select Application Permissions.

Step 7: Add Data.Read permission

  1. Select Data.Read.
  2. Select Add permissions.
  1. Select Grant admin consent for your tenant.
  1. Select Yes at the prompt.
  2. You have now completed the steps required.