Forum Discussion

vitaliymaz's avatar
vitaliymaz
New Member
2 years ago
Solved

How to programmatically assign permissions to a Power BI dataset model for accessing an ADX cluster?

Given:

  1. I have a Power BI report using Azure Data Explorer (ADX) as a data source.
  2. I'm implementing "multitenancy apps in Power BI Embedded" as described here: https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-multi-tenancy#prerequisites
  3. I use Power BI REST APIs.

I successfully followed the steps to create profiles, workspaces, and import reports programmatically. However, my report cannot access the ADX cluster. I can enable access manually through the Power BI web app UI using my account's OAuth2 permissions, but I need to do the same programmatically via REST.

I cannot find any documentation or Power BI REST APIs to achieve this.

3 Replies