<?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 connection issue. The received certificate has expired in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3106486#M29068</link>
    <description>&lt;P&gt;But this solution work when you run it on your desktop, but when you run it on service, it doesn't work.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 18:59:31 GMT</pubDate>
    <dc:creator>MahmoudZ</dc:creator>
    <dc:date>2023-03-01T18:59:31Z</dc:date>
    <item>
      <title>PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/714569#M10646</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am receiving the below error while trying to access SQL server (get data--&amp;gt; SQL server database).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The received certificate has expired.)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image (2).png" style="width: 459px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/170684iA51F030B47120E82/image-size/large?v=v2&amp;amp;px=999" role="button" title="image (2).png" alt="image (2).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, when I check the logs I get the below error info:&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;"Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.MashupDataAccessValueException: Mashup expression evaluation error&lt;/FONT&gt;" .&amp;nbsp; The gateway was working fine before and now I get this error. I checked the certificate issued to the server&amp;nbsp; and looks fine.&amp;nbsp; I would appreciate if someone could&amp;nbsp; advise what could be missing or the correct spot where I can check to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 22:43:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/714569#M10646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-13T22:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/716191#M10663</link>
      <description>&lt;P&gt;There can often be multiple certificates installed on a server. To check the one used by SQL Server you need to o&lt;SPAN&gt;pen&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SQL Server Configuration Manager&lt;/STRONG&gt;&lt;SPAN&gt;, expand&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SQL Server Network Configuration&lt;/STRONG&gt;&lt;SPAN&gt;, right-click&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Protocols for&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&amp;lt;server instance&amp;gt;&lt;/EM&gt;&lt;SPAN&gt;, and then select &lt;/SPAN&gt;&lt;STRONG&gt;Properties&lt;/STRONG&gt;&lt;SPAN&gt;. On the Certificates tab you should see the details of the certificate that SQL Server is trying to use.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the expiry date for that certificate is out of date you can find information here&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/enable-encrypted-connections-to-the-database-engine?view=sql-server-2017" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/enable-encrypted-connections-to-the-database-engine?view=sql-server-2017&lt;/A&gt;&amp;nbsp;on how this should be setup.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 03:07:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/716191#M10663</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-06-17T03:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/716910#M10671</link>
      <description>&lt;P&gt;Thank you for the reponse. I had checked the certificate navigating to&amp;nbsp;&lt;STRONG&gt;SQL Server Network Configuration&lt;/STRONG&gt;&amp;gt;&lt;STRONG&gt;Protocols for&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&amp;lt;server instance&amp;gt;&lt;/EM&gt; &lt;STRONG&gt;Properties&amp;nbsp;&lt;/STRONG&gt;and looks all fine with the certificate. I also made sure that there is only one certificate that SQL server is using and it does have a valid expiry date untill 2020.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the fore encryption settings are set to "Yes".&amp;nbsp;&lt;BR /&gt;Just to be more clear what exactly Im doing is.. I am trying to&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Open PowerBI desktop on my local machine&lt;/P&gt;&lt;P&gt;2. Click on "Get Data".&lt;/P&gt;&lt;P&gt;3. Select SQL server database&lt;/P&gt;&lt;P&gt;4. And then getting the certificate error when I try to connect the SQL server after the window I pasted below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PBI2.PNG" style="width: 722px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/171312iED94DDF838D84382/image-size/large?v=v2&amp;amp;px=999" role="button" title="PBI2.PNG" alt="PBI2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The On-premises gateway is also connected and is up and running.&amp;nbsp;&lt;BR /&gt;I would appreciate any help on this.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 17:48:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/716910#M10671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-17T17:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/717161#M10673</link>
      <description>&lt;P&gt;So if the expiry date has not expired there are a couple of other things you could check.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was the certificate updated recently? If so was the server restarted after the certificate was updated? If not try restarting SQL Server to make sure it is picking up the latest certificate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There have been other reports of this issue. You could check the last response on this thread&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Service/can-not-refresh-dataset-both-from-refresh-now-and-schedule/td-p/116802" target="_blank"&gt;https://community.powerbi.com/t5/Service/can-not-refresh-dataset-both-from-refresh-now-and-schedule/td-p/116802&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or as a last resort, if you have force encryption set at the server level you could change the data source option in your Power BI Reports to not require encryption. This means that the client will not double check the validity of the certificate, but the server setting will still ensure that the connection is encrypted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can check if the connections are actually encrypted by running the following SQL query&lt;/P&gt;&lt;PRE&gt;SELECT encrypt_option 
