<?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: PowerBI Embedded problem with Direct Query on Azure SQL in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/165351#M5515</link>
    <description>&lt;P&gt;Thanks a lot for your time and suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point,&amp;nbsp;the call to&amp;nbsp;client.Datasets.GetGatewayDatasourcesAsync(workspaceCollectionName, workspaceId, datasetId); always returns a datasources with Value.Count = 0, on any dataset IDs I've already embedded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I can't retrieve get any required ID to call the patch datasource REST API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to locate those IDs in 'manage gateways' on the web, no ID are reported there. Tried in PowerBI Desktop, same thing, no ID reported.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2017 05:40:45 GMT</pubDate>
    <dc:creator>ccounotte</dc:creator>
    <dc:date>2017-04-27T05:40:45Z</dc:date>
    <item>
      <title>PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/31916#M944</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp;a Power BI Embedded report with an SQL Azure&amp;nbsp;data source using the Direct Query method.&lt;/P&gt;&lt;P&gt;First I created a PBIX file using Power BI Desktop and then uploaded it using the Power BI Embedded sample app.&lt;/P&gt;&lt;P&gt;When embedding the report on a web page (using the JavaScript SDK), all&amp;nbsp;visualizations of the report fail to load.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use the Import method instead of Direct Query on the same dataset, the visualizations show up fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas why Direct Query isn't working on SQL Azure datasources?&lt;/P&gt;&lt;P&gt;Do I have to provide the credentials for the data source somehow after uploading the PBIX file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 18:46:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/31916#M944</guid>
      <dc:creator>christiank</dc:creator>
      <dc:date>2016-04-28T18:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/31930#M945</link>
      <description>&lt;P&gt;I wouldn't be surprised if Direct Query isn't support with Power BI Embedded. Quick question, if you use the Direct Query version and upload to the Power BI Service (not Azure Workspace) does it work OK? If it works OK, do you have an Enterprise Gateway configured?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 19:01:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/31930#M945</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2016-04-28T19:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/32035#M946</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;Direct Query is supported for the Embeded and you would need to configure the datasource after the import, here is how: &lt;A href="https://msdn.microsoft.com/library/mt711498.aspx" target="_blank"&gt;https://msdn.microsoft.com/library/mt711498.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-get-started/" target="_blank"&gt;https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-get-started/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Irina&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 02:46:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/32035#M946</guid>
      <dc:creator>irinag</dc:creator>
      <dc:date>2016-04-29T02:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/32103#M949</link>
      <description>&lt;P&gt;Thanks for the hint!&lt;/P&gt;&lt;P&gt;After setting the credentials using the Path Gateway Datasource operation it's working fine.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 08:24:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/32103#M949</guid>
      <dc:creator>christiank</dc:creator>
      <dc:date>2016-04-29T08:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/56734#M1796</link>
      <description>&lt;P&gt;Hello, I am facing the same issue with direct query and an azure database. Where exactly do you set the Path Gateway Datasource?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 02:27:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/56734#M1796</guid>
      <dc:creator>leamx</dc:creator>
      <dc:date>2016-08-09T02:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/97550#M3428</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how do I configure the Path Gateway Datasource. Searched for it but with no luck.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 08:51:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/97550#M3428</guid>
      <dc:creator>Felix</dc:creator>
      <dc:date>2016-12-05T08:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/97600#M3432</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I solved it myself. My problem was that I had to update my credentials for my existing dataset. Just select point 7 at the Provision Sample located at the &lt;STRONG&gt;&lt;FONT size="2"&gt;Power BI Embedded sample&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT size="2"&gt;and enter your credentials for the SQL Server. Updating the connection string was not necessary so I skipped it.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 09:51:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/97600#M3432</guid>
      <dc:creator>Felix</dc:creator>
      <dc:date>2016-12-05T09:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/136349#M4694</link>
      <description>&lt;P&gt;Where&amp;nbsp;&lt;SPAN&gt;exactly do you set the Path Gateway Datasource?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2017 12:59:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/136349#M4694</guid>
      <dc:creator>vanessa</dc:creator>
      <dc:date>2017-03-03T12:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137223#M4721</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if I configured the Path Gatewy Datasource. But if you want to upload your .pbix-report to your web application you can use the Provision-Example (&lt;A href="https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app/tree/master/ProvisionSample" target="_self"&gt;Provision-Sample&lt;/A&gt;). At first you have to upload your example-report (Provision-Sample: Nr. 5). After that you have to update the connection string, because it seems that the credentials you have entered before are not applied to the report uploaded to your web-app. So just select Nr. 7 of the Provision-Smaple and enter your credetials for your database. Then the report should show the data from the database.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 11:52:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137223#M4721</guid>
      <dc:creator>Felix</dc:creator>
      <dc:date>2017-03-06T11:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137236#M4722</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17895"&gt;@Felix&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured RLS on the PowerBI desktop file and when I embed it into the application, the visuals dont show up. Is there any configuration needed for that?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 12:27:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137236#M4722</guid>
      <dc:creator>vanessa</dc:creator>
      <dc:date>2017-03-06T12:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137250#M4723</link>
      <description>&lt;P&gt;Unfortunatly I don't know exactly if you have a problem with embedding your report into your web-app or with your credentials to load the data from your database into the report. Could you show me a screenshot of your embedded report?&lt;/P&gt;&lt;P&gt;Futhermore did you follow this sample:&amp;nbsp; &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-get-started-sample" target="_self"&gt;Get started with Power BI Embedded sample&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 13:04:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137250#M4723</guid>
      <dc:creator>Felix</dc:creator>
      <dc:date>2017-03-06T13:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137266#M4724</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17895"&gt;@Felix&lt;/a&gt;&lt;/P&gt;&lt;P&gt;When I embed a report using Direct Query into the app without any RLS configured, it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I configure RLS in the same pbix file and embed that into the application, the report opens up but the visuals dont.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I dont think its an issue with the credentials. It has something to do with the RLS part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use Import option and embed this report with RLS into the app, it all works fine. Looks like some issue with Direct Query+RLS.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 13:28:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137266#M4724</guid>
      <dc:creator>vanessa</dc:creator>
      <dc:date>2017-03-06T13:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137302#M4726</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/8742"&gt;@vanessa&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Ok now I understand your problem. Unfortunatly I haven't tried RLS in combination with Power BI Embedded... But it could be possible that there is a problem with this combination. Perhaps opening a support request could solve your problem.&lt;/P&gt;&lt;P&gt;I suppose you have already seen the example &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls" target="_self"&gt;Power BI Embedded with RLS&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 14:21:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137302#M4726</guid>
      <dc:creator>Felix</dc:creator>
      <dc:date>2017-03-06T14:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137389#M4728</link>
      <description>&lt;P&gt;Have you modified the EmbedToken on the embedded report to contain RLS role and user name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;string[] roles = { "NAMEOFTHEROLE" };&lt;/P&gt;&lt;P&gt;PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id, USERNAME, roles);&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 16:50:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137389#M4728</guid>
      <dc:creator>irinag</dc:creator>
      <dc:date>2017-03-06T16:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137700#M4743</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/7523"&gt;@irinag&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes. I have done that. RLS worked fine when the source was SQL server table. But the visuals don't show up when the source is Azure SQL Data warehouse.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 05:41:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/137700#M4743</guid>
      <dc:creator>vanessa</dc:creator>
      <dc:date>2017-03-07T05:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/163559#M5472</link>
      <description>&lt;P&gt;That can't be the solution.&amp;nbsp;When importing a&amp;nbsp;direct query mode PowerBI document, it only creates a datasets, and there's no gateway ID or datasource ID whatsoever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've installed the private and entreprise gateways, but none of them are providing a gateway ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the datasource ID, I have no clue where to get it in the process. Maybe if I switch to import, however I'm definitely not interested in using import-mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've following those guides:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &lt;A href="http://radacad.com/bring-the-power-into-your-application-power-bi-embedded" target="_blank"&gt;http://radacad.com/bring-the-power-into-your-application-power-bi-embedded&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SQL Server is hosted on Azure, PowerBI Web/Desktop have no issue&amp;nbsp;what soever, it's only the embedded reports that show nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No matter what I do, I only get errors for any elements of the reports, similar to those:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your private gateway is offline, but other gateway are available with the data (translated from french)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="infonav-errorInfoItem"&gt;&lt;SPAN class="infonav-errorInfoHeader"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Code d'erreur&lt;/SPAN&gt;&lt;SPAN class="infonav-errorInfoText"&gt;DMTS_NoGatewayWithAllDatasourcesToBindError&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="infonav-errorInfoItem"&gt;&lt;SPAN class="infonav-errorInfoHeader"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Server&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="infonav-errorInfoText"&gt;xx.xx.xx.xx&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="infonav-errorInfoItem"&gt;&lt;SPAN class="infonav-errorInfoHeader"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;ID de corrélation&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="infonav-errorInfoText"&gt;2cb3f593-1b0c-302c-6af9-a9d4b2ce2e7b&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="infonav-errorInfoItem"&gt;&lt;SPAN class="infonav-errorInfoHeader"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Database&lt;/SPAN&gt;&lt;SPAN class="infonav-errorInfoText"&gt;xxxxxxxxx&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="infonav-errorInfoItem"&gt;&lt;SPAN class="infonav-errorInfoHeader"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;ConnectionType&lt;/SPAN&gt;&lt;SPAN class="infonav-errorInfoText"&gt;{FieldValue}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="infonav-errorInfoItem"&gt;&lt;SPAN class="infonav-errorInfoHeader"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;ID d'activité&lt;/SPAN&gt;&lt;SPAN class="infonav-errorInfoText"&gt;ba5159c0-00fd-40cb-9fbb-957db84c03b2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="infonav-errorInfoItem"&gt;&lt;SPAN class="infonav-errorInfoHeader"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;ID de demande&lt;/SPAN&gt;&lt;SPAN class="infonav-errorInfoText"&gt;f447e1d1-aef5-4863-eb97-4b4f0987de5e&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="infonav-errorInfoItem"&gt;&lt;SPAN class="infonav-errorInfoHeader"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Heure&lt;/SPAN&gt;&lt;SPAN class="infonav-errorInfoText"&gt;Mon Apr 24 2017 15:03:24 GMT+0200 (Paris, Madrid (heure d’été))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="infonav-errorInfoItem"&gt;&lt;SPAN class="infonav-errorInfoHeader"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Version&lt;/SPAN&gt;&lt;SPAN class="infonav-errorInfoText"&gt;13.0.1700.1899&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="infonav-errorInfoItem"&gt;&lt;SPAN class="infonav-errorInfoHeader"&gt;&amp;nbsp; &amp;nbsp; URI du cluster&lt;/SPAN&gt;&lt;SPAN class="infonav-errorInfoText"&gt;&lt;A href="https://WABI-UK-SOUTH-redirect.analysis.windows.net" target="_blank"&gt;https://WABI-UK-SOUTH-redirect.analysis.windows.net&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fact is, this is an utter non-sense as my gateway is up-and-running and can be used to refresh import-mode reports!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also followed this solution:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/td-p/29326" target="_blank"&gt;https://community.powerbi.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/td-p/29326&lt;/A&gt;, but it doesn't help either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly&amp;nbsp;appreciated, I've wasted several days reinstalling everything, including the gateways, but none of the error message makes any sense.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 13:22:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/163559#M5472</guid>
      <dc:creator>ccounotte</dc:creator>
      <dc:date>2017-04-24T13:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/163812#M5477</link>
      <description>&lt;P&gt;It's possible the confusion is caused by the Power BI REST API which makes you retrive a data source ID and a gateway ID in order to set credentals for the data source used by a DirectQuery-mode dataset in Power BI Embedded. This is true even when there is no Power BI gateway invovled as in the case of using Azure SQL to create a DirectQuery-mode dataset for Power BI Embedded. I have written a sample C# console app that uses the Power BI .NET API to upload PBIX files to Power BI Embedded. If you go to this GitHub repo:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/CriticalPathTraining/PowerBiEmbedded" target="_self"&gt;https://github.com/CriticalPathTraining/PowerBiEmbedded&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And look at the Visual Studio project named&amp;nbsp;PBIEmbeddedDemo_Provisioning which contains a C# course files named&amp;nbsp;&lt;A href="https://github.com/CriticalPathTraining/PowerBiEmbedded/blob/master/PBIEmbeddedDemo_Provisioning/PBIEmbeddedDemo_Provisioning/Program.cs" target="_blank"&gt;Program.cs&lt;/A&gt;. This source file has a method named&amp;nbsp;&lt;STRONG&gt;UpdateAzureSqlDataSource&lt;/STRONG&gt; which shows you the code you need to patch credentials in Power BI embedded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also look at the following video I published tpo youtube. Go to the 55:45 minute mark to see a walkthrough of this code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=AE6j2y_F2CA" target="_self"&gt;https://www.youtube.com/watch?v=AE6j2y_F2CA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 00:27:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/163812#M5477</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2017-04-25T00:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/163945#M5485</link>
      <description>&lt;P&gt;Hello, I don't understand how this can be the answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I embedded a Direct Query report in Azure, however I can't see any data, keeps complaining my personnal gateway is offline (which is not true).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at how to configure a datasource, I have no gateway ID nor a datasource id whatsoever. All I get from the imports is a dataset id. So there's no way I can configure the datasource.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similarly I embedded a Import-mode report (at least it shows the data), but again, no datasource or gateway ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I can use is the REST API SetAllConnections to configure the connection strings, but actual info on its syntax is not well documented, and it doesn't help in any ways either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody shed some light on what I could be missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried all guides on embedding powerbi reports I could find, using the ProvisionSample or using direct REST calls, no difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: If I use the BoundGatewayDataSource on any of the datasets I've embedded, it just reports an empty list at best, an NotFound or other errors.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 06:15:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/163945#M5485</guid>
      <dc:creator>ccounotte</dc:creator>
      <dc:date>2017-04-25T06:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/164248#M5492</link>
      <description>&lt;P&gt;You should not have to change the data source connection string. You can just use the connection string that is embedded in the data source definition inside the PBIX file you are uploading to PBIE. If it works for you while you are designing a report in Power BI Desktop, the same connection string should work once you have uploaded the PBIX file to PBIE.&amp;nbsp;The only thing you MUST do after the PBIX upload is to set the credentials (e.i. user name and password) using the Power BI .NET API. It seems like this is where you are having problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you post the code you are using, I would be happy to look at it and if I can help to troubleshoot the problem. I would also encourage you to look&amp;nbsp;at the code I referred you to in my post yesterday which covers all aspects of uploading a PBIX file to Power BI Embedded and updating the data source credentials. Here is the link one more time -&amp;nbsp;&lt;A href="https://github.com/CriticalPathTraining/PowerBiEmbedded/blob/master/PBIEmbeddedDemo_Provisioning/PBIEmbeddedDemo_Provisioning/Program.cs" target="_self"&gt;Program.cs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:27:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/164248#M5492</guid>
      <dc:creator>TedPattison</dc:creator>
      <dc:date>2017-04-25T13:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded problem with Direct Query on Azure SQL</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/164659#M5504</link>
      <description>&lt;P&gt;Thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;When it calls GetGatewayDatasourcesAsync(), it returns no data sources, so I receive no gateway id or data source id. Is it because the report is in direct-query mode? Or am I missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've embedded a few direct-query reports and they all have the same issue. The same report works fine in PowerBI Desktop and fine when I publish it to the web.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a partial output of the Get Imports on my workspace. It shows a dataset, but no datasource or gateway ids.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="array-key-number"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="punctuation brace"&gt;{&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;id&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;865b0a38-3107-42ce-a382-847aa20fcec4&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;importState&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;Succeeded&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;createdDateTime&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;2017-04-21T13:09:20.637&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;updatedDateTime&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;2017-04-21T13:09:20.637&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;reports&lt;/SPAN&gt;": {&lt;DIV class="node"&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;id&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;e5098782-dec3-473d-b740-2499becc4a61&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;modelId&lt;/SPAN&gt;": &lt;SPAN class="numeric"&gt;598557&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;name&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;TestReport&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;webUrl&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;&lt;A title="Click to insert into URL field" href="https://app.powerbi.com/reports/e5098782-dec3-473d-b740-2499becc4a61" target="_blank"&gt;https://app.powerbi.com/reports/e5098782-dec3-473d-b740-2499becc4a61&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;embedUrl&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;&lt;A title="Click to insert into URL field" href="https://app.powerbi.com/appTokenReportEmbed?reportId=e5098782-dec3-473d-b740-2499becc4a61" target="_blank"&gt;https://app.powerbi.com/appTokenReportEmbed?reportId=e5098782-dec3-473d-b740-2499becc4a61&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;isOriginalPbixReport&lt;/SPAN&gt;": &lt;SPAN class="booleanValue"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;pages&lt;/SPAN&gt;": &lt;SPAN class="nullValue"&gt;null&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="punctuation brace"&gt;}&lt;/DIV&gt;&lt;DIV class="rootElementToggleButton"&gt;"&lt;SPAN class="key-name"&gt;datasets&lt;/SPAN&gt;": {&lt;DIV class="node"&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;id&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;5177b668-e586-499b-98bd-0a6b7140c5f8&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;name&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;TestReport&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;tables&lt;/SPAN&gt;": &lt;SPAN class="punctuation hidden"&gt;[&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;relationships&lt;/SPAN&gt;": &lt;SPAN class="punctuation hidden"&gt;[&lt;/SPAN&gt;&lt;SPAN class="punctuation hidden"&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;webUrl&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;&lt;A title="Click to insert into URL field" href="https://app.powerbi.com/datasets/5177b668-e586-499b-98bd-0a6b7140c5f8" target="_blank"&gt;https://app.powerbi.com/datasets/5177b668-e586-499b-98bd-0a6b7140c5f8&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="punctuation brace"&gt;}&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="node"&gt;"&lt;SPAN class="key-name"&gt;name&lt;/SPAN&gt;": &lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;SPAN class="stringValue"&gt;TestReport&lt;/SPAN&gt;&lt;SPAN class="punctuation"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="punctuation brace"&gt;}&lt;/DIV&gt;&lt;P&gt;&lt;SPAN class="punctuation hidden"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the javascript I use to show the report:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div id="reportContainer2" style="width: 100%; height: 330px;"&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;var embedConfiguration1 = {&lt;BR /&gt;type: 'report',&lt;BR /&gt;accessToken: 'eyJ0e...3Q',&lt;BR /&gt;id: 'e5098782-dec3-473d-b740-2499becc4a61',&lt;BR /&gt;embedUrl: '&lt;A href="https://embedded.powerbi.com/appTokenReportEmbed" target="_blank"&gt;https://embedded.powerbi.com/appTokenReportEmbed&lt;/A&gt;',&lt;BR /&gt;settings: { filterPaneEnabled: false, navContentPaneEnabled: false },&lt;BR /&gt;filters: {&lt;BR /&gt;$schema: "&lt;A href="http://powerbi.com/product/schema#basic" target="_blank"&gt;http://powerbi.com/product/schema#basic&lt;/A&gt;",&lt;BR /&gt;"target": {&lt;BR /&gt;"table": "Circuits",&lt;BR /&gt;"column": "id_circuit"&lt;BR /&gt;},&lt;BR /&gt;"operator": "In",&lt;BR /&gt;"values": [257795,256022,256023]&lt;BR /&gt;}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var $reportContainer = $('#reportContainer1');&lt;BR /&gt;var report = powerbi.embed($reportContainer.get(0), embedConfiguration1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that the filter does not work at all so far, be it with a direct-query or imported report.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 05:09:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-problem-with-Direct-Query-on-Azure-SQL/m-p/164659#M5504</guid>
      <dc:creator>ccounotte</dc:creator>
      <dc:date>2017-04-26T05:09:48Z</dc:date>
    </item>
  </channel>
</rss>

