最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

powerbi - Access Denied for Power BI REST API Querying Dataset with Dataflows as Data Source - Stack Overflow

programmeradmin2浏览0评论

I'm trying to query a specific Power BI dataset using the REST API and a Python script with a service account for authentication. However, I'm encountering an "Access Denied" error for this particular dataset.

Dataset details: The dataset uses dataflows as its data sources apart from this, there is nothing special with it. The workspace is a fabric workspace (this one is currently on trial)

Service Account: The service account I'm using has the necessary permissions and works correctly for other datasets within the same tenant and workspaces.

Azure App Permissions: I have already confirmed that the Azure app used by the service account has been granted Dataset.ReadWrite.All access.

Debugging steps so far:

  1. Queried other datasets within the same tenant using the same script and service account. No issues were encountered.
  2. Verified that the service account has access to the dataset and related resources (dataflows).
  3. Given these points, I suspect the issue might be related to how access tokens or permissions are configured for datasets that use dataflows as sources. Oddly when using dax studio or even Microsoft learn api explore with my user i get not issue.

My Questions

  • Are there any special permissions or configurations required for service accounts to access datasets with dataflows as sources?

  • Could this issue be related to the way access tokens are being validated for datasets with dataflows?

  • What steps would you recommend to debug or resolve this access issue?

发布评论

评论列表(0)

  1. 暂无评论