FROM sys.dm_exec_connections &lt;/PRE&gt;&lt;P&gt;Otherwise you might need to ask this question on some SQL Server forums as this seems to be more of an issue with SQL Server than Power BI.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 03:07:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/717161#M10673</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-06-18T03:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/720469#M10712</link>
      <description>&lt;P&gt;Yes, the certificate was new and I dint restart the services. So, I had restarted the services. However, the error still persist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Changing the encryption settings for the&amp;nbsp; &lt;SPAN&gt;data source option in&amp;nbsp; Power BI Reports to not require encryption worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Power BI Desktop &amp;gt; Data Source Settings &amp;gt; uncheck the 'encrypt connections' check box (for the data source).&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks you so much for your response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For anyone looking for this, here is the link :&lt;BR /&gt;&lt;FONT&gt;&lt;A href="https://social.technet.microsoft.com/Forums/en-US/1cff963b-d799-40b3-8f5b-30a1b5cb3e60/connecting-to-sql-server-with-power-queryreceived-certificate-has-expired?forum=powerquery" target="_blank" rel="noopener"&gt;https://social.technet.microsoft.com/Forums/en-US/1cff963b-d799-40b3-8f5b-30a1b5cb3e60/connecting-to-sql-server-with-power-queryreceived-certificate-has-expired?forum=powerquery&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT&gt;Thanks&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 16:48:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/720469#M10712</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-20T16:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/2197540#M21793</link>
      <description>&lt;P&gt;I recently experienced this when using a colleagues computer - 30 minutes after updating the Report Server Version of our dashboard on my own computer. Which in my case put teh SQL server as being the issue to the side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I found was that on my own computer I had turned of "encrypt connection" in the data-source settings. Disabling that on my coleugues computer allowed us to refresh the data and the "certificate has expired" message has gone.&lt;/P&gt;&lt;P&gt;Also I had to re-do the password to authentication access to the SQL server - so it would seem these settings dont follow the user from PC to PC and the settings are on the comptuer itself (we have synced profiles etc, and use Power Bi Report Server - and SQL Server stored procedures to run the show).&lt;/P&gt;&lt;P&gt;Good luck &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 23:05:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/2197540#M21793</guid>
      <dc:creator>Clinical_Epi</dc:creator>
      <dc:date>2021-11-18T23:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3106486#M29068</link>
      <description>&lt;P&gt;But this solution work when you run it on your desktop, but when you run it on service, it doesn't work.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 18:59:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3106486#M29068</guid>
      <dc:creator>MahmoudZ</dc:creator>
      <dc:date>2023-03-01T18:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3252049#M29875</link>
      <description>&lt;P&gt;I'm running into this same problem, fixed this when using the desktop app but still having issues with the Power Bi service gateway connection. Where you able to find a solution?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 00:34:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3252049#M29875</guid>
      <dc:creator>cpEnergyEP</dc:creator>
      <dc:date>2023-05-25T00:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3252069#M29876</link>
      <description>&lt;P&gt;Hi cpEnergyEP,&lt;/P&gt;&lt;P&gt;We're just using the encryption setting, leaving it off works for us as we now use encryption using the Azure (Denodo) data. Also we've moved away from report server desktop (which is where we encountered this niggling error), so now we are just using latest desktop version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I keep that setting off, =&amp;nbsp;&lt;SPAN&gt;Power BI Desktop &amp;gt; Data Source Settings &amp;gt; uncheck the 'encrypt connections' check box (for the data source).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Assuming that the server certificate you are using is actually up-to-date...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That sall I can do I'm afraid as time poor..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Clin Epi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 01:25:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3252069#M29876</guid>
      <dc:creator>Clinical_Epi</dc:creator>
      <dc:date>2023-05-25T01:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3259850#M29942</link>
      <description>&lt;P&gt;Looking to provide insight on how our team was able to resolved this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When access the MSSQLSERVER properties, the newly updated certificate did not show up in the Certificate drop-down list. One of our IT specilist restarted SQL over the weekend and ensure that the correct certificate appeared in the MSSQLSERVER properties.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 14:29:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3259850#M29942</guid>
      <dc:creator>cpEnergyEP</dc:creator>
      <dc:date>2023-05-30T14:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI connection issue. The received certificate has expired</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3807016#M34158</link>
      <description>&lt;P&gt;I've already same problems with lost connection between Power Bi and MS SQL. The solution in my case was as d_gosbell explained.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="solution_1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1071489i10C80D58037ECAC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="solution_1.PNG" alt="solution_1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 08:01:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerBI-connection-issue-The-received-certificate-has-expired/m-p/3807016#M34158</guid>
      <dc:creator>mw099</dc:creator>
      <dc:date>2024-04-03T08:01:50Z</dc:date>
    </item>
  </channel>
</rss>

