<?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: Power BI Report Server Kerberos for a SQL datasource in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Kerberos-for-a-SQL-datasource/m-p/490205#M7146</link>
    <description>&lt;P&gt;Hi Marius,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had some fun setting Kerberos authentication up for a SQL data source too, and can relate to your issues!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should get the "As the user viewing the report" option for Direct Query, are you definately selecting "Windows Auhtentication" from the authentication type drop down?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One "gotcha" which i encountered, when setting the SPNs for MSSQLSvc, you have to use the port number - it did not work without. So the SPNs i created for my service account running SQL were:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;MSSQLSvc/myserver:1433&lt;/LI&gt;&lt;LI&gt;MSSQLSvc/myserver.fqdn.domain.com:1433&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;I found a guide on configuring Kerberos for SSRS/SQL Server which was really useful and applied to PBIRS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://download.microsoft.com/download/B/E/1/BE1AABB3-6ED8-4C3C-AF91-448AB733B1AF/SSRSKerberos.docx" target="_blank"&gt;http://download.microsoft.com/download/B/E/1/BE1AABB3-6ED8-4C3C-AF91-448AB733B1AF/SSRSKerberos.docx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Aug 2018 10:19:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-15T10:19:05Z</dc:date>
    <item>
      <title>Power BI Report Server Kerberos for a SQL datasource</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Kerberos-for-a-SQL-datasource/m-p/490091#M7144</link>
      <description>&lt;P&gt;Hi there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have multiple Power BI reports deployed to our On-Prem Power BI Report Server.&lt;/P&gt;&lt;P&gt;PS! It's a distributed environment....with SSRS on one server, SSAS on another and SQL on another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some reports are using SSAS as a data source.... and to get around the Kerberos issue, we use Windows Auth --&amp;gt; hard code a domain user --&amp;gt; and tick the box "&lt;SPAN&gt;Log in using these credentials, but then try to impersonate the user viewing the report". That is working fine for now...for SSAS only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is that when you are using a SQL data source with a Direct connection. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For some reason you don't get the same tick box&amp;nbsp;"Log in using these credentials, but then try to impersonate the user viewing the report".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We need to be able to see who the user is that is using the report....for security and audit reasons.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Am I missing a setting or a config somewhere?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or is the only option to use Kerberos with SPNs?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Something that is also very odd.... even on the SQL data source report...when you execute the report, and it fails.... part of the message says: "We couldn't connect to the Analysis Services server....".&amp;nbsp; Is this maybe just a bug or old msg that wasn't updated?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope someone can point me in the right direction on how to get a report running...with Windows Auth... in the distributed environment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think I have watched all the youtube videos explaining Kerberos and SSAS...but I haven't seen something for SQL data source.&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;Marius&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 09:01:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Kerberos-for-a-SQL-datasource/m-p/490091#M7144</guid>
      <dc:creator>Marries</dc:creator>
      <dc:date>2018-08-15T09:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Report Server Kerberos for a SQL datasource</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Kerberos-for-a-SQL-datasource/m-p/490205#M7146</link>
      <description>&lt;P&gt;Hi Marius,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had some fun setting Kerberos authentication up for a SQL data source too, and can relate to your issues!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should get the "As the user viewing the report" option for Direct Query, are you definately selecting "Windows Auhtentication" from the authentication type drop down?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One "gotcha" which i encountered, when setting the SPNs for MSSQLSvc, you have to use the port number - it did not work without. So the SPNs i created for my service account running SQL were:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;MSSQLSvc/myserver:1433&lt;/LI&gt;&lt;LI&gt;MSSQLSvc/myserver.fqdn.domain.com:1433&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;I found a guide on configuring Kerberos for SSRS/SQL Server which was really useful and applied to PBIRS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://download.microsoft.com/download/B/E/1/BE1AABB3-6ED8-4C3C-AF91-448AB733B1AF/SSRSKerberos.docx" target="_blank"&gt;http://download.microsoft.com/download/B/E/1/BE1AABB3-6ED8-4C3C-AF91-448AB733B1AF/SSRSKerberos.docx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 10:19:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Kerberos-for-a-SQL-datasource/m-p/490205#M7146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-15T10:19:05Z</dc:date>
    </item>
  </channel>
</rss>

