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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
SangeethaMenonk
Regular Visitor

Authentication to load data from on prem sql server to Lakehouse using copy activity

Is windows authentication supported for copying data using fabric copy activity from an on prem sql server via on prem data gateway? The Microsoft document mentions basic authentication as the supported type for data pipelines to connect to sql server, although it's not clear whether basic authentication would work with an on-prem gateway.

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

Thanks for the reply from @NandanHegde , please allow me to provide another insight:

 

Hi @NandanHegde ,

 

First confirm the connection method supported by the currently connected sql server instance and make sure that the local data gateway is on.

vkongfanfmsft_0-1721972539767.pngvkongfanfmsft_1-1721972589665.png

Then switch the connection information in the configuration copy activity to the windows authentication method, once the credential information provided is correct, then you can successfully connect to the local sql server data source.

vkongfanfmsft_2-1721972663701.png

vkongfanfmsft_3-1721972884736.png

 

Best Regards,
Adamk Kong

 

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

 

View solution in original post

2 REPLIES 2
v-kongfanf-msft
Community Support
Community Support

Thanks for the reply from @NandanHegde , please allow me to provide another insight:

 

Hi @NandanHegde ,

 

First confirm the connection method supported by the currently connected sql server instance and make sure that the local data gateway is on.

vkongfanfmsft_0-1721972539767.pngvkongfanfmsft_1-1721972589665.png

Then switch the connection information in the configuration copy activity to the windows authentication method, once the credential information provided is correct, then you can successfully connect to the local sql server data source.

vkongfanfmsft_2-1721972663701.png

vkongfanfmsft_3-1721972884736.png

 

Best Regards,
Adamk Kong

 

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

 

NandanHegde
Super User
Super User

You can use windows auth to access On Prem SQL servers :

NandanHegde_0-1721898883374.png

basic auth is SQL auth




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.