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
nirman
Advocate IV
Advocate IV

Schedule data refresh for an on-premise SQL server database configured with ODBC

Hi,

 

I have an on-premise SQL server database, and I have designed a few reports targetting the database with SQL authentication.

 

I have designed the report using "PowerBI Desktop", and used ODBC to connect and query the on-premise database. I didn't use "SQL Server" as the data provider because when I try to do that it gives a message saying "The datasource you are trying is access doesn't support encryption" that means, the connection is not encrypted, and so not secured. Correct me if I am wrong.

 

This is why I have chosen ODBC, and supplied SQL authentication and credentials. I could successfully able to design and the it is working well.. However, when I try to schedule the refresh, I get a message saying - "Your data source can't be refreshed because the credentials are invalid", and now when I try to edit the credentials, it gives only three options - Basic, Windows and Anonymous, and none of them fits in my scenario because I am having SQL authentication.

 

Could anyone please suggest on this?

3 REPLIES 3
Bjoern
Continued Contributor
Continued Contributor

@nirman I always assumed that the basic authentication IS the SQL authentication. Is this not the case? 

@Bjoern When I try to apply Basic authentication, it says -

 

Failed to update data source credentials: The correct data provider must be installed on the Gateway computer.

 

The 'Driver' property with value '{SQL Server Native Client 11.0}' doesn't correspond to an installed ODBC driver.

 

The server where PowerBI Gateway is installed is having "SQL Server Native Client 10.0". Do you think that could be the reason? Also, the basic authentication is less secure as far as I understand, as it just sends Base-64 encoded data which are easy to hack.

@nirman, Did you find a solution to this?

 

Thanks

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.

Top Solution Authors