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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.