<?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 Embed token Identities Array in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embed-token-Identities-Array/m-p/438192#M13519</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Is there a way to find out if a Power BI report accepts the identities array in the embed token request, before requesting the embed token (or find out if a report is configured to accept RLS or not before we made the embed token request to the API)?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jun 2018 19:32:46 GMT</pubDate>
    <dc:creator>cyan</dc:creator>
    <dc:date>2018-06-12T19:32:46Z</dc:date>
    <item>
      <title>Embed token Identities Array</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embed-token-Identities-Array/m-p/438192#M13519</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Is there a way to find out if a Power BI report accepts the identities array in the embed token request, before requesting the embed token (or find out if a report is configured to accept RLS or not before we made the embed token request to the API)?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 19:32:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embed-token-Identities-Array/m-p/438192#M13519</guid>
      <dc:creator>cyan</dc:creator>
      <dc:date>2018-06-12T19:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Embed token Identities Array</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embed-token-Identities-Array/m-p/438690#M13537</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32273"&gt;@cyan&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;May I ask if it's necessary to find out if a report accepts RLS? We can design it. Please refer to&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security" target="_self"&gt;developer/embedded-row-level-security&lt;/A&gt;. Is the&amp;nbsp;&lt;SPAN&gt;Identities Array like below?&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;{
    "accessLevel": "View",
    "identities": [
        {
            "username": "EffectiveIdentity",
            "roles": [ "Role1", "Role2" ],
            "datasets": [ "fe0a1aeb-f6a4-4b27-a2d3-b5df3bb28bdc" ]
        }
    ]
}&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dale&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:41:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embed-token-Identities-Array/m-p/438690#M13537</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-06-13T09:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Embed token Identities Array</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embed-token-Identities-Array/m-p/442153#M13638</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/28904"&gt;@v-jiascu-msft&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason is that in my API I want to use the same method to getReport for reports with or without RLS,&amp;nbsp;currently I don't know if a report accepts RLS or not, so if I called the getReport method (which I generate the embed token in this method as well) and the requested report has RLS I have to pass the identites array like you mentioned in your comment, but if it doesn't require RLS I should only pass the accessLevel, so I need to know if it accepts RLS or not so that I construct the right parameters for the&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;GenerateTokenRequest because otherwise it will throw an HttpOperationException.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And yes the identities is like you mentioned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please let me know if my request is feasible or if you have other suggestions for my case?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 14:21:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embed-token-Identities-Array/m-p/442153#M13638</guid>
      <dc:creator>cyan</dc:creator>
      <dc:date>2018-06-18T14:21:31Z</dc:date>
    </item>
  </channel>
</rss>

