<?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 Embedding report with effective identity + RLS - username NULL in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embedding-report-with-effective-identity-RLS-username-NULL/m-p/1205889#M24614</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following issue with Power BI Embedded App Owns Data + service principal + RLS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed all steps in the to-do in terms of registering an azure app, delegating permissions, enabling service principal etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added all the required IDs to the App-Owns-Data visual studio solution web.config&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whenever I launch the solution though I run into various issues.&lt;/P&gt;&lt;P&gt;I am changing my code for RLS in the Models\embedconfig.cs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I have not solved yet is amending the code for RLS with effective identity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This link (&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;did not help since my username appears to be NULL and thus it goes to the ELSE clause ("generate embed token for report without effective identity")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an idea what the problem might be?&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 09:00:03 GMT</pubDate>
    <dc:creator>gbrunnerbi</dc:creator>
    <dc:date>2020-07-07T09:00:03Z</dc:date>
    <item>
      <title>Embedding report with effective identity + RLS - username NULL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedding-report-with-effective-identity-RLS-username-NULL/m-p/1205889#M24614</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following issue with Power BI Embedded App Owns Data + service principal + RLS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed all steps in the to-do in terms of registering an azure app, delegating permissions, enabling service principal etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added all the required IDs to the App-Owns-Data visual studio solution web.config&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whenever I launch the solution though I run into various issues.&lt;/P&gt;&lt;P&gt;I am changing my code for RLS in the Models\embedconfig.cs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I have not solved yet is amending the code for RLS with effective identity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This link (&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;did not help since my username appears to be NULL and thus it goes to the ELSE clause ("generate embed token for report without effective identity")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have an idea what the problem might be?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 09:00:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedding-report-with-effective-identity-RLS-username-NULL/m-p/1205889#M24614</guid>
      <dc:creator>gbrunnerbi</dc:creator>
      <dc:date>2020-07-07T09:00:03Z</dc:date>
    </item>
  </channel>
</rss>

