Forum Discussion
Power BI Admin API issue
- Anonymous4 years ago
Hello Ibarrau ,
i found the issue to my problem :
Actually thanks to your Link , i notice that when you create an application you need to make sure the app you use doesn't have any Power BI admin roles set on it in Azure portal. (Such as Tenant.Read.All)
Best regards
Rami Frikha
Hi there. Let me ask you something. After setting the application permission for All Tenant, has the Global Admin granted those permissions for the app? Once that's done a Power Bi Admin can use the API.
On the other hand if you wnat to use the app with Service Principal, you need to configure additional things on the Power Bi Admin Portal like this: https://docs.microsoft.com/en-us/power-bi/admin/read-only-apis-service-principal-authentication
After the configuration wait for a few minutes while microsoft apply the change.
Just for the heads up there is a python library in development that has the admin requests. Check it out if you are able to login https://blog.ladataweb.com.ar/post/669293533988012032/librería-de-python-para-power-bi-rest-api
I hope that helps,
Hello Ibarrau ,
i found the issue to my problem :
Actually thanks to your Link , i notice that when you create an application you need to make sure the app you use doesn't have any Power BI admin roles set on it in Azure portal. (Such as Tenant.Read.All)
Best regards
Rami Frikha