cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shanerolle
Frequent Visitor

Salesforce Auto-Refresh Issues

Good morning everyone,

 

I have recently set up a report using Power BI Desktop that pulls information from Salesforce into Power BI. I would like to set the report to auto refresh in the Power BI Service, but when I try to set the credentials to connect to Salesforce, I get the following messages in return. 

 

Salesforce Issue 1.PNG

Salesforce Issue 2.PNG

 

The top image is the error I get after entering the credentials the first time. The issue with this is I know the credentials are correct because when I enter them on the Salesforce pop-up (when I click Data Source Credentials, and then Edit Credentials, it gives me a pop-up from Salesforce), the Salesforce website accepts them, goes through, and closes the pop-up, then Power BI gives me the error. I proceed to then try again (just incase it somehow accepted the wrong credentials) and then every time, the 2nd image is what I get back in return. It always mentions an invalid token, but I have no idea what it is referring to or how to fix it.

 

The frustrating part is that I can get it to refresh without failure with the same account/credentials on Power BI Desktop manually, however Power BI Refresh returns an error each time I try to set it up to automatically refresh. I do not want to have to manually refresh this report each and every time someone needs to access it, but I have tried a dozen different options and have no idea how to fix it.

 

Is there something I am doing wrong? Am I missing something? How can I fix this?

 

Any advice is appreciated.

 

Thank you,

Shane Rolle

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @shanerolle 

 

I'd like  to suggest you refer the following requirements and considerarions about Salesforce connector.

  • Connected with a production Salesforce account that has API access enabled

  • Permission granted to the Power BI app during sign in

  • The account has sufficient API calls available to pull and refresh the data

  • A valid authentication token is required for refresh. Salesforce has a limit of five authentication tokens per application so make sure you've five or less Salesforce data sets imported.

  • The Salesforce Reports API has a restriction that supports up to 2,000 rows of data.

 

For further information, please refer the document .

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
ninalee
Helper I
Helper I

I had just the same issue, Salesforce seems to be not bad auto parts company, right? What about cj pony parts? Everything I found in the web are these cj pony parts reviews , all of them look rather objective and written by real customers. 

v-alq-msft
Community Support
Community Support

Hi, @shanerolle 

 

I'd like  to suggest you refer the following requirements and considerarions about Salesforce connector.

  • Connected with a production Salesforce account that has API access enabled

  • Permission granted to the Power BI app during sign in

  • The account has sufficient API calls available to pull and refresh the data

  • A valid authentication token is required for refresh. Salesforce has a limit of five authentication tokens per application so make sure you've five or less Salesforce data sets imported.

  • The Salesforce Reports API has a restriction that supports up to 2,000 rows of data.

 

For further information, please refer the document .

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I have the exact same issue. Just to clarify. I have

-PowerBI desktop refresh SF OK. Does PB desktop not require SF API to connect?

-SF is professional version, which has no API according to my IT guy. 

 

Can you confirm if it is because PB gateway Service requires API and my SF has no API that is the reason?

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors