Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
3 | |
1 | |
1 | |
1 |
User | Count |
---|---|
26 | |
3 | |
2 | |
2 | |
2 |