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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
roysampad91
Frequent Visitor

How do i connect Salesforce ApexAPI to Power BI using get data.

Postman Screenshot

roysampad91_0-1715066282772.png

What should be the URL and header params to be used on PBI

 

roysampad91_1-1715066342759.png

 

2 REPLIES 2
roysampad91
Frequent Visitor

The issue hasn't been resolved any other ideas please?

Anonymous
Not applicable

Hi @roysampad91 ,

You can refer the following links to get it:

Create a custom connector:

Solved: How to specify HTTP request header parameter in Po... - Microsoft Fabric Community

I see you're trying to get data from the Power BI API by writing your own M code in the Power Query Editor - this is not going to work unfortunately, because it is not possible to work with APIs that use OAuth2 authentication in this way. The only way to get data from an API that uses OAuth2 authentication is by creating a custom connector; there is a reasonably easy way to do this that I describe here https://blog.crossjoin.co.uk/2018/11/13/openapi-power-bi-rest-api-m/ and I think other people have blogged about this too.


Connect to Salesforce Objects connector:

Power Query Salesforce Objects connector - Power Query | Microsoft Learn

vyiruanmsft_0-1715133986954.png

Best Regards

Helpful resources

Announcements
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.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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