<?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 Embeded using direct query and RLS in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embeded-using-direct-query-and-RLS/m-p/667504#M19074</link>
    <description>&lt;P&gt;Have you got any answers to this since january?&lt;/P&gt;&lt;P&gt;I can't make it work too..&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2019 11:38:18 GMT</pubDate>
    <dc:creator>MWpower</dc:creator>
    <dc:date>2019-04-11T11:38:18Z</dc:date>
    <item>
      <title>Power BI Embeded using direct query and RLS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embeded-using-direct-query-and-RLS/m-p/612953#M18430</link>
      <description>&lt;P&gt;I created a report and I am using RLS. The report is connected to a Azure SQL database using direct query. When I am testing RLS in the report it all works fine. I am using Power BI embedded to interate the report in my application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I first publish the report to service. But when I publising the report I get a message "Publishing succeeded, but the published report cannot connect to the data source because we were unabaile to find a gateway. Please install and configure a gateway."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data source is an Azure SQL database, so if I am right I don't have to use a gateway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Power BI service I can open the report. When I Don't pass indentities to the embed token API I can upload the report in my application. The moment I add roles and username and to the API the report is not uploaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use the same setup as described above with the only difference that I am using csv files instead of Azure SQL and direct query everthing works fine. I can pass username and roles to the API and RLS works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I do something wrong or is it just not possible to use RLS in Power BI embedded in combiation with direct query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Arno&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 14:23:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embeded-using-direct-query-and-RLS/m-p/612953#M18430</guid>
      <dc:creator>Tairo</dc:creator>
      <dc:date>2019-01-30T14:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embeded using direct query and RLS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embeded-using-direct-query-and-RLS/m-p/667504#M19074</link>
      <description>&lt;P&gt;Have you got any answers to this since january?&lt;/P&gt;&lt;P&gt;I can't make it work too..&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:38:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embeded-using-direct-query-and-RLS/m-p/667504#M19074</guid>
      <dc:creator>MWpower</dc:creator>
      <dc:date>2019-04-11T11:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embeded using direct query and RLS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embeded-using-direct-query-and-RLS/m-p/669811#M19119</link>
      <description>&lt;P&gt;Hi MWpower,&lt;/P&gt;&lt;P&gt;With the help of MicroSoft I was able to figure out what the problem was. I was passing a fixed dataset id using the API. So PBI only worked using that dataset. I changed the script so that I can, besides Username and Role, also multiple datasets id's. That worked for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tairo&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 08:22:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embeded-using-direct-query-and-RLS/m-p/669811#M19119</guid>
      <dc:creator>Tairo</dc:creator>
      <dc:date>2019-04-15T08:22:29Z</dc:date>
    </item>
  </channel>
</rss>

