Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello Power BI Community,
I am experiencing difficulty with authenticating API requests using the OAuth 2.0 client credentials grant type for the Power BI REST API, although the password grant type works without issue. I am trying to access https://api.powerbi.com/v1.0/myorg/datasets which requires authentication tokens that I am attempting to retrieve via Azure Active Directory (Azure AD).
Here is a breakdown of the steps I've followed:
Application Registration: I registered my application in Azure AD, ensuring it has the necessary API permissions for Power BI
Token Request with Client Credentials:
Here are some additional details:
Questions:
I appreciate any insights or suggestions you might have. Thank you for your help!
Solved! Go to Solution.
1. yes
2. yes
3. no
4. Use a custom connector with AAD, for example GitHub - migueesc123/PowerBIRESTAPI: A Microsoft Power BI Data Connector or Power Query Connector fo...
1. yes
2. yes
3. no
4. Use a custom connector with AAD, for example GitHub - migueesc123/PowerBIRESTAPI: A Microsoft Power BI Data Connector or Power Query Connector fo...
@lbendlin Thanks for your quick response. Do you have any documented evidance on Q1 that is on known issue in authentication mechanisms.
For Q1 read through Chris Webb's blog.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.