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

Special holiday offer! You and a friend can attend FabCon with a BOGO code. Supplies are limited. Register now.

Reply
schneiw
Advocate II
Advocate II

Copy activity error when Destination is on prem SQL Server

Hi 

 

I am trying to copy data from a lakehouse table to an on prem SQL Server table (using insert). I thought I had tested it successfully a month or so ago, but I cannot get it to work now. The message mentions "Invalid type 'LakehouseSql" and "linkedServices" but in my FABRIC interface there is no such mention of anything like that.... 

 

ErrorCode=UserErrorInvalidPluginType,'Type=Microsoft.DataTransfer.Common.Shared.PluginNotRegisteredException,Message=Invalid type 'LakehouseSql' is provided in 'linkedServices'. Please correct the type in payload and retry.,Source=Microsoft.DataTransfer.ClientLibrary,'

1 ACCEPTED SOLUTION
apturlov
Resolver II
Resolver II

Hi @schneiw, as @mabdollahi mentioned, the connection for Lakehouse in Fabric had multiple changes over the last few months. If your implementation was working a few months ago it could be outdated now. Rather then use a previously created connection, you need to reconfigure your Source in the Copy activity. In the new style you actually don't need to create a connection to the Lakehouse for the copy activity data source if you have access to the Lakehouse. You can just select a Lakehouse directly from the list of data sources in Fabric without having an connection object. First click Browse All

apturlov_0-1766096729884.png

and then View More

apturlov_1-1766096804159.png

On the next screen you'll the list of all your available data sources that you can just select as a data source in the Copy activity.
Keep in mind, with this configuration the data pipeline will try to use your connection to the Lakehouse when executing. It amy not work in all scenarios. If you are building an automated pipeline then you do need to create a Lakehouse connection and use that instead preferrably using a different organizational account.

 

If you find this answer useful or solving your problem please consider giving kudos and/or marking as a solution.

 

View solution in original post

4 REPLIES 4
apturlov
Resolver II
Resolver II

Hi @schneiw, as @mabdollahi mentioned, the connection for Lakehouse in Fabric had multiple changes over the last few months. If your implementation was working a few months ago it could be outdated now. Rather then use a previously created connection, you need to reconfigure your Source in the Copy activity. In the new style you actually don't need to create a connection to the Lakehouse for the copy activity data source if you have access to the Lakehouse. You can just select a Lakehouse directly from the list of data sources in Fabric without having an connection object. First click Browse All

apturlov_0-1766096729884.png

and then View More

apturlov_1-1766096804159.png

On the next screen you'll the list of all your available data sources that you can just select as a data source in the Copy activity.
Keep in mind, with this configuration the data pipeline will try to use your connection to the Lakehouse when executing. It amy not work in all scenarios. If you are building an automated pipeline then you do need to create a Lakehouse connection and use that instead preferrably using a different organizational account.

 

If you find this answer useful or solving your problem please consider giving kudos and/or marking as a solution.

 

mabdollahi
Advocate IV
Advocate IV

Hi @schneiw 

This usually happens when the pipeline is still using an old connection type.

LakehouseSql was used earlier for the Lakehouse SQL endpoint, but Fabric doesn’t support that linked service type anymore. So when the pipeline runs, Fabric can’t recognize it and throws that error.

What to do:

  • Remove the existing Lakehouse connection in your Copy activity

  • Create a new source connection and choose Lakehouse (not LakehouseSql)

  • Leave SQL Server as the destination (using the gateway if it’s on-prem)

Your data and SQL are fine — it’s just an outdated connection definition.

Regards,
Mehrdad Abdollahi

Thaks for that. However, the Connection is already a "Lakehouse":

schneiw_0-1766060468622.png

 

I see. and I do have the same connection that works for me as I created it few min ago.
Have you tried creating a new connection? Sometimes, the recreation works due to some unseen issues behind the scene.

 

Helpful resources

Announcements
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric 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.