Forum Discussion

Mp1977's avatar
Mp1977
Helper II
7 years ago

Power Bi Service Error - Failed to update data source credentials: ADO.NET: python.exe not found.

Hi!

I have been trying to schedule a refresh using Power BI Service for my Dataset that contains Python scripts. Scripts to get data from a Soap Web Service. I have set a personal gateway with my machine.

When I try to schedule the refresh, I first receive this message error: Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.

 

When I go to edit credentials and set my privacy to none or public, I got the following error:

Failed to update data source credentials: ADO.NET: python.exe not found. python.exe was not found in the specified directory. Please make sure you have a complete Python installation.

Activity ID:626c8c0f-80d8-48ef-b109-efd1d9ac5218
Request ID:ec6c6677-073f-3537-d466-0ba573984cbb
Status code:400


I have Python installed in my machine and the refresh works fine in my PBI Desktop. My PBI Desktop has the correct python home directory. The same I use in my visual code studio. It is AppData\Local\Microsoft\WindowsApps

I appreciate any help.

M.