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
kustobiguy
Frequent Visitor

Write to destination error On Dataflow Gen2 with On-premise Data gateway(OPDG)

A scenerio i encountered at work and a solution.

 

When you read data from on premise data sources into Fabric, most likely it may succeed. However, you could encounter error when writing the data to a fabric destination (Lakehouse, Warehouse etc.) as shown below:

kustobiguy_0-1722955855277.png

 

When a dataflow Gen 2 fails, check the errors to identify the root cause. Most cases, it is because port 1433 has been blocked on your internal network firewall setting.

To resolve the issue, simply set the rule to allow port 1433 on the OPDG machine in your network.

In Fabric the following are important OPDG network firewall settings:

  • Protocol: TCP
  • Endpoints: *.datawarehouse.pbidedicated.windows.net, *.datawarehouse.fabric.microsoft.com, *.dfs.fabric.microsoft.com
  • Port: 1433

Check to be sure your firewall rules are configured properly to allow fabric write to destination.

What if you can’t change the firewall rules for any reason, what can you do?

 

Here is a work around:

  • Split the dataflow into two.
  • First dataflow read data from your on-premises data source and store into a staging area in Fabric. Ensure you delete the destination option on this dataflow.
  • The second dataflow reads data from your Fabric staging and write to your desired destination in Fabric i.e. Lakehouse, Warehouse or others.

kustobiguy_1-1722955904618.png

 

Note: You’ll need to disable Enable staging in the second dataflow to avoid duplicated staging data.

 

Reference : On-premises data gateway considerations for data destinations in Dataflow Gen2 - Microsoft Fabric | ...

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

Hi @kustobiguy ,

Thank you very much for sharing this, I'm sure it will help other users on the forum to get a clear picture of the error.

 

 

Best Regards

Yilong Zhou

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

3 REPLIES 3
v-yilong-msft
Community Support
Community Support

Hi @kustobiguy ,

Thank you very much for sharing this, I'm sure it will help other users on the forum to get a clear picture of the error.

 

 

Best Regards

Yilong Zhou

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

 

lbendlin
Super User
Super User

did you actually get that workaround to work?

Hi Ibendlin,

The work around does work with Lakehouse destination based on my testing and use case. If it doesn't work for you, you may want to investigate the root cause(s) further i think. Hope this helps.

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.

Top Solution Authors