<?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: migrate power bi collection to power bi embeded in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431166#M13187</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The sdk's&amp;nbsp;documentation seems to stick to workspace collection,&amp;nbsp;using the example from the package's main page&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;var reportsResult = await client.Reports.GetReportsAsync(workspaceCollection, workspaceId);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't see any new methods from the latest package, where are the v2 functions you are talking about?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2018 08:14:39 GMT</pubDate>
    <dc:creator>daxu</dc:creator>
    <dc:date>2018-06-04T08:14:39Z</dc:date>
    <item>
      <title>migrate power bi collection to power bi embeded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/429387#M13068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried to follow the article to migrate power bi&amp;nbsp;collection to power bi embedded&amp;nbsp;(article link &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/migrate-from-powerbi-embedded" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/developer/migrate-from-powerbi-embedded&lt;/A&gt;). However, I got stuck very quickly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, in our app, we use this nuget package (Microsoft.PowerBI.Api and powerbi.core), and these are some of our usages:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;client.Reports.GetReportsAsync(this.workspaceCollection, this.workspaceId)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;client.Reports.DeleteReportAsync(this.workspaceCollection, this.workspaceId, report.Id);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;client.Imports.PostImportFileWithHttpMessage(this.workspaceCollection,this.workspaceId,File.OpenRead(localPath), "Main Report");&lt;/P&gt;&lt;P&gt;client.Datasets.GetGatewayDatasourcesAsync(workspaceCollection, workspaceId, dataset.Id);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;client.Gateways.PatchDatasourceAsync(workspaceCollection,workspaceId,datasources.Value[0].GatewayId,datasources.Value[0].Id,&lt;BR /&gt;delta);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;client.Datasets.GetDatasetsAsync(workspaceCollection, workspaceId);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As workspace collection will be retired, will we still be able to use above methods? If not, are there any alternative functions to use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 11:07:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/429387#M13068</guid>
      <dc:creator>daxu</dc:creator>
      <dc:date>2018-05-31T11:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: migrate power bi collection to power bi embeded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/430129#M13095</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/66640"&gt;@daxu&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm afraid we can't use it in the new scenario. Please have a look at the explanations below.&lt;/P&gt;
