Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi experts,
I am trying to connect PowerBI to API. I a doing this for the first time, so not sure how to proceed. Looking for your guidance.
This is the URL I am trying to connect.
https://login.microsoftonline.com/ea80952e-a476-42d4-aaf4-5457852b0f7e/oauth2/token
I have the following details:
1. client_id = 'c*****a'
2. client_secret = 'r********e'
3. resource= 'f********9'
4. grant_type=client_credentials
I am trying to provide the details as
Getting the below error.
Getting the response from Postman.
Please advise.
Thanks.
Solved! Go to Solution.
@Anonymous Great, the idea was only to pass the credential in the body and not in header as you were doing earlier.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |