<?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: PowerBI database server connection issue in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4687895#M40643</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237694"&gt;@dcvman&lt;/a&gt; ,&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV dir="auto" data-message-author-role="assistant" data-message-id="ce7a99ce-c23a-4382-91c8-18117b83b2e7" data-message-model-slug="gpt-4o"&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;P data-start="0" data-end="896"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="324" data-end="517"&gt;Yes, you can set up a Power BI database server connection with both Encrypt=True and TrustServerCertificate=True—I’ve had to do this myself a few times, especially in dev/test environments.&amp;nbsp;Here’s how you do it:&lt;/P&gt;
&lt;P data-start="519" data-end="544"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="546" data-end="571"&gt;For Power BI Desktop: When you connect to your SQL Server, expand the “Advanced options” in the connection dialog. In the “Additional settings” box, enter:&amp;nbsp;Encrypt=True;TrustServerCertificate=True&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="831" data-end="862"&gt;For Power BI Report Server: Open up the RSReportServer.config file (you’ll find this under something like &lt;EM&gt;C:\Program Files\Microsoft SQL Server\MSRSxx.&amp;lt;InstanceName&amp;gt;\Reporting Services\ReportServer).&lt;/EM&gt; Look for the &amp;lt;ConnectionProperties&amp;gt; section.&amp;nbsp; Set your connection string to include both:&amp;nbsp;&lt;EM&gt;&amp;lt;ConnectString&amp;gt;Data Source=YOURSERVER;Initial Catalog=YOURDB;Encrypt=True;TrustServerCertificate=True&amp;lt;/ConnectString&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Save the file and restart your report server service for changes to take effect.&lt;/P&gt;
&lt;P data-start="1767" data-end="2030"&gt;&lt;BR data-start="1780" data-end="1783" /&gt;If you get an error about the “target principal name,” it’s usually because the SQL certificate name doesn’t match the server name. Using TrustServerCertificate=True bypasses this, but again, best to fix your certs if you’re going to production.&lt;/P&gt;
&lt;P data-start="2222" data-end="2233"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 24 Jul 2025 08:46:09 GMT</pubDate>
    <dc:creator>rohit1991</dc:creator>
    <dc:date>2025-07-24T08:46:09Z</dc:date>
    <item>
      <title>PowerBI database server connection issue</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4607181#M39964</link>
      <description>&lt;P&gt;I need to configure PowerBI database server connection with&amp;nbsp;&lt;SPAN&gt;Encrypt=True and TrustServerCertificate=True options.&amp;nbsp;&lt;BR /&gt;Is it possible to do this?&amp;nbsp; If so, how is this done?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 15:19:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4607181#M39964</guid>
      <dc:creator>dcvman</dc:creator>
      <dc:date>2025-03-12T15:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI database server connection issue</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4607204#M39965</link>
      <description>&lt;P&gt;Below is error message which I am receiving when trying to connect to SQL server:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dcvman_0-1741793566050.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1249583i97086DB1CC729C4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dcvman_0-1741793566050.png" alt="dcvman_0-1741793566050.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 15:32:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4607204#M39965</guid>
      <dc:creator>dcvman</dc:creator>
      <dc:date>2025-03-12T15:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI database server connection issue</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4608295#M39972</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237694"&gt;@dcvman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Do you have a reference to the steps to configure the report server?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/install-windows/ssrs-report-server-create-a-native-mode-report-server-database?view=sql-server-ver16" target="_blank"&gt;Create a Native Mode Report Server Database (Configuration Manager) - SQL Server Reporting Services (SSRS) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Jianpeng &lt;/SPAN&gt;&lt;SPAN&gt;Li&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 09:37:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4608295#M39972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-13T09:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI database server connection issue</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4609345#M39980</link>
      <description>&lt;P&gt;Thanks for providing report server configuration steps.&amp;nbsp; These steps don't include how to use&amp;nbsp;&lt;SPAN&gt;Encrypt=True and TrustServerCertificate=True connections options.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 21:51:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4609345#M39980</guid>
      <dc:creator>dcvman</dc:creator>
      <dc:date>2025-03-13T21:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI database server connection issue</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4686945#M40633</link>
      <description>&lt;P&gt;Hi dcvman,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out through the Microsoft Fabric Community Forum.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Based on my understanding, the error message "The target principal name is incorrect" generally occurs when encryption is enabled without explicitly trusting the certificate.&lt;/P&gt;
&lt;P&gt;To configure Power BI Report Server to use&amp;nbsp;Encrypt=True; TrustServerCertificate=True, please follow the steps below, which may help to resolve the issue:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open the&amp;nbsp;RSReportServer.config&amp;nbsp;file located at:&lt;BR /&gt;C:\Program Files\Microsoft SQL Server\MSRSxx.&amp;lt;InstanceName&amp;gt;\Reporting Services\ReportServer&lt;/LI&gt;
&lt;LI&gt;Locate the&amp;nbsp;&amp;lt;ConnectionProperties&amp;gt; section.&lt;/LI&gt;
&lt;LI&gt;Update the&amp;nbsp;ConnectString as shown below:&lt;BR /&gt;&amp;lt;ConnectString&amp;gt;Data Source=192.168.1.53;Initial Catalog=ReportServer;Encrypt=True;TrustServerCertificate=True&amp;lt;/ConnectString&amp;gt;&lt;/LI&gt;
&lt;LI&gt;Save the changes and restart SQL Server Reporting Services.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This configuration bypasses the certificate name verification and resolves the encryption-related login error.&lt;/P&gt;
&lt;P&gt;For your reference, please find the relevant documentation here:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/report-server/reporting-services-configuration-files?view=sql-server-ver16" target="_blank"&gt;Reporting Services configuration files - SQL Server Reporting Services (SSRS) | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar issues.&lt;/P&gt;
&lt;P&gt;Should you have any further queries, please feel free to contact the Microsoft Fabric community.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 17:26:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4686945#M40633</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-05-09T17:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI database server connection issue</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4687895#M40643</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1237694"&gt;@dcvman&lt;/a&gt; ,&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV dir="auto" data-message-author-role="assistant" data-message-id="ce7a99ce-c23a-4382-91c8-18117b83b2e7" data-message-model-slug="gpt-4o"&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;P data-start="0" data-end="896"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="324" data-end="517"&gt;Yes, you can set up a Power BI database server connection with both Encrypt=True and TrustServerCertificate=True—I’ve had to do this myself a few times, especially in dev/test environments.&amp;nbsp;Here’s how you do it:&lt;/P&gt;
&lt;P data-start="519" data-end="544"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="546" data-end="571"&gt;For Power BI Desktop: When you connect to your SQL Server, expand the “Advanced options” in the connection dialog. In the “Additional settings” box, enter:&amp;nbsp;Encrypt=True;TrustServerCertificate=True&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="831" data-end="862"&gt;For Power BI Report Server: Open up the RSReportServer.config file (you’ll find this under something like &lt;EM&gt;C:\Program Files\Microsoft SQL Server\MSRSxx.&amp;lt;InstanceName&amp;gt;\Reporting Services\ReportServer).&lt;/EM&gt; Look for the &amp;lt;ConnectionProperties&amp;gt; section.&amp;nbsp; Set your connection string to include both:&amp;nbsp;&lt;EM&gt;&amp;lt;ConnectString&amp;gt;Data Source=YOURSERVER;Initial Catalog=YOURDB;Encrypt=True;TrustServerCertificate=True&amp;lt;/ConnectString&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Save the file and restart your report server service for changes to take effect.&lt;/P&gt;
&lt;P data-start="1767" data-end="2030"&gt;&lt;BR data-start="1780" data-end="1783" /&gt;If you get an error about the “target principal name,” it’s usually because the SQL certificate name doesn’t match the server name. Using TrustServerCertificate=True bypasses this, but again, best to fix your certs if you’re going to production.&lt;/P&gt;
&lt;P data-start="2222" data-end="2233"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Jul 2025 08:46:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4687895#M40643</guid>
      <dc:creator>rohit1991</dc:creator>
      <dc:date>2025-07-24T08:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI database server connection issue</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4688863#M40651</link>
      <description>&lt;P&gt;Hi dcvman,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you find the response helpful, please mark it as the accepted solution and provide kudos, as this will help other members with similar queries.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 09:52:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4688863#M40651</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-05-12T09:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI database server connection issue</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4694111#M40702</link>
      <description>&lt;P&gt;Hi dcvman,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We wanted to check in regarding your query, as we have not heard back from you. If you have resolved the issue, sharing the solution with the community would be greatly appreciated and could help others encountering similar challenges.&lt;/P&gt;
&lt;P&gt;If you found our response useful, kindly mark it as the accepted solution and provide kudos to guide other members.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 11:47:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4694111#M40702</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-05-15T11:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI database server connection issue</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4697399#M40733</link>
      <description>&lt;P&gt;Hi dcvman,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;We are following up to see if your query has been resolved. Should you have identified a solution, we kindly request you to share it with the community to assist others facing similar issues.&lt;/P&gt;
&lt;P&gt;If our response was helpful, please mark it as the accepted solution and provide kudos, as this helps the broader community.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 May 2025 18:34:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4697399#M40733</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-05-18T18:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI database server connection issue</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4754230#M41316</link>
      <description>&lt;P&gt;Hi dcvman,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We are following up to check if your query has been resolved. If you have found a solution, kindly share it with the community to help others facing similar issues.&lt;/P&gt;
&lt;P&gt;If our response was helpful, please mark it as the accepted solution. This will benefit the wider community.&lt;/P&gt;
&lt;P&gt;Should you have any further queries, kindly feel free to contact the Microsoft Fabric community.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jul 2025 17:12:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-database-server-connection-issue/m-p/4754230#M41316</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-07-06T17:12:08Z</dc:date>
    </item>
  </channel>
</rss>

