Forum Discussion
Amar-Agnihotri
Resolver I
4 years agoAccess 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...
- 4 years ago
Hi,
Please follow this link for step by step process of Application Registration in Azure and for all the required admin permissions -
https://www.sqlshack.com/how-to-access-power-bi-rest-apis-programmatically/
AnkitKukreja
Super User
4 years agoPlease remove the word bearer from the Authorization and it should work.
- Amar-Agnihotri4 years ago
Resolver I
Tried this also
Getting the same error
- AnkitKukreja4 years ago
Super User
Hi!
Then I think you should raise a ticket to MS support.- Amar-Agnihotri4 years ago
Resolver I
Can you please tell where can i log this ticket. Also please tell me the various permissions in O365 tenant which i need to access this . I have already POwer BI admin access but not sure about my permisiions in O365