Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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".
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
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.