This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |