Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jmandavia
Frequent Visitor

Gateway Refresh Issues with Python

Hello,

 

I'm having issues with Python and refreshing using an on presmise gateway. I am able to successfully connect to the SQL servers where the source data resided. I'm using Python to clean the data and I keep on receiving this message and i don't know how to resolve. Can someone please help?

 

 

Last refresh failed: Thu Sep 20 2018 22:05:22 GMT-0700 (Pacific Daylight Time) 
Invalid connection credentials.
Hide details

Underlying error code:-2147467259 Table: vwPMProjectAcctDetailsJAY.
Underlying error message:Credentials are required to connect to the Python source. (Source at Python.)
DM_ErrorDetailNameCode_UnderlyingHResult:-2147467259
Microsoft.Data.Mashup.CredentialError.DataSourceKind:Python
Microsoft.Data.Mashup.CredentialError.DataSourcePath:Python
Microsoft.Data.Mashup.CredentialError.Reason:CredentialMissing
Microsoft.Data.Mashup.MashupSecurityException.DataSources:[{"kind":"Python","path":"Python"}]
Microsoft.Data.Mashup.MashupSecurityException.Reason:CredentialMissing
Cluster URI:WABI-WEST-US-redirect.analysis.windows.net
Activity ID:2cb5d80f-e9ef-4339-91a5-a73b0d555aa5
Request ID:3e66c64d-1a17-641f-1c4d-c997f8216216
Time:2018-09-21 05:05:22Z

 

3 REPLIES 3
metalbuckeye
New Member

I am having the same issue...would have been nice to be informed that the service wasn't ready for Python integration.  I know it's in preview, but don't release something that isn't fully supported.

 

I am going to try and install Python on the same server as our gateway to see if this resolves the issue.

v-juanli-msft
Community Support
Community Support

Hi @jmandavia

Schedule refresh for Python Script Service is still under testing and not completely supported.

The team is enabling complete support for it in the coming months.

 

Please vote for these ideas.

Python Script in Power BI

Python on Scheduled Refresh

 

Best regards

maggie

 

Hey there,are there any updates on when python will be available on scheduled refresh?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.