<?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 Embedded Row Level Security in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-Row-Level-Security/m-p/142867#M4920</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/13651"&gt;@singhal14&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Could you post the code snippet of the RLS token?&lt;/P&gt;
&lt;P&gt;In my case, I use below and it works in my test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id, Convert.ToDateTime("2017-12-31"),"username",new string[] { "roleName" });&lt;/PRE&gt;</description>
    <pubDate>Wed, 15 Mar 2017 08:34:45 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-03-15T08:34:45Z</dc:date>
    <item>
      <title>Power Bi Embedded Row Level Security</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-Row-Level-Security/m-p/142111#M4903</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to implement row-level security in my power bi embedded report in my web page using this link:&lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-iframe" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-iframe&lt;/A&gt; , but whenever I add username, role and scp in token 2 the output changes into "The content is'nt available" ,(Without adding these parameters my report works fine ). Any idea what I might be doing wrong?(There is no problem in my RLS rule either)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 08:42:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-Row-Level-Security/m-p/142111#M4903</guid>
      <dc:creator>singhal14</dc:creator>
      <dc:date>2017-03-14T08:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi Embedded Row Level Security</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-Row-Level-Security/m-p/142867#M4920</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/13651"&gt;@singhal14&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Could you post the code snippet of the RLS token?&lt;/P&gt;
&lt;P&gt;In my case, I use below and it works in my test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id, Convert.ToDateTime("2017-12-31"),"username",new string[] { "roleName" });&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Mar 2017 08:34:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-Row-Level-Security/m-p/142867#M4920</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-03-15T08:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi Embedded Row Level Security</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-Row-Level-Security/m-p/160886#M5410</link>
      <description>&lt;P&gt;Were you able to resolve the issue singhal&lt;SPAN class=""&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am having the same problem, using either one similar to the token in the sample and one with an exipration set as per Eric's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;IEnumerable&amp;lt;string&amp;gt; UserRoles = new List&amp;lt;string&amp;gt;() {"provider"};&lt;BR /&gt;var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id, "10005", UserRoles);&lt;/PRE&gt;&lt;PRE&gt;var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id, Convert.ToDateTime("2017-12-12"), "10005", new string[] { "provider" });&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 04:37:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embedded-Row-Level-Security/m-p/160886#M5410</guid>
      <dc:creator>rsb_powerbi</dc:creator>
      <dc:date>2017-04-19T04:37:09Z</dc:date>
    </item>
  </channel>
</rss>

