<?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 connecting from Powerbi workspace via powerbi network gateway adapter to aws rds - postgreSQL in Fabric platform</title>
    <link>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4712975#M16632</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to connect to Powerbi premium Workspace to postgreSQL RDS hosted in aws. Having issue to connect to AWS PostgreSQL RDS from PowerBi Premium workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following steps were taken in windows aws ec2.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I installed in PowerBi network gateway adapter standard version in windows box. Installed and configured successfully, it shows online.&lt;/LI&gt;&lt;LI&gt;Configured odbc connection to test aws postgreSQL rds and connection is successful&lt;/LI&gt;&lt;LI&gt;installed pgadmin and connection is succesfull to PostgreSQL RDS.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;PowerBi Adapter is visible in Powerbi premium workspace.&lt;/LI&gt;&lt;LI&gt;Installed npgsql 4.0.17.0 as recommended by powerbi based on the below error message. (installed via the nuget command)&lt;/LI&gt;&lt;LI&gt;Also copied npgsql.dll from npgsql folder to the network gateway adapter folder as recommended by other blog.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When creating a powerbi premium workspace - new connection to aws postgreSQL rds, via on-premises option. [since powerbi recommending on-premises option even though rds is in aws cloud] - note: there is cloud option but Azure recommends to use mainly for Azure fabric env.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Passed the following information correctly:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connection String - aws rds end point, username and password and selected gateway adapter from the drop down, and tried all three different options individually like private, none, org and public, when the connection occurs, i am getting the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unable to create connection for the following reason: Unable to connect to the data source. Either the data source is inaccessible, a connection timeout occurred, or the data source credentials are invalid. Please verify the data source configuration and contact a data source administrator to troubleshoot this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Please install Npgsql version 4.0.17.0 or earlier.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if any one faced similar issue like above, somehow, it shows npgsql 4.0.17.0 earlier even though the current npgsql version is 9.0. Please let me know.&amp;nbsp; I couldn't find any solution and tried all the options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our goal is to use Network gateway adapter should be visible in powerbi workspace, so users can query the rds table and views to generate the report and refresh the report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 May 2025 20:16:28 GMT</pubDate>
    <dc:creator>mnatarajan</dc:creator>
    <dc:date>2025-05-29T20:16:28Z</dc:date>
    <item>
      <title>connecting from Powerbi workspace via powerbi network gateway adapter to aws rds - postgreSQL</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4712975#M16632</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to connect to Powerbi premium Workspace to postgreSQL RDS hosted in aws. Having issue to connect to AWS PostgreSQL RDS from PowerBi Premium workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following steps were taken in windows aws ec2.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I installed in PowerBi network gateway adapter standard version in windows box. Installed and configured successfully, it shows online.&lt;/LI&gt;&lt;LI&gt;Configured odbc connection to test aws postgreSQL rds and connection is successful&lt;/LI&gt;&lt;LI&gt;installed pgadmin and connection is succesfull to PostgreSQL RDS.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;PowerBi Adapter is visible in Powerbi premium workspace.&lt;/LI&gt;&lt;LI&gt;Installed npgsql 4.0.17.0 as recommended by powerbi based on the below error message. (installed via the nuget command)&lt;/LI&gt;&lt;LI&gt;Also copied npgsql.dll from npgsql folder to the network gateway adapter folder as recommended by other blog.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When creating a powerbi premium workspace - new connection to aws postgreSQL rds, via on-premises option. [since powerbi recommending on-premises option even though rds is in aws cloud] - note: there is cloud option but Azure recommends to use mainly for Azure fabric env.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Passed the following information correctly:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Connection String - aws rds end point, username and password and selected gateway adapter from the drop down, and tried all three different options individually like private, none, org and public, when the connection occurs, i am getting the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unable to create connection for the following reason: Unable to connect to the data source. Either the data source is inaccessible, a connection timeout occurred, or the data source credentials are invalid. Please verify the data source configuration and contact a data source administrator to troubleshoot this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Please install Npgsql version 4.0.17.0 or earlier.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if any one faced similar issue like above, somehow, it shows npgsql 4.0.17.0 earlier even though the current npgsql version is 9.0. Please let me know.&amp;nbsp; I couldn't find any solution and tried all the options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our goal is to use Network gateway adapter should be visible in powerbi workspace, so users can query the rds table and views to generate the report and refresh the report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 20:16:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4712975#M16632</guid>
      <dc:creator>mnatarajan</dc:creator>
      <dc:date>2025-05-29T20:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: connecting from Powerbi workspace via powerbi network gateway adapter to aws rds - postgreSQL</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4713532#M16656</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1283680" data-lia-user-login="mnatarajan" class="lia-mention lia-mention-user"&gt;mnatarajan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;This issue usually comes down to how the &lt;STRONG&gt;Npgsql provider is registered&lt;/STRONG&gt; on the machine where the gateway is running. Even if you’ve installed a newer version, Power BI Gateway might not be detecting it properly unless it's registered correctly in the &lt;STRONG&gt;GAC (Global Assembly Cache)&lt;/STRONG&gt; or via the &lt;STRONG&gt;machine.config&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Here’s what you can try:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Install Npgsql via MSI installer&lt;/STRONG&gt;, not just by copying DLLs manually. You can find the official MSI for Npgsql 4.0.17 on GitHub releases. Make sure to install it on the same machine where the gateway is running.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Register the provider&lt;/STRONG&gt; in the machine.config file:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Navigate to:&lt;BR /&gt;C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config&lt;/LI&gt;&lt;LI&gt;Add this inside the &amp;lt;DbProviderFactories&amp;gt; section:&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt; &amp;lt;add name="Npgsql Data Provider" invariant="Npgsql" description=".Net Data Provider for PostgreSQL" type="Npgsql.NpgsqlFactory, Npgsql, Version=4.0.17.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7"/&amp;gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Do the same for the 32-bit version if needed (Framework instead of Framework64).&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Restart the gateway service&lt;/STRONG&gt; after making these changes.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Also, avoid manually copying DLLs into Power BI folders — that usually causes more issues than it solves.&lt;/P&gt;&lt;P&gt;If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 May 2025 07:42:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4713532#M16656</guid>
      <dc:creator>burakkaragoz</dc:creator>
      <dc:date>2025-05-30T07:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: connecting from Powerbi workspace via powerbi network gateway adapter to aws rds - postgreSQL</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4716428#M16755</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1283680" data-lia-user-login="mnatarajan" class="lia-mention lia-mention-user"&gt;mnatarajan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to the Microsoft fabric community forum.&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="529075" data-lia-user-login="burakkaragoz" class="lia-mention lia-mention-user"&gt;burakkaragoz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your prompt response&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1283680" data-lia-user-login="mnatarajan" class="lia-mention lia-mention-user"&gt;mnatarajan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your question has been answered, kindly mark the appropriate response as the Accepted Solution. This small step goes a long way in helping others with similar issues.&lt;/P&gt;
