<?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: Connection String for Embedded report which uses DirectQuery in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/42157#M1286</link>
    <description>&lt;P&gt;&lt;SPAN&gt;What format is step 7 of the sample program expecting???&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've tried all kinds of combinations for the connection string, and I keep getting errors. &amp;nbsp;Can someone PLEASE HELP??? &amp;nbsp;Much appreciated. &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;“Data Source=server1: port1” will open a connection to an Analysis Services instance running on port “port1” on “server1”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've even tried importing a pbix file that connects to our local sql server db using the syntax below and I continue to get errors such as Index was out of range. &amp;nbsp;Must be non-negative and less than size of the collection. &amp;nbsp;Or I'd get Operation returned an invalid status code 'InternalServerError'. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;“Data Source=xxx;Persist Security Info=False;Integrated Security=SSPI;Initial Catalog=xxx”&lt;/P&gt;&lt;P&gt;&amp;nbsp;Data Source=xxx;Initial Catalog=xxx&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2016 21:57:20 GMT</pubDate>
    <dc:creator>KrisTea</dc:creator>
    <dc:date>2016-06-10T21:57:20Z</dc:date>
    <item>
      <title>Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/29326#M841</link>
      <description>&lt;P&gt;I have a PBIX which uses a Direct Query to a SQL Azure database. I have followed the steps in &lt;A href="https://azure.microsoft.com/en-gb/documentation/articles/power-bi-embedded-get-started-sample" target="_blank"&gt;https://azure.microsoft.com/en-gb/documentation/articles/power-bi-embedded-get-started-sample&lt;/A&gt; to create a workspace etc and get to the point where it states "...run option 7 to update the connection strings". The downfall seems to be the connection string itself; I have tried 'xxxx.database.windows.net: databasename' or 'Server=xxxx.database.windows.net; Database=databasename'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the correct format for the connection string?&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>Thu, 14 Apr 2016 18:54:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/29326#M841</guid>
      <dc:creator>gjross</dc:creator>
      <dc:date>2016-04-14T18:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/30589#M892</link>
      <description>&lt;P&gt;Hey, I also am having a problem here, just wondering, did you find the right format ? or a workaround ?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 08:47:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/30589#M892</guid>
      <dc:creator>Infero</dc:creator>
      <dc:date>2016-04-22T08:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/30608#M893</link>
      <description>&lt;P&gt;I built a new workspace and ran the project again, this time, when running Option 7, I only updated the username and password. I hit enter to skip updating the connection string - and it worked.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 10:33:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/30608#M893</guid>
      <dc:creator>gjross</dc:creator>
      <dc:date>2016-04-22T10:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/34186#M1011</link>
      <description>&lt;P&gt;Yes that will work as it retains the connection string from the .pbix file you upload.&amp;nbsp; If you want to programmatically change the connection string (e.g. to switch between DEV/TEST/LIVE) then I believe this should help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://msdn.microsoft.com/en-us/library/azure/mt711505.aspx" target="_self"&gt;https://msdn.microsoft.com/en-us/library/azure/mt711505.aspx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 16:56:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/34186#M1011</guid>
      <dc:creator>Brian_M</dc:creator>
      <dc:date>2016-05-09T16:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/34223#M1014</link>
      <description>&lt;P&gt;Perfect, thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 19:05:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/34223#M1014</guid>
      <dc:creator>gjross</dc:creator>
      <dc:date>2016-05-09T19:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/35654#M1092</link>
      <description>I have the same problem with a directe connection to ssas cube. My report works fine when uploaded to pbi services. Which parameter I should introduce on step7 ? Is their any save credentials option on the pbix file that I have to do?</description>
      <pubDate>Sun, 15 May 2016 19:06:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/35654#M1092</guid>
      <dc:creator>Oussama</dc:creator>
      <dc:date>2016-05-15T19:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/42153#M1285</link>
      <description>&lt;P&gt;Hi, can someone please post a sample connection string to connect to an AS model? &amp;nbsp;My PBIX connects to an AS model rather than SQL Server database. &amp;nbsp;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 21:09:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/42153#M1285</guid>
      <dc:creator>KrisTea</dc:creator>
      <dc:date>2016-06-10T21:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/42157#M1286</link>
      <description>&lt;P&gt;&lt;SPAN&gt;What format is step 7 of the sample program expecting???&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've tried all kinds of combinations for the connection string, and I keep getting errors. &amp;nbsp;Can someone PLEASE HELP??? &amp;nbsp;Much appreciated. &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;“Data Source=server1: port1” will open a connection to an Analysis Services instance running on port “port1” on “server1”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've even tried importing a pbix file that connects to our local sql server db using the syntax below and I continue to get errors such as Index was out of range. &amp;nbsp;Must be non-negative and less than size of the collection. &amp;nbsp;Or I'd get Operation returned an invalid status code 'InternalServerError'. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;“Data Source=xxx;Persist Security Info=False;Integrated Security=SSPI;Initial Catalog=xxx”&lt;/P&gt;&lt;P&gt;&amp;nbsp;Data Source=xxx;Initial Catalog=xxx&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 21:57:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/42157#M1286</guid>
      <dc:creator>KrisTea</dc:creator>
      <dc:date>2016-06-10T21:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/84875#M2992</link>
      <description>&lt;P&gt;Are there any updates to this issue? Can somebody please provide exact input expected for SQL Server connection string?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 02:43:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/84875#M2992</guid>
      <dc:creator>TheEdcomm</dc:creator>
      <dc:date>2016-11-02T02:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/102331#M3559</link>
      <description>&lt;P&gt;This tutorial &amp;nbsp;&lt;A title="How to use Power BI Embedded with REST" href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-iframe" target="_blank"&gt;How to use Power BI Embedded with REST&lt;/A&gt;&amp;nbsp;helped me set the credential for my datasource. I was not able to set them using the option 7 of the provision example, I used a Rest client like &lt;A href="https://www.getpostman.com/" target="_blank"&gt;PostMan&lt;/A&gt;&amp;nbsp; and followed the article &amp;nbsp;specifically the &amp;nbsp;part in &amp;nbsp;"Data Source Connectivity (and multi-tenacy of data)".&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see the format of the connection string in the article.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 14:38:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/102331#M3559</guid>
      <dc:creator>gpanagakis</dc:creator>
      <dc:date>2016-12-14T14:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/102336#M3560</link>
      <description>&lt;P&gt;A very useful article is&amp;nbsp;&lt;A title="How to use Power BI Embedded with REST" href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-iframe" target="_blank"&gt;How to use Power BI Embedded with REST&lt;/A&gt;&amp;nbsp;under the heading "data source connectivity" I found&lt;/P&gt;&lt;P&gt;very useful info how to set connection strings and set credential to the datasource. I could not make it using the provisioning sample option 7 and following the articles advise I used a rest client like &lt;A title="PostMan" href="https://www.getpostman.com/" target="_self"&gt;PostMan&lt;/A&gt;&amp;nbsp; and send the requests,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope I helped!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 14:49:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/102336#M3560</guid>
      <dc:creator>gpanagakis</dc:creator>
      <dc:date>2016-12-14T14:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Connection String for Embedded report which uses DirectQuery</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/122497#M4221</link>
      <description>&lt;P&gt;While designing the report use Direct query method instead of Import in Power BI desktop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then import the Pbix file using Provisionsample command line .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally update the dataset using the following connection string format:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Data Source=xxxx.database.windows.net;Initial Catalog=dbname;User ID=xxx;Password=xxxx;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked well for me. Hope it will help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:32:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Connection-String-for-Embedded-report-which-uses-DirectQuery/m-p/122497#M4221</guid>
      <dc:creator>sundar</dc:creator>
      <dc:date>2017-02-03T13:32:33Z</dc:date>
    </item>
  </channel>
</rss>

