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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
anshum
New Member

Connecting PowerBI to SQL server

I am on Server A and i have installed powerBI desktop for fetching data from SQL server and prepare visualizations. I am trying to connect to Server B from PowerBI which is on Server A. I am getting this error -
we are unable to connect to the data source using an encrypted connection. To access this data source using an unencrypted connection, click ok.
When trying from unencrypted connection it didn't worked and gave error we couldn't authenticate with the credentials provided. Please try again. 
I am using the credentials which are used to connect to SQL server from SSMS, I checked the port which is set 1433. Other things, i have tried to remove the encrypt connection from powerBI settings. If i use the windows credentials too, it gives the same error. 

1 REPLY 1
Anonymous
Not applicable

Hi @anshum ,

 

Please make sure Server A have access to the SQL Server on Server B.

For reference:

Configure SQL Server Database Engine for encryption - SQL Server | Microsoft Learn

Power Query SQL Server connector - Power Query | Microsoft Learn

 

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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