<?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: RLS with multiple roles not working with embedded reports in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/RLS-with-multiple-roles-not-working-with-embedded-reports/m-p/2579403#M36713</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394511" data-lia-user-login="HMEUserAnup" class="lia-mention lia-mention-user"&gt;HMEUserAnup&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Whether your problem has been resolved? If yes, could you please mark the helpful post as &lt;STRONG&gt;Answered&lt;/STRONG&gt;? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 07:12:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-06-15T07:12:42Z</dc:date>
    <item>
      <title>RLS with multiple roles not working with embedded reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RLS-with-multiple-roles-not-working-with-embedded-reports/m-p/2564419#M36557</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are trying to implement RLS feature in the .net application using PowerBI embed and are trying to pass multiple roles based on which the logged in user should see the filtered report on the client side.&amp;nbsp; When we are sending a single role, the reports are getting perfectly displayed, But when we are sending multiple roles (roles, users and rules which are already configured for specific report in the powerbi desktop), it shows us with the following error on to the client-side:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the screenshot of the code that we have implemented at our end :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Is it possible to display the report based on multiple roles through code approach?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;And if so, Is there any documentation/code example/feeds where i can look into?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 16:30:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RLS-with-multiple-roles-not-working-with-embedded-reports/m-p/2564419#M36557</guid>
      <dc:creator>HMEUserAnup</dc:creator>
      <dc:date>2022-06-07T16:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: RLS with multiple roles not working with embedded reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RLS-with-multiple-roles-not-working-with-embedded-reports/m-p/2570771#M36624</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394511" data-lia-user-login="HMEUserAnup" class="lia-mention lia-mention-user"&gt;HMEUserAnup&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can refer the following links to use&amp;nbsp;Row-level security with Power BI Embedded:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security" target="_self"&gt;Row-level security with Power BI Embedded&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://tsmatz.wordpress.com/2016/10/04/power-bi-row-level-security-rls/" target="_self"&gt;Works with Row Level Security in Power BI and Power BI Embedded&lt;/A&gt;&amp;nbsp;&lt;img /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.linkedin.com/pulse/power-bi-embedded-rls-romain-casteres" target="_self"&gt;POWER BI EMBEDDED &amp;amp; RLS&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the following ones are the threads which have the &lt;STRONG&gt;similar problem&lt;/STRONG&gt; as yours, please review their solutions and check if they can help you resolve the problem.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Service/Can-t-display-the-visual/m-p/2220824" target="_self"&gt;&lt;SPAN&gt;Can't display the visual&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Think this is it...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlbi.com/blog/marco/2021/06/03/setting-the-right-permissions-for-users-of-composite-models/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.sqlbi.com/blog/marco/2021/06/03/setting-the-right-permissions-for-users-of-composite-mod...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;you need to also grant build permission in the same way.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV id="tinyMceEditor_4dec4e7851bbdayingyinr_0" class=""&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Tip-quot-Can-t-Display-the-Visual-quot-on-embedded-caused-by-RLS/m-p/455872" target="_self"&gt;&lt;SPAN&gt;Tip: "Can't Display the Visual" on embedded caused by RLS role mismatch.&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&lt;SPAN&gt;Please check if your Row level Security roles are matching what role your embedded applications has setup. For instance, if you have "User" as your expected role in your report, and your application attempts to apply a nonexistant role of "Account" to the report. You will get an errorf for each visualization saying: "Can't Display the Visual. See Details."&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Getting-quot-Can-t-display-this-visual-quot-error/m-p/1681974" target="_self"&gt;&lt;SPAN&gt;Getting "Can't display this visual" error&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;I actually had this error today.&amp;nbsp; It was caused by another visual that had a deleted column as a filter.&amp;nbsp; I guess the cross-filtering capability of visuals was generating the error.&lt;/P&gt;
&lt;P&gt;Check all your visuals for deleted columns or measures.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 Jun 2022 06:24:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RLS-with-multiple-roles-not-working-with-embedded-reports/m-p/2570771#M36624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-10T06:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: RLS with multiple roles not working with embedded reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RLS-with-multiple-roles-not-working-with-embedded-reports/m-p/2579403#M36713</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="394511" data-lia-user-login="HMEUserAnup" class="lia-mention lia-mention-user"&gt;HMEUserAnup&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Whether your problem has been resolved? If yes, could you please mark the helpful post as &lt;STRONG&gt;Answered&lt;/STRONG&gt;? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 07:12:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RLS-with-multiple-roles-not-working-with-embedded-reports/m-p/2579403#M36713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-15T07:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: RLS with multiple roles not working with embedded reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RLS-with-multiple-roles-not-working-with-embedded-reports/m-p/2579507#M36715</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/embed-token/reports-generate-token-in-group#generate-a-report-embed-token-using-an-effective-identity-example" target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/embed-token/reports-generate-token-in-group#generate-a-report-embed-token-using-an-effective-identity-example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "accessLevel": "View",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "identities": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "username": "john@contoso.com",&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "roles": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "sales"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ],&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "datasets": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "cfafbeb1-8037-4d0c-896e-a46fb27ff229"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 07:45:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RLS-with-multiple-roles-not-working-with-embedded-reports/m-p/2579507#M36715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-15T07:45:28Z</dc:date>
    </item>
  </channel>
</rss>

