<?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 How to connect external sql server in dataflow? in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/How-to-connect-external-sql-server-in-dataflow/m-p/3120754#M99862</link>
    <description>&lt;P&gt;I would like to make a dataflow which retrieve data from external (No Azure) sql server and create records in dataverse. But I cannot connect the sql server and got error "&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;An exception occurred: DataSource.Error: Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)&lt;/FONT&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I tried is as follow:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ynaing_0-1678345741890.png" style="width: 400px;"&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2023 07:21:41 GMT</pubDate>
    <dc:creator>Syndicate_Admin</dc:creator>
    <dc:date>2023-03-09T07:21:41Z</dc:date>
    <item>
      <title>How to connect external sql server in dataflow?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/How-to-connect-external-sql-server-in-dataflow/m-p/3120754#M99862</link>
      <description>&lt;P&gt;I would like to make a dataflow which retrieve data from external (No Azure) sql server and create records in dataverse. But I cannot connect the sql server and got error "&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;An exception occurred: DataSource.Error: Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)&lt;/FONT&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I tried is as follow:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ynaing_0-1678345741890.png" style="width: 400px;"&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 07:21:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/How-to-connect-external-sql-server-in-dataflow/m-p/3120754#M99862</guid>
      <dc:creator>Syndicate_Admin</dc:creator>
      <dc:date>2023-03-09T07:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect external sql server in dataflow?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/How-to-connect-external-sql-server-in-dataflow/m-p/3129960#M100169</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Where is the SQL Server database located? If it is on an on-premises server/computer or in a VM, you need to configure an on-premises data gateway to query data from the database. An on-premises data gateway is used to connect your cloud services to on-premises data sources.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/gateway-reference" target="_blank" rel="noopener"&gt;What is an on-premises data gateway? - Power Apps | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/gateway-management" target="_blank" rel="noopener"&gt;Manage an on-premises data gateway in Power Apps - Power Apps | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, the error message indicates that you cannot connect to the database server. You can use PowerShell&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/powershell/module/nettcpip/test-netconnection?view=windowsserver2022-ps" target="_blank" rel="noopener"&gt;Test-NetConnection&lt;/A&gt; command to test whether the server and port can be connected from your computer successfully. For example,&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Test-NetConnection -ComputerName xx.xx.xx.xx -Port xx &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you cannot connect to the server and port, you could refer to&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/sql/relational-databases/lesson-2-connecting-from-another-computer?view=sql-server-ver16" target="_blank" rel="noopener"&gt;Lesson 2: Connecting from Another Computer - SQL Server | Microsoft Learn&lt;/A&gt; to check whether the database server allows the remote connection.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Jing&lt;BR /&gt;If this post helps, please Accept it as Solution to help other members find it.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 06:43:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/How-to-connect-external-sql-server-in-dataflow/m-p/3129960#M100169</guid>
      <dc:creator>v-jingzhang</dc:creator>
      <dc:date>2023-03-14T06:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect external sql server in dataflow?</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/How-to-connect-external-sql-server-in-dataflow/m-p/3168423#M101763</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://powerusers.microsoft.com/t5/user/viewprofilepage/user-id/77032" target="_blank"&gt;@Syndicate_Admin&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested as you said. It replies success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TcpTestSucceeded&lt;/STRONG&gt; : True&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 05:11:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/How-to-connect-external-sql-server-in-dataflow/m-p/3168423#M101763</guid>
      <dc:creator>Syndicate_Admin</dc:creator>
      <dc:date>2023-04-03T05:11:59Z</dc:date>
    </item>
  </channel>
</rss>