&lt;P&gt;We appreciate your collaboration and support!&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LakshmiNarayana&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 08:25:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4716428#M16755</guid>
      <dc:creator>v-lgarikapat</dc:creator>
      <dc:date>2025-06-02T08:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: connecting from Powerbi workspace via powerbi network gateway adapter to aws rds - postgreSQL</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4720664#M16870</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1283680" data-lia-user-login="mnatarajan" class="lia-mention lia-mention-user"&gt;mnatarajan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your question has been answered, kindly mark the appropriate response as the &lt;STRONG&gt;Accepted Solution&lt;/STRONG&gt;. This small step goes a long way in helping others with similar issues.&lt;/P&gt;
&lt;P&gt;We appreciate your collaboration and support!&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LakshmiNarayana&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:05:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4720664#M16870</guid>
      <dc:creator>v-lgarikapat</dc:creator>
      <dc:date>2025-06-05T05:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: connecting from Powerbi workspace via powerbi network gateway adapter to aws rds - postgreSQL</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4721962#M16924</link>
      <description>&lt;P&gt;Thank you for the quick response. Yes, it worked with a few tweaks done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I installed the npgsql 4.0.16 msi, i couldn't find the other MSI version like 4.0.10 etc&lt;/LI&gt;&lt;LI&gt;The default path for npgsql.dll is under&amp;nbsp;"C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Npgsql\v4.0_4.0.16.0__5d8b90d52f46fda7\Npgsql.dl&lt;/LI&gt;&lt;LI&gt;gautil runs only from developer command prompt via Visual Studio, i was not aware of this but figured it out.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rest everything works good as expected, the connection was successful from PBI desktop to Workspace, and report was published.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 19:30:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4721962#M16924</guid>
      <dc:creator>mnatarajan</dc:creator>
      <dc:date>2025-06-05T19:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: connecting from Powerbi workspace via powerbi network gateway adapter to aws rds - postgreSQL</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4722652#M16948</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1283680" data-lia-user-login="mnatarajan" class="lia-mention lia-mention-user"&gt;mnatarajan&lt;/a&gt;,&lt;BR /&gt;Thank you for the confirmation. We're pleased to know your issue has been resolved. Kindly consider accepting the solution so it can assist other community members in finding it more easily&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Best Regards,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Lakshmi Narayana&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 08:03:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4722652#M16948</guid>
      <dc:creator>v-lgarikapat</dc:creator>
      <dc:date>2025-06-06T08:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: connecting from Powerbi workspace via powerbi network gateway adapter to aws rds - postgreSQL</title>
      <link>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4723250#M16984</link>
      <description>&lt;P&gt;Also, i didn't do below step:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Register the provider&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in the machine.config file:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Navigate to:&lt;BR /&gt;C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config&lt;/LI&gt;&lt;LI&gt;Add this inside the &amp;lt;DbProviderFactories&amp;gt; section&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Instead above step:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;used Gutil from Visual studio command prompt:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;gacutil /i&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;"&lt;SPAN&gt;C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Npgsql\v4.0_4.0.16.0__5d8b90d52f46fda7\Npgsql.dll"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 13:56:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Fabric-platform/connecting-from-Powerbi-workspace-via-powerbi-network-gateway/m-p/4723250#M16984</guid>
      <dc:creator>mnatarajan</dc:creator>
      <dc:date>2025-06-06T13:56:16Z</dc:date>
    </item>
  </channel>
</rss>

