Forum Discussion

AceNgage's avatar
AceNgage
New Member
2 years ago

Error 'API is not accessible for application' when I run API v1.0/myorg/dashboards on Postman

After getting the access token from auth api (login.microsoftonline.com/tenant_id/oauth2/token) i tried to get dashboard list API With this access token . I am getting an error "API is not accessible for application".

1 Reply

  • Martin_D's avatar
    Martin_D
    Solution Sage

    Hi AceNgage ,

     

    Do you use service principal authentication? If so, pls. make sure API access is enabled for service principals in the Power BI tenant admin settings and the specific service principal is in one of the assigned user groups that are allowed to use the API and that the service principal has the necessary Power BI permissions set in Azure. If the specific API method that you are using does rely on the XMLA API of the Power BI Service then this must also be enabled in the Power BI tenant settings.

     

    BR

    Martin