<?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: Migration from Collections to Embedded Confusion in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/437175#M13498</link>
    <description>&lt;P&gt;Thanks Thanos. I am taking a look at your sample code and there appears to be a couple errors that I am struggling with understanding&amp;nbsp;what is missing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first is&amp;nbsp;CloneReportAsync where we are calling&amp;nbsp;PostUpdateDatasourcesConnectionAsync. It is looking for reportDatasetKey which is an unknown variable. Any idea what they should be set as?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also an issue in&amp;nbsp;PostUpdateDatasourcesConnectionAsync on the call to SendAsync using the object created from StringContent but the method is expecting a Stream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The last one is in&amp;nbsp;SetReportParameters. It is using&amp;nbsp;destinationWorkspaceId which is an undefined variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help. It looks like this should work if I can get past this issues.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2018 16:33:35 GMT</pubDate>
    <dc:creator>structure40</dc:creator>
    <dc:date>2018-06-11T16:33:35Z</dc:date>
    <item>
      <title>Migration from Collections to Embedded Confusion</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/435889#M13468</link>
      <description>&lt;P&gt;I have followed &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/migrate-from-power-bi-workspace-collections" target="_self"&gt;the guide&lt;/A&gt;&amp;nbsp;for migration. What I am struggling with is updating the username and password for my reports that have been migrated. I have read through the not &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/migrate-code-snippets#update-directquery-connection-string-in-power-bi-embedded" target="_self"&gt;so helpful code snippets&lt;/A&gt;&amp;nbsp;but have no idea where to get the information required from the snippets. For example on setting the &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/migrate-code-snippets#set-directquery-credentials-in-power-bi-embedded" target="_self"&gt;credentials&lt;/A&gt;: what is the new gateway id and dataset id?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The guide states the values could be updated manually from PowerBI.com but I only get 400 errors when trying no matter what migrated report I try. Anybody able to successfully migrate and update DirectQuery credentials?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 21:57:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/435889#M13468</guid>
      <dc:creator>structure40</dc:creator>
      <dc:date>2018-06-08T21:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from Collections to Embedded Confusion</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/436621#M13469</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/67681"&gt;@structure40&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you wanna read my &lt;A href="https://medium.com/@thanosd/deploy-power-bi-template-reports-in-a-multitenant-environment-26a9cb84079" target="_blank"&gt;blog post&lt;/A&gt; about templating in a multi-tenant environment. In there I also explain (and also provide a gist) some things about credentials (updata datasources and credentials).&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanos&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 07:08:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/436621#M13469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-11T07:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from Collections to Embedded Confusion</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/437175#M13498</link>
      <description>&lt;P&gt;Thanks Thanos. I am taking a look at your sample code and there appears to be a couple errors that I am struggling with understanding&amp;nbsp;what is missing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first is&amp;nbsp;CloneReportAsync where we are calling&amp;nbsp;PostUpdateDatasourcesConnectionAsync. It is looking for reportDatasetKey which is an unknown variable. Any idea what they should be set as?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also an issue in&amp;nbsp;PostUpdateDatasourcesConnectionAsync on the call to SendAsync using the object created from StringContent but the method is expecting a Stream.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The last one is in&amp;nbsp;SetReportParameters. It is using&amp;nbsp;destinationWorkspaceId which is an undefined variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help. It looks like this should work if I can get past this issues.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 16:33:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/437175#M13498</guid>
      <dc:creator>structure40</dc:creator>
      <dc:date>2018-06-11T16:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from Collections to Embedded Confusion</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/437467#M13505</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/67681"&gt;@structure40&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for taking the time to view the gist. These were some typo mistakes while I was moving the code from production to the gist and doing the appropriate transformations. I fixed the gist so you can try again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fixes performed:&lt;/P&gt;&lt;P&gt;- (&lt;SPAN&gt;PostUpdateDatasourcesConnectionAsync&lt;/SPAN&gt;)The reportDatasetKey&amp;nbsp;changed to &lt;SPAN&gt;reportDatasetId&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- (&lt;SPAN&gt;SetReportParameters)destinationWorkspaceId changed to &lt;/SPAN&gt;&lt;SPAN&gt;tenantWorkspaceId&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- (PostUpdateDatasourcesConnectionAsync) SendAsync has been changed to accept HttpContent&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanos&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PS: Please accept this reply as solution if this solved your problem. We should help other people to know that there is an answer for this issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 04:34:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/437467#M13505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-12T04:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from Collections to Embedded Confusion</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/438031#M13517</link>
      <description>&lt;P&gt;Thanks for the update. I ended up in the same place as you did with your proposed changes. I also had to enable a firewall rule on the database I was trying to access to get this to work. Thanks again for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 15:34:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Migration-from-Collections-to-Embedded-Confusion/m-p/438031#M13517</guid>
      <dc:creator>structure40</dc:creator>
      <dc:date>2018-06-12T15:34:53Z</dc:date>
    </item>
  </channel>
</rss>

