<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OnPremise Gateway, cannot write to lakehouse in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3438340#M856</link>
    <description>&lt;P&gt;Hi, did you ever get to the bottom of this. I've checked all the things that you mentioned you'd already done and I'm out of ideas! Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 13:47:23 GMT</pubDate>
    <dc:creator>MarkBurgess</dc:creator>
    <dc:date>2023-09-19T13:47:23Z</dc:date>
    <item>
      <title>OnPremise Gateway, cannot write to lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3417668#M797</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am setting up an extraction step in my medallion-arcitechure in Fabric where I want to get data from an on-premise SQL Server. I have installed the on premise datagateway (latest release) and I can find the table I want to extract when I set up a new Data flow Gen 2 artifact. I choose my lakehouse (both de destination and data flow gen 2 artifact exsist in the same workspace) and publish the Dataflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the staging artifacts are created (DataflowStagingLakehouse, SQL-endpoint etc.) and the dataflow is published corectly. However, when running the dataflow I get an error saying that the activity &lt;EM&gt;"&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;WriteToDatabaseTableFrom_TransformForOutputToDatabaseTableFrom_****_*******"&lt;/EM&gt; fails (** is for my table name). The only error message I get is this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;"GatewayCannotAccessSqlError Couldn't refresh the entity because of an internal error"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;*text in swedish&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data is stored in the DataFlowStagingLakehouse but is never able to arrive in the designated lakehouse. If i remove the destination from the dataflow, the job works fine without the errors.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I have done so far:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Opened port 1433&amp;nbsp; for tcp with endpoint *.datawarehouse.pbidedicated.windows.net according to this faq:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/gateway-considerations-output-destinations" target="_blank"&gt;On-premises data gateway considerations for data destinations in Dataflow Gen2 - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Recreated the workspace and all the artifacts (several times with different names) as this post suggested:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Dataflows/Dataflow-Gen-2-fail-error-message-WriteToDatabaseTableFrom/m-p/3263755" target="_blank"&gt;Solved: Dataflow Gen 2 fail error message: WriteToDatabase... - Microsoft Fabric Community&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is thera anyone who has any idea what might be the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 12:21:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3417668#M797</guid>
      <dc:creator>MikaelDavidsson</dc:creator>
      <dc:date>2023-09-06T12:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: OnPremise Gateway, cannot write to lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3418331#M807</link>
      <description>&lt;P&gt;I'm not entirely sure we can reach a conclusion with the information provided, but definitely using the latest gateway and making sure that its not a network firewall issue are on top of my mind for things to consider given the information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd highly recommend reaching out to our support team so they can take a closer look at your scenario and try to troubleshoot.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.fabric.microsoft.com/support" target="_blank"&gt;https://support.fabric.microsoft.com/support&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 18:45:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3418331#M807</guid>
      <dc:creator>miguel</dc:creator>
      <dc:date>2023-09-06T18:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: OnPremise Gateway, cannot write to lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3426451#M827</link>
      <description>&lt;P&gt;I get the same message, although I want to write to a WH.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The GW connection is working for Power BI&lt;/P&gt;&lt;P&gt;Data is present in the staging lakehouse&lt;/P&gt;&lt;P&gt;I've tried to wrtite data both with and without staging.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use&amp;nbsp;Finnish_Swedish_CI_AS as collation and I've tried using both English locale and Swedish locale for the DF.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 13:25:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3426451#M827</guid>
      <dc:creator>henrikj</dc:creator>
      <dc:date>2023-09-12T13:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: OnPremise Gateway, cannot write to lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3438340#M856</link>
      <description>&lt;P&gt;Hi, did you ever get to the bottom of this. I've checked all the things that you mentioned you'd already done and I'm out of ideas! Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 13:47:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3438340#M856</guid>
      <dc:creator>MarkBurgess</dc:creator>
      <dc:date>2023-09-19T13:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: OnPremise Gateway, cannot write to lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3438406#M857</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="613209" data-lia-user-login="MikaelDavidsson" class="lia-mention lia-mention-user"&gt;MikaelDavidsson&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did exactly same thing few weeks back and I can confirm that the approach I followed on getting on-premises SQL Server data to Lakehouse using Dataflow Gen 2 works. I tried it again few minutes back by bringing and writing a new table to Lakehouse.&lt;/P&gt;
&lt;P&gt;I am not sure where things are gone wrong for you.&lt;/P&gt;
&lt;P&gt;I wrote a blog about the whole process and configurations I followed to set this process up at my end.&lt;/P&gt;
&lt;P&gt;Worth checking this one once. May be you can identify some difference:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://datavibe.co.uk/getting-on-premises-sql-server-data-to-fabric-lakehouse/" target="_blank" rel="noopener"&gt;https://datavibe.co.uk/getting-on-premises-sql-server-data-to-fabric-lakehouse/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 14:18:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3438406#M857</guid>
      <dc:creator>Pragati11</dc:creator>
      <dc:date>2023-09-19T14:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: OnPremise Gateway, cannot write to lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3439305#M860</link>
      <description>&lt;P&gt;We have now managed to get the data in to the lakehouse. Greate success!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The information that I got from our hosting partner was that &lt;STRONG&gt;traffic going to&amp;nbsp;&lt;EM&gt;&lt;SPAN class=""&gt;pbipneu5-northeurope.pbidedicated.windows.net.&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;&amp;nbsp;was blocked.&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=""&gt;When this blockade was lifted, it started working&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;New rule in firewall:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Protocol: TCP&lt;BR /&gt;Endpoint:&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;pbipneu5-northeurope.pbidedicated.windows.net&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;Port: 1433&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;&lt;EM&gt;pbipneu5-northeurope&lt;/EM&gt;&lt;/STRONG&gt; depends on what region you have chosen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;//Mikael&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 06:08:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3439305#M860</guid>
      <dc:creator>MikaelDavidsson</dc:creator>
      <dc:date>2023-09-20T06:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: OnPremise Gateway, cannot write to lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3637081#M1552</link>
      <description>&lt;P&gt;I read your blog page and you wrote that using Organizatinal for authentication does not work.&amp;nbsp; However, that's what I used, and the UI picked up the already existing connection to the on-prem DB just fine, populated the DF Power Query UI fine.&amp;nbsp; It's just when it comes to publishing that sometimes the table is created and the data persisted to the lakehouse and sometimes not.&amp;nbsp; When it is, the columns are always lost and replaced by generic names such as Column1, Column2, etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really don't understand why this is not working and even showing inconsistent behavior in failure.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2024 08:16:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/3637081#M1552</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-01-13T08:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: OnPremise Gateway, cannot write to lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/4095347#M3600</link>
      <description>&lt;P&gt;Hi Mikael,&lt;BR /&gt;&lt;BR /&gt;Thanks for sharing your approach! So am I right in assuming i would have to do these changes on the machine where the Data Gateway is installed?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 12:12:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/4095347#M3600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-12T12:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: OnPremise Gateway, cannot write to lakehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/4095882#M3602</link>
      <description>&lt;P&gt;No, only in the firewall settings, wherever that happens to be running on your network.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 16:32:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/OnPremise-Gateway-cannot-write-to-lakehouse/m-p/4095882#M3602</guid>
      <dc:creator>Element115</dc:creator>
      <dc:date>2024-08-12T16:32:55Z</dc:date>
    </item>
  </channel>
</rss>

