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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
minaxi
Frequent Visitor

Couldnt authenticate web content(REST API)


   Hi,

 

We have created salesforce REST API that is querying the objects using SOQL and then passes it in JSON format.

 

I am now trying to use the URL in power bi desktop and its giving me an error : "we couldnt authenticate with the credential provided".

 

I have already tried Basic login. 

How we can create the authentication to use this REST API in power bi?

 

Error.png
  
    
      
    
    
      
        
  
  
 


     
   
 
 
   
     
   
   
     
   
 


 

3 REPLIES 3
ReportGuru
Post Patron
Post Patron

Hi @minaxi were you able to find a solution? As a workaround, maybe you can try to test your connection with a 3rd party connector, which connects directly to SF objects and does not require you to use REST API. I've tried windsor.ai, supermetrics and funnel.io. I stayed with Windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Salesforce connector in the data sources list:

 

SALESFORCE-1.png

 

After that, just grant access to your Salesforce account using your credentials, then on preview and destination page you will see a preview of your Salesforce fields:

 

SALESFORCE-2.png

 

There just select the fields you need. It is also compatible with custom fields and custom objects, so you'll be able to export them through windsor.  Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url. 

 

SELECT_DESTINATION_NEW.png

v-chuncz-msft
Community Support
Community Support

@minaxi,

 

You may research Web.Contents in The Advanced Editor.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
minaxi
Frequent Visitor

Hi,

 

We have created salesforce REST API that is querying the objects using SOQL and then passes it in JSON format.

 

I am now trying to use the URL in power bi desktop and its giving me an error : "we couldnt authenticate with the credential provided".

 

I have already tried Basic login. 

How we can create the authentication to use this REST API in power bi?

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.