Added powerbi account setup documentation (#6402)

Co-authored-by: Onkar Ravgan <onkarravgan@Onkars-MacBook-Pro.local>
This commit is contained in:
Onkar Ravgan 2022-07-28 21:03:21 +05:30 committed by GitHub
parent 4449acf1c9
commit 7d7a06b188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -296,6 +296,8 @@ site_menu:
url: /openmetadata/connectors/dashboard/tableau/cli
- category: OpenMetadata / Connectors / Dashboard / PowerBI
url: /openmetadata/connectors/dashboard/powerbi
- category: OpenMetadata / Connectors / Dashboard / PowerBI / PowerBI Account Setup
url: /openmetadata/connectors/dashboard/powerbi/powerbi-account-setup
- category: OpenMetadata / Connectors / Dashboard / PowerBI / Airflow
url: /openmetadata/connectors/dashboard/powerbi/airflow
- category: OpenMetadata / Connectors / Dashboard / PowerBI / CLI

View File

@ -0,0 +1,34 @@
---
title: PowerBI Account Setup
slug: /openmetadata/connectors/dashboard/powerbi/powerbi-account-setup
---
# PowerBI Account Setup
### Requirements
- PowerBi Pro license is required to access the APIs
### Step 1: Create an Azure AD app and configure the PowerBI Admin consle
Please follow the steps mentioned [here](https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal) for setting up the Azure AD application service principle and configure PowerBI admin settings
Login to Power BI as Admin and from `Tenant` settings allow below permissions.
- Allow service principles to use Power BI APIs
- Allow service principals to use read-only Power BI admin APIs
- Enhance admin APIs responses with detailed metadata
### Step 2: Provide necessary API permissions to the app
Go to the `Azure Ad app registrations` page, select your app and add the dashboard permissions to the app for PowerBI service and grant admin consent for the same:
- Dashboard.Read.All
- Dashboard.ReadWrite.All
<Note>
Make sure that in the API permissions section **Tenant** related permissions are not being given to the app
Please refer [here](https://stackoverflow.com/questions/71001110/power-bi-rest-api-requests-not-authorizing-as-expected) for detailed explanation
</Note>
### Step 3: Create New PowerBI workspace
The service principal only works with [new workspaces](https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-create-the-new-workspaces).
[For reference](https://community.powerbi.com/t5/Service/Error-while-executing-Get-dataset-call-quot-API-is-not/m-p/912360#M85711)