<?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 report server custom authentication in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-server-custom-authentication/m-p/201181#M86</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/34019"&gt;@Aasaad&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can follow this&amp;nbsp;article to perform custom security for Power BI report server: &lt;A href="https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample" target="_blank"&gt;https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Qiuyun Yu&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2017 09:41:22 GMT</pubDate>
    <dc:creator>v-qiuyu-msft</dc:creator>
    <dc:date>2017-06-26T09:41:22Z</dc:date>
    <item>
      <title>Powerbi report server custom authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-server-custom-authentication/m-p/200653#M84</link>
      <description>&lt;P&gt;Does custom authentication work with the on prem powerbi report server too?&lt;/P&gt;&lt;P&gt;something like that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/reporting-services/security/configure-custom-or-forms-authentication-on-the-report-server" target="_blank"&gt;https://docs.microsoft.com/en-us/sql/reporting-services/security/configure-custom-or-forms-authentication-on-the-report-server&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2017 10:45:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-server-custom-authentication/m-p/200653#M84</guid>
      <dc:creator>Aasaad</dc:creator>
      <dc:date>2017-06-24T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi report server custom authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-server-custom-authentication/m-p/201181#M86</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/34019"&gt;@Aasaad&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can follow this&amp;nbsp;article to perform custom security for Power BI report server: &lt;A href="https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample" target="_blank"&gt;https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Qiuyun Yu&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 09:41:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-server-custom-authentication/m-p/201181#M86</guid>
      <dc:creator>v-qiuyu-msft</dc:creator>
      <dc:date>2017-06-26T09:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi report server custom authentication</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-server-custom-authentication/m-p/302312#M2197</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6970"&gt;@v-qiuyu-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I have Power BI Report Server and I have followed&amp;nbsp;all steps as mentioned in this article. Now when I browse, login page shows correctly. However whenever I click eiher "Register User" button OR "Login" button, I get following exception&lt;/P&gt;&lt;PRE&gt;An error occurred while attempting to add the account. Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.&lt;/PRE&gt;&lt;P&gt;In article's&amp;nbsp;&lt;A href="https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample#step-3-deployment-and-configuration" target="_self"&gt;Step 3&lt;/A&gt;&amp;nbsp;it is mentioned to add &amp;lt;CodeGroup&amp;gt; in&amp;nbsp;&lt;SPAN&gt;RSSrvPolicy.config file. However the step description is very confusing for me&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Add the following &amp;lt;CodeGroup&amp;gt; element after the existing code group in the security policy file that has a URL membership of $CodeGen as indicated below and then add an entry as follows to RSSrvPolicy.config. Make sure to change the below path according to your ReportServer installation directory:

&amp;lt;CodeGroup
	class="UnionCodeGroup"
	version="1"
	Name="SecurityExtensionCodeGroup" 
	Description="Code group for the sample security extension"
	PermissionSetName="FullTrust"&amp;gt;
&amp;lt;IMembershipCondition 
	class="UrlMembershipCondition"
	version="1"
	Url="C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer\bin\Microsoft.Samples.ReportingServices.CustomSecurity.dll"/&amp;gt;
&amp;lt;/CodeGroup&amp;gt;&lt;/PRE&gt;&lt;P&gt;I already have one CodeGroup which has Member Url="$CodeGen$/*". So With above description, I am not getting that either I have to replace this URL in this CodeGroup with the path of dll (as mentioned in article) OR just have to add new CodeGroup (as given in article) below of existing code group which contains Member Url =&amp;nbsp;&lt;SPAN&gt;"$CodeGen$/*".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I added new CodeGroup below of $CodeGen Member CodeGroup as shown in picture then I get same permission error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG src="https://ip1.i.lithium.com/b1672495e8b0b38dfe1906b5299928ccfd5b54a0/687474703a2f2f37322e31382e3230302e3130372f4e6577436f64654772702e706e67" border="0" alt="" width="1519" height="533" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please guide me how to resolve this Permission issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="highlight highlight-text-xml"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Nov 2017 19:54:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Powerbi-report-server-custom-authentication/m-p/302312#M2197</guid>
      <dc:creator>malikirfan28</dc:creator>
      <dc:date>2017-11-13T19:54:05Z</dc:date>
    </item>
  </channel>
</rss>

