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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
tsunloan
Helper I
Helper I

Copying on-prem data to a warehouse fails because gateway is bypassed for staging storage account

There is a bug in the copy activity when copying data from an on-prem source to a Fabric warehouse.

 

BTW I have a support ticket open for this on which I'm gaining zero traction despite providing intricate detail.

 

My pipeline is set up as follows:

  • Source: Azure Database for Postgres SQL (connecting via on-prem gateway)
  • Destination: Warehouse within same workspace
  • Staging: External Azure data lake gen 2 storage account (connecting via on-prem gateway)

 

Result:

  • Data is successfully retrieved from the Azure postgres DB via the on-prem dateway
  • Data is successfully copied to the staging folder in the Azure data lake gen 2 storage account via the on-prem gateway
  • Data is not copied from the staging folder to the Fabric warehouse as it bypasses the on-prem gateway when connecting to the storage account. This is despite the connection being configured to use an on-prem gateway and succeeding for the step above.

 

tsunloan_1-1713425981004.png

tsunloan_2-1713425985770.png

 

Storage account logs

tsunloan_0-1713425725956.png

 

If there's anything in Fabric that actually works without an elaborate workaround then I'm yet to find it 🙄.

14 REPLIES 14
sunil_sabat
Microsoft Employee
Microsoft Employee

@tsunloan 

 

In may case, it appears that my gateway connection stayed up and I see my data in Fabric DW as below.  Root cause in your scenaro  seems to be connection  switch from gateway. We need to look at it further.  I will update support team on this.

I will update  support team on this. When can we talk? Let us sync up off-line.

 

Thanks,

 

Sunil

sunil_sabat_0-1715007849693.png

 

bin_curato
Frequent Visitor

Hi, did you have any info to solve your problem? I am very curious about the possible solutions proposed.

sunil_sabat
Microsoft Employee
Microsoft Employee

Hi @tsunloan 

 

I am from product group. I was able to copy mysql  on-prem to Fabric DW using gateway. I had to make sure staging also connects through gateway. If needed, we can hop into call and I will go over how my setup works.  I see you  have not been able to get proper help. You rightfully asked for product group help. Here we are. 

 

sunil_sabat_0-1714777418288.png

Source settings:

sunil_sabat_1-1714777931377.png

Staging Settings:

sunil_sabat_2-1714777996042.png

 

HI @sunil_sabat . I would love to have a call to run through it with you. I'll send you a PM with my contact details.

The staging storgage account is configured to use the on-prem data gateway and the storage account logs show that the gateway is used to connect for most of the connections from the pipeline but at the very end of the flow, the data warehouse SQL service attempts to connect directly to the storage account without going via the gateway and fails.

 

Staging account config. Test connection succeeds and I can browse to select the storage path

tsunloan_4-1714955654375.png

 

Storage account logs for pipeline execution. 

It copies the data to the staging account successfully but then the warehouse fails to retrieve it from staging as it's connecting without using the gateway. The connections in red are from the Azure SQL service (warehouse).

tsunloan_3-1714955648364.png

 

Thanks @tsunloan  for the update. Can you quantify AT THE END?  Is it 1hr? We are curious about when it switches to connect without gateway.  

 

Sunil

It's within 8 seconds during the same activity run.

  • 10:30:40 - Data is retrieved from the DB via the gateway and copied to the staging storage account via the gateway (success)
    These are the actions highlighted in green in the storage log screenshot
  • 10:30:48 - Azure SQL Service (destination warehouse) attempts to retrieve data from the staging storage account without using the gateway (fails)
    These are the actions highlighted in red in the storage log screenshot
  • 10:30:54 - Activity flagged as failed. Data is deleted from the staging storage account via the gateway

 

 

 

Abhishek_Narain
Microsoft Employee
Microsoft Employee

@tsunloan While the team investiagtes and fixes the issue, can you use two copy activities instead? 
Copy 1: On-prem source to LH (connections use on-premises data gateway)
Copy 2: LH to DW (connections do not use on-premises data gateway)

This doesn't work either as it compains about the data type... The source table I'm testing is as simple as it gets having nothing but two varchar columns.

 

tsunloan_0-1714954410565.png

tsunloan_2-1714954466126.png

 

tsunloan_1-1714954421923.png

 

I did have some luck going from Azure Postgres -> Lakehouse filesystem -> Data warehouse with staging disabled.

It works for a single test table but I'm yet to try and pump hundreds of tables through it (our target end state).
It's rather silly going from Structured -> Unstructured -> Structured.

It's also silly introducing yet another workaround to cater for another fundamental product design flaw in Fabric.

Our goal here is simplify our data arcthitecture by replacing Azure Synapse with Fabric... It's no simpler with all of these workarounds.

tsunloan
Helper I
Helper I

An update on this

 

By design, Fabric data warehouse does not support the on-prem data gateway 😡.

 

This is the advice I have received from the data warehouse product team via the support engineer and an SME assigned to MS support ticket 2404030030000776.

 

Despite the product clearly advertising that the use of the on-prem gateway is supported, and the support engineer confirming that data warehouse is listed as supporting the on-prem gateway, it does NOT support it BY DESIGN. 🤦‍🤦‍🤦‍

 

No commitment has been made to fix this issue, and instead the SME assigned to my latest ticket is requesting that they change the advertising and is also putting in a design change request rather than a critical bug report.

 

I have requested to speak to a product manager for Fabric data warehouse on several occations through multiple channels but the request has been either ignored or denied at every step.

 

@v-nikhilan-msft , perhaps you could request that a Fabric product manager contact me.

 

At this stage, I have no option but to remove Fabric from consideration as a data analytics and warehousing platform.

v-nikhilan-msft
Community Support
Community Support

Hi @tsunloan 
Thanks for using Fabric Community.
Can you please provide the support ticket details here? We will track it internally.

At this time, we are reaching out to the internal team to get some help on this.We will update you once we hear  from them.
Thanks 

Ticket 2404030030000776

Thanks for the details @tsunloan 
I have reached out to you in private messages. Can you please check and respond back?
Thanks

Hi @tsunloan 
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution, please do share that same with the community as it can be helpful to others. Otherwise, will respond back with the more details and we will try to help.
Thanks

No, there's no resolution.

I wasn't contacted again by MS support until after hours Friday night and I responded immediately with the same level of intricate detail that I supplied to the previous support engineer. I'm yet to hear back from them.

Support has been terrible from Microsoft's end. I don't hear anything for 48 hours then I get an after hours email requesting the same thing that I'd already supplied then nothing again for another full business day. Still waiting.

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!

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.