Forum Discussion

Amar-Agnihotri's avatar
Amar-Agnihotri
Resolver I
4 years ago
Solved

Access to the resource is forbidden error while accessing Power Bi Datasets using API

Hi,

I am creating user Activity  panel and want to use following API to get worklspaces, datasets, dataflows etc --

 


https://api.powerbi.com/v1.0/myorg/admin/groups?$top=20

https://api.powerbi.com/v1.0/myorg/admin/datasets

 

I am getting below error-

 

When i try to edit the data source setting and want to try login using organizational account it shows  -

 

I am having Power BI admin controls but not able to understand why it is happening. Please help me. 

 

Source for the API is microsoft

 

 

 

 

 

 

13 Replies