Forum Discussion

AnthonyEdmed's avatar
AnthonyEdmed
Frequent Visitor
9 years ago

Power Query Salesforce Refresh

Hi

 

I have a query that readily pulls data from Salesforce Task object directly into Excel 2010 via Power Query.

 

I need to schedule this to run after midnight and retrieve a previous day's data, which I have attempted in Excel, Data,  Connections, Properties, Refresh every x minutes.

This runs perfectly if I refresh every 10 minutes (overkill for a file that only needs to refresh daily!), but anything over 15 minute interval fails, returning a 'User not authorised' error, which I presume is a result of Saleforce disconnecting me due to inactivity. I have selected 'Remember me'  in my PQ login.

 

Any suggestions?

 

5 Replies