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
WMead
New Member

Salesforce credentials invalid for cloud refresh, but work in desktop

Hello,

 

We have a large data set that uses the salesforce object online service to get data from salesforce. It's been refreshing 8 times a day for about 2 years. Recently we started having the odd refresh fail with the message "The credentials provided for the Salesforce source are invalid. (Source at https://login.salesforce.com/.)" , which wasn't a major issue as it was refreshing the other 7 times. Now the data set is getting this error every time it tries to refresh, scheduled or on demand.

 

The desktop version of the data set refreshes fine with the credentials. And when either the cloud or desktop version refreshes salesforce logs a succesful authentication via the PowerBI oauth app. 

 

Our salesforce settup is a live enterprise instance with a non SSO service account. We haven't changed the service account permissions recently and it's credentials aren't due a change. We are also nowhere near our API call limit, even with other integrations running with Salesforce.

 

Obviously i'm keen to get the data set refreshing again, as the alternatives look manual or involve a lot of rework. Anyone got any ideas?

 

Thanks for your time.

 

Will

 

 

 

4 REPLIES 4
ReportGuru
Post Patron
Post Patron

Hi @WMead I know this reply is very late. As a workaround, maybe you can try to test your connection with a 3rd party connector. I've tried windsor.ai, supermetrics (which doesn't have PBI as a destination, so you first have to export to Google Sheets and then export to PBI) 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

nickyvv
Most Valuable Professional
Most Valuable Professional

Hi @WMead,

I don't have any experience with SalesForce, but are you using a Data Gateway? If yes, then:
- Is that up to date with the June version? Just to rule out some things.
- Are you sure no one changed the gateway entry?


Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


Hi @nickyvv ,

 

I think i'm not using a datagateway, as i'm currently just using the out of the box salesforce object integration. To replicate my settup you would:

    Create a new report

    Get data

    More

    Online services

    Salesforce objects

 

Either way I'm on version 2.82.5858.641 64-bit (June 2020) and am currently a team of one, so am reasonably confident there were no manual changes to the dataset. 

 

Thanks for asking those questions, definetly should have included that info in my original post.

 

nickyvv
Most Valuable Professional
Most Valuable Professional

@WMead,

 

Hmm, than I think I'm out of options.

If you have a Pro account you could open a (free) support ticket. Go to the support page to file a support ticket.



Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


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.