<?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: MySQL: Retrieval of the RSA public key is not enabled for insecure connections. in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/4369741#M39329</link>
    <description>&lt;P&gt;Set-RsDataSource : No se encuentra ningún parámetro que coincida con el nombre del parámetro 'ConnectionString'.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2025 19:43:30 GMT</pubDate>
    <dc:creator>ca-mi-lo</dc:creator>
    <dc:date>2025-01-17T19:43:30Z</dc:date>
    <item>
      <title>MySQL: Retrieval of the RSA public key is not enabled for insecure connections.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/3633009#M32386</link>
      <description>&lt;P&gt;I am unable to refresh a MySQL 8 datasource in a on prem version of Power BI reporting server. When I go in the datasouce and enter credentials under with Basic Authentication type and test I get the error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MySQL: Retrieval of the RSA public key is not enabled for insecure connections.&lt;/P&gt;&lt;P&gt;My versions are as follows:&lt;/P&gt;&lt;P&gt;PBRIS on premisis version 15.0.1112.48&lt;/P&gt;&lt;P&gt;Mysql .NET 8.0.28&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to refresh the datasource in&amp;nbsp;PowerBI Desktop RS version&amp;nbsp;Version: 2.117.984.0 64-bit (May 2023)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is apprently a common issue with MySQL and the common fix quoted is add&amp;nbsp;&lt;SPAN&gt;allowPublicKeyRetrieval=true to the connection string except I cant see how the edit the connection string.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 09:41:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/3633009#M32386</guid>
      <dc:creator>pundip44</dc:creator>
      <dc:date>2024-01-11T09:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL: Retrieval of the RSA public key is not enabled for insecure connections.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/3635358#M32409</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="430068" data-lia-user-login="pundip44" class="lia-mention lia-mention-user"&gt;pundip44&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;To change the connection string, you might need to use PowerShell scripts to interact with the Report Server's API.&lt;/P&gt;
&lt;P&gt;Please try below steps:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;Open PowerShell and ensure you have the Reporting Services Tools module installed. If you don't have it, you can install it using the following command:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Install-Module -Name ReportingServicesTools&lt;/LI-CODE&gt;
&lt;P&gt;2.&amp;nbsp;Import the ReportingServicesTools module&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Import-Module ReportingServicesTools&lt;/LI-CODE&gt;
&lt;P&gt;3.&amp;nbsp;Connect to your Power BI Reporting Server using the `Connect-RsReportServer` cmdlet.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;4. Use the `Set-RsDataSource` cmdlet to update the data source connection string. The exact command will depend on your server setup, but it will be something like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Set-RsDataSource -ReportServerUri 'http://&amp;lt;YourReportServerURL&amp;gt;' -DataSourcePath '/path/to/your/datasource' -DataSourceUsername 'yourusername' -DataSourcePassword 'yourpassword' -ConnectionString "your connection string;allowPublicKeyRetrieval=true;"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team_Binbin Yu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 08:38:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/3635358#M32409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-12T08:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL: Retrieval of the RSA public key is not enabled for insecure connections.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/3642171#M32451</link>
      <description>&lt;P&gt;I am not sure how to do step 3. "&lt;SPAN&gt;&amp;nbsp;Connect to your Power BI Reporting Server using the `Connect-RsReportServer` cmdlet." Also I just want to check that the&amp;nbsp;-DataSourceUsername references the MySQL username?&amp;nbsp; I ask as I am getting this error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Set-RsDataSource : A parameter cannot be found that matches parameter name 'DataSourceUsername'.&lt;BR /&gt;At line:1 char:92&lt;BR /&gt;+ ... ReportServer' -DataSourcePath '/acc/acc/' -DataSourceUsername 'remote ...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 00:51:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/3642171#M32451</guid>
      <dc:creator>pundip44</dc:creator>
      <dc:date>2024-01-17T00:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL: Retrieval of the RSA public key is not enabled for insecure connections.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/3651158#M32505</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="430068" data-lia-user-login="pundip44" class="lia-mention lia-mention-user"&gt;pundip44&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please refer below documents, hope it is helpful for you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/microsoft/ReportingServicesTools/blob/master/ReportingServicesTools/Functions/CatalogItems/Set-RsDataSource.ps1" target="_blank"&gt;ReportingServicesTools/ReportingServicesTools/Functions/CatalogItems/Set-RsDataSource.ps1 at master · microsoft/ReportingServicesTools · GitHub&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/microsoft/ReportingServicesTools/blob/master/ReportingServicesTools/Functions/CatalogItems/Set-RsDataSource.ps1" target="_blank"&gt;ReportingServicesTools/ReportingServicesTools/Functions/CatalogItems/Set-RsDataSource.ps1 at master · microsoft/ReportingServicesTools · GitHub&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Community Support Team_Binbin Yu&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 08:38:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/3651158#M32505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-22T08:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL: Retrieval of the RSA public key is not enabled for insecure connections.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/4369741#M39329</link>
      <description>&lt;P&gt;Set-RsDataSource : No se encuentra ningún parámetro que coincida con el nombre del parámetro 'ConnectionString'.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 19:43:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/MySQL-Retrieval-of-the-RSA-public-key-is-not-enabled-for/m-p/4369741#M39329</guid>
      <dc:creator>ca-mi-lo</dc:creator>
      <dc:date>2025-01-17T19:43:30Z</dc:date>
    </item>
  </channel>
</rss>

