Forum Discussion

Wendeley-North's avatar
Wendeley-North
Resolver I
5 years ago

PowerBI Scheduled Refresh Error - Failed to Update Data Source Credentials (Python)

Hi, trying to set up a scheduled refresh for my dataset, and running into the following issue when I try to update my credentials for the Python script that my report is using as a datasource:

I've attempted solutions that involved adding Path environment variables, but to no avail. I'm faily certain it has nothing to do with packages since the data refresh process works on PowerBI Desktop. Would appreciate any help. 

For what it's worth:

  1. The python script runs fine in the IDE.
  2. The PowerBI file runs fine on PowerBI desktop.
  3. Using an Acaconda installation.

5 Replies