Excel Power Query integration with Salesforce: The Service Returned an invalid token

Solution 1:

The troubleshooting section in this document might be relevant:

https://docs.microsoft.com/en-us/power-query/connectors/salesforceobjects#troubleshooting

In summary:

  • install Edge Chromium
  • in System Environment Variables set PQ_ExtendEdgeChromiumOAuthAllowList to Salesforce