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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now

Reply
MOVC
Helper II
Helper II

On Prem SQL Server to Fabric Warehouse via Copy Data

I've been testing the Copy Data activity from On Prem SQL server via a Data Gateway which was recently made available. I have successfully managed to load into a Lakehouse, but when trying to get Data into a Warehouse it requires that staging is enabled but does not support Workspace Staging and needs a connection to an Azure Environment. I'm assuming this is intentional, but are there any plans to allow this to use the StagingWarehouse objects in the future? It would be nice to keep everything in OneLake which would seem to fit with it's described purpose.

 

copydata.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @MOVC , @Joshrodgers123 , @ShaunBrewer 

Internal Team confimed that, it is on the roadmap. At present we don't have any ETA. But we can expect this feature in future.

View solution in original post

9 REPLIES 9
jagdishwagh0909
Frequent Visitor

Currently, it is not possible to directly copy data from an on-premises SQL Server (via the gateway) to a Fabric Warehouse. The recommended workaround is to first copy data from SQL Server to a Lakehouse (copy actiovity 1)and then move it from the Lakehouse to the Warehouse (Copy Activity 2). However, this is not an optimal solution, especially for small datasets, as it introduces unnecessary complexity and inefficiency.

We request the Fabric team to address this issue as soon as possible. Delaying this feature may lead to significant rework in the future if direct data transfer from SQL Server to the Warehouse is eventually enabled.

Hello and so many thanks.   There are links that indicates it is posssible   This link actually explains how to do it.  Microsoft Fabric: Import On Premise SQL Server 2022 Data into Microsoft Fabric with Data Pipelines!! Can you kindly take a look?  Sincerely appreciate your help

smeetsh
Resolver I
Resolver I

One work around may be to use the gateway to get the information, but in stead of writing it to a table, you write it to a scv file, in the next activity you read that csv file and ingest into the warehouse. We ingest several csv files that way.

This way the lakehouse is only used to store a file, and nothing else.

Anonymous
Not applicable

Hi @MOVC ,

Thanks for using Fabric Community.

A simple workaround is by loading this to a cloud Lakehouse first, and then another copy activity to write that to WH.

In between we are also reaching out to the internal team to get some help on this .
We will update you once we hear back from them.

Anonymous
Not applicable

Hi @MOVC , @Joshrodgers123 , @ShaunBrewer 

Internal Team confimed that, it is on the roadmap. At present we don't have any ETA. But we can expect this feature in future.

Hi - is there any update to this?
Copying from on-prem -> Lakehouse -> Warehouse isn't a practical solution for us.   Is there an alternative?  ( sorry am new to Fabric ).

Anonymous
Not applicable

Hi @MOVC ,

Glad to know that your query was resolved. Please continue using Fabric Community on your further queries.

Joshrodgers123
Advocate V
Advocate V

I posted the same thing yesterday. Seems to go against the "OneLake" concept to have to bring additional Azure resources to copy to a warehouse.

ShaunBrewer
Regular Visitor

Good question - I would like to know the answer too.

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!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.