<?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 PowerBiEmbedded-master - RowLevelSecurityDemo in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBiEmbedded-master-RowLevelSecurityDemo/m-p/2443205#M35393</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I am working with a Microsoft project for embedded power bi, the project specifically is “PowerBiEmbedded-master - RowLevelSecurityDemo”&lt;/P&gt;&lt;P&gt;This project makes you log into a table of users that it has created, which I am interested in doing, so that users do not have to access twice with username and password, I would like to know a little about how this login works.&lt;BR /&gt;When you access the web for the first time, it already checks if you have accessed or not, which I don't know where it does it within the project. And if I could, the good thing would be from a variable that I pass to it, I would buy it with one of the logins that it has in the BBDD.&lt;BR /&gt;If you could help me… thank you very much.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Apr 2022 11:01:28 GMT</pubDate>
    <dc:creator>apenaranda</dc:creator>
    <dc:date>2022-04-07T11:01:28Z</dc:date>
    <item>
      <title>PowerBiEmbedded-master - RowLevelSecurityDemo</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBiEmbedded-master-RowLevelSecurityDemo/m-p/2443205#M35393</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am working with a Microsoft project for embedded power bi, the project specifically is “PowerBiEmbedded-master - RowLevelSecurityDemo”&lt;/P&gt;&lt;P&gt;This project makes you log into a table of users that it has created, which I am interested in doing, so that users do not have to access twice with username and password, I would like to know a little about how this login works.&lt;BR /&gt;When you access the web for the first time, it already checks if you have accessed or not, which I don't know where it does it within the project. And if I could, the good thing would be from a variable that I pass to it, I would buy it with one of the logins that it has in the BBDD.&lt;BR /&gt;If you could help me… thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 11:01:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBiEmbedded-master-RowLevelSecurityDemo/m-p/2443205#M35393</guid>
      <dc:creator>apenaranda</dc:creator>
      <dc:date>2022-04-07T11:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBiEmbedded-master - RowLevelSecurityDemo</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBiEmbedded-master-RowLevelSecurityDemo/m-p/2448561#M35451</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/371585"&gt;@apenaranda&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Which embedded analytics method are you using?&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers" aria-setsize="5" aria-level="2" aria-posinset="1" data-bi-name="tree-leaf" target="_blank"&gt;Embed content for customers&lt;/A&gt;?&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-your-organization" aria-setsize="5" aria-level="2" aria-posinset="2" data-bi-name="tree-leaf" target="_blank"&gt;Embed content for your organization&lt;/A&gt;? Is it static RLS or dynamic RLS applied in the report?&amp;nbsp;If you're embedding to Power BI users (user owns data), within your organization, RLS works the same as it does within the Power BI service directly. There's nothing more you need to do in your application.&amp;nbsp;If you're embedding for non-Power BI users (app owns data), it requires applying the user and role to an embed token,&amp;nbsp;embed tokens are used to grant a user access to a specific Power BI Embedded report.&amp;nbsp;Power BI Embedded doesn't have any specific information on who your user is. For RLS to work, you need to pass some additional context as part of your embed token in the form of identities(&lt;STRONG&gt;username&lt;/STRONG&gt;,&lt;STRONG&gt; roles &lt;/STRONG&gt;and&lt;STRONG&gt; dataset&lt;/STRONG&gt;).&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "accessLevel": "View",
    "identities": [
        {
            "username": "EffectiveIdentity",
            "roles": [ "Role1", "Role2" ],
            "datasets": [ "fe0a1aeb-f6a4-4b27-a2d3-b5df3bb28bdc" ]
        }
    ]
}&lt;/LI-CODE&gt;
&lt;P&gt;You can review the following links for more details and get the answer of your question...&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=yNF-_l2f7w0" target="_blank"&gt;How do you use RLS with Power BI Embedded???&lt;/A&gt; (Mainly talking about the embedded content for customers with RLS)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security#applying-user-and-role-to-an-embed-token" target="_blank"&gt;Row-level security with Power BI Embedded&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://endjin.com/blog/2020/05/power-bi-embedded-convention-based-dynamic-row-level-security" target="_blank"&gt;Power BI Embedded: Convention-based dynamic Row-level Security&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://medium.com/peritos-solutions/enable-row-level-security-and-embed-powerbi-dashboard-in-an-application-ec7404534aa8" target="_blank"&gt;Enable Row Level Security (RLS) and Embed PowerBI Dashboard in an Application&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_1-1649660018360.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/697726i1A77530525465373/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_1-1649660018360.png" alt="yingyinr_1-1649660018360.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 06:54:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBiEmbedded-master-RowLevelSecurityDemo/m-p/2448561#M35451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-11T06:54:39Z</dc:date>
    </item>
  </channel>
</rss>

