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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 6 | |
| 4 | |
| 4 | |
| 3 |