&lt;P&gt;1. From the&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/migrate-from-powerbi-embedded#rebuild-your-application" target="_self"&gt;#rebuild-your-application&lt;/A&gt;, we can see we need to use REST APIs instead, which are different from the old ones.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;&amp;gt;You will need to modify your application to use the Power BI REST APIs and the report location inside powerbi.com.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. The REST APIs have the similar functions and more new features. Please refer to&amp;nbsp;&lt;A href="https://msdn.microsoft.com/en-us/library/mt631672.aspx" target="_self"&gt;library/mt631672.aspx&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. I think the point is the Workspace collections&amp;nbsp;is based on Azure while the Power BI embedded is based on Power BI Service. Please refer to&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded-faq#what-is-power-bi-workspace-collection" target="_self"&gt;embedded-faq#what-is-power-bi-workspace-collection&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Other references:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/Retirement-of-workspace-collections-Questions-on-how-to-proceed/td-p/400958" target="_self"&gt;Developer/Retirement-of-workspace-collections-Questions-on-how-to-proceed/td-p/400958&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/intro-pbi-js-api/" target="_self"&gt;blog/intro-pbi-js-api/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 09:13:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/430129#M13095</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-06-01T09:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: migrate power bi collection to power bi embeded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/430908#M13175</link>
      <description>Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/66640"&gt;@daxu&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;All these could be achieved either by using the c# sdk (&lt;A href="https://github.com/Microsoft/PowerBI-CSharp" target="_blank"&gt;https://github.com/Microsoft/PowerBI-CSharp&lt;/A&gt;) or the PowerBI Rest Api. The sdk now provides a v2 of the functions and it's a wrapper of the Rest api. You may need to change some things but they are quite similar (workspace collection is now called group).&lt;BR /&gt;The new PowerBI embedded is provisioned through Azure too and it allows you to suspend the service when you don't need it. If you buy some dedicated capacity, then you can add your app workspace to it and get all the benefits.&lt;BR /&gt;If you'd like you can buy Powerbi premium capacity from the power bi service which will handle more demanding reports, but this is bought annually and can't be stopped.&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;&lt;BR /&gt;Thanos</description>
      <pubDate>Sun, 03 Jun 2018 19:22:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/430908#M13175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-03T19:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: migrate power bi collection to power bi embeded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431166#M13187</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The sdk's&amp;nbsp;documentation seems to stick to workspace collection,&amp;nbsp;using the example from the package's main page&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;var reportsResult = await client.Reports.GetReportsAsync(workspaceCollection, workspaceId);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't see any new methods from the latest package, where are the v2 functions you are talking about?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 08:14:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431166#M13187</guid>
      <dc:creator>daxu</dc:creator>
      <dc:date>2018-06-04T08:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: migrate power bi collection to power bi embeded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431190#M13189</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/66640"&gt;@daxu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the &lt;A href="https://github.com/Microsoft/PowerBI-CSharp/blob/42fe61f0b083ce7803893e74975216467ad82f65/sdk/PowerBI.Api/Source/V2/ReportsExtensions.cs" target="_blank"&gt;ReportsExtensions V2&lt;/A&gt;&amp;nbsp; where you can find the "&lt;SPAN&gt;GetReportsAsync&lt;/SPAN&gt;" method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the source code for V2 (&lt;A href="https://github.com/Microsoft/PowerBI-CSharp/tree/0d64e3c1a49eaf1718071b9ca6f000baa44bd81b/sdk/PowerBI.Api/Source/V2" target="_blank"&gt;https://github.com/Microsoft/PowerBI-CSharp/tree/0d64e3c1a49eaf1718071b9ca6f000baa44bd81b/sdk/PowerBI.Api/Source/V2&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 08:43:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431190#M13189</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-04T08:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: migrate power bi collection to power bi embeded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431200#M13190</link>
      <description>&lt;P&gt;Hi&amp;nbsp; @Anonymous&lt;/a&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I see.&lt;/P&gt;&lt;P&gt;The latest&amp;nbsp;nuget&amp;nbsp;package (&lt;A href="https://www.nuget.org/packages/Microsoft.PowerBI.Core" target="_blank"&gt;https://www.nuget.org/packages/Microsoft.PowerBI.Core&lt;/A&gt;) I can get is&amp;nbsp;1.1.11, which was published in April 2017. If you are the owner of the sdk, is it possible to publish a new version?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many Thanks&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 08:52:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431200#M13190</guid>
      <dc:creator>daxu</dc:creator>
      <dc:date>2018-06-04T08:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: migrate power bi collection to power bi embeded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431208#M13191</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/66640"&gt;@daxu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you should use the latest version of this package: &lt;A href="https://www.nuget.org/packages/Microsoft.PowerBI.Api/" target="_blank"&gt;https://www.nuget.org/packages/Microsoft.PowerBI.Api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PowerBI&amp;nbsp;SDK is maintained by Microsoft. It would be great if I was the owner &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanos&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:00:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431208#M13191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-04T09:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: migrate power bi collection to power bi embeded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431235#M13194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks. Turned out I had these using statements in my file, As a result, I never realized there are&amp;nbsp;V2 code in the package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using Microsoft.PowerBI.Api.V1;&lt;BR /&gt;using Microsoft.PowerBI.Api.V1.Models;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:14:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431235#M13194</guid>
      <dc:creator>daxu</dc:creator>
      <dc:date>2018-06-04T09:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: migrate power bi collection to power bi embeded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431242#M13195</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/66640"&gt;@daxu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;no worries, hope that your issue has been solved.&lt;/P&gt;&lt;P&gt;Please accept a reply as a solution in order to help other people to solve the same problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanos&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:20:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/migrate-power-bi-collection-to-power-bi-embeded/m-p/431242#M13195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-04T09:20:04Z</dc:date>
    </item>
  </channel>
</rss>

