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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

PostgreSQL Connection using NPGSQL gets "Scheduled Refresh has been disabled..." error

We are using the NPGSQL 3.2.7 drivers from Github to connect to PostgreSQL from Desktop and through the data gateway. The desktop version works fine, and we have worked through several gateway issues including having old Datasets in our report. Now we are getting the error "Scheduled refresh has been disabled due to at least one data source not having credentials." The one data source that is listed under the data gateway, however, tests fine. It does not show an error.

 

I am more experienced with SQL Server than with PostgreSQL, so any suggestions for debugging this would be appreciated.

 

 

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

Look at the scheduled refresh setting page, confirm an enterprise gateway is selected and the data source credential is correct.

If no abnormal is found, please delete the data source under gateway and re-connect the data source, make sure connection strings of the data source under gateway are same as that in Power BI Desktop

 

Best Regards

Maggie

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

Look at the scheduled refresh setting page, confirm an enterprise gateway is selected and the data source credential is correct.

If no abnormal is found, please delete the data source under gateway and re-connect the data source, make sure connection strings of the data source under gateway are same as that in Power BI Desktop

 

Best Regards

Maggie

Anonymous
Not applicable

Thanks, maggie. There were no connection strings, but somehow dropping and recreating the data source within the gateway fixed the issue.

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.