Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Connecting to API

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

lojithlk_0-1645782352159.png

Getting the below error.

 

lojithlk_1-1645782428242.png

 

 

Getting the response from Postman.

Please advise.

 

Thanks.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous Great, the idea was only to pass the credential in the body and not in header as you were doing earlier. 

View solution in original post

13 REPLIES 13

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.