<?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 Using API to clone report and dataset into new workspace in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-clone-report-and-dataset-into-new-workspace/m-p/488404#M14971</link>
    <description>&lt;P&gt;I'm working on creating an automated process&amp;nbsp;to create a new report/dataset from a template using Microsoft Flow and the Power BI API.&amp;nbsp; Using Flow limits me quite a bit, but I believe this should be plausible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple options and my limitations are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Import from .pbix file to destination workspace, then update report parameters (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/imports/postimportingroup" target="_blank"&gt;Post Import in Group&lt;/A&gt;)&lt;UL&gt;&lt;LI&gt;I'm unaware of any way to convert the .pbix file in Flow and passing to the request body.&amp;nbsp; Is this a viable option?&amp;nbsp; The only solutions I've found use scripting languages that aren't a current option.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Copy Report from Template workspace to destination workspace (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/clonereportingroup" target="_blank"&gt;Clone Report in Group&lt;/A&gt;)&lt;UL&gt;&lt;LI&gt;I'm stuck here not having a datatset to tie this to (targetModelId parameter).&amp;nbsp; Is there a way to duplicate a dataset from another workspace (or another source) prior to cloning report?&amp;nbsp; I don't need the data, but just need the scheme, so maybe there's a way to extract that instead?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Are there any other options that could fit this Flow-API model?&lt;/P&gt;</description>
    <pubDate>Mon, 13 Aug 2018 19:38:10 GMT</pubDate>
    <dc:creator>bmavity</dc:creator>
    <dc:date>2018-08-13T19:38:10Z</dc:date>
    <item>
      <title>Using API to clone report and dataset into new workspace</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-clone-report-and-dataset-into-new-workspace/m-p/488404#M14971</link>
      <description>&lt;P&gt;I'm working on creating an automated process&amp;nbsp;to create a new report/dataset from a template using Microsoft Flow and the Power BI API.&amp;nbsp; Using Flow limits me quite a bit, but I believe this should be plausible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple options and my limitations are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Import from .pbix file to destination workspace, then update report parameters (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/imports/postimportingroup" target="_blank"&gt;Post Import in Group&lt;/A&gt;)&lt;UL&gt;&lt;LI&gt;I'm unaware of any way to convert the .pbix file in Flow and passing to the request body.&amp;nbsp; Is this a viable option?&amp;nbsp; The only solutions I've found use scripting languages that aren't a current option.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Copy Report from Template workspace to destination workspace (&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/clonereportingroup" target="_blank"&gt;Clone Report in Group&lt;/A&gt;)&lt;UL&gt;&lt;LI&gt;I'm stuck here not having a datatset to tie this to (targetModelId parameter).&amp;nbsp; Is there a way to duplicate a dataset from another workspace (or another source) prior to cloning report?&amp;nbsp; I don't need the data, but just need the scheme, so maybe there's a way to extract that instead?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Are there any other options that could fit this Flow-API model?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 19:38:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-clone-report-and-dataset-into-new-workspace/m-p/488404#M14971</guid>
      <dc:creator>bmavity</dc:creator>
      <dc:date>2018-08-13T19:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using API to clone report and dataset into new workspace</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-clone-report-and-dataset-into-new-workspace/m-p/489097#M14988</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="30255" data-lia-user-login="bmavity" class="lia-mention lia-mention-user"&gt;bmavity&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. I would suggest you go to&amp;nbsp;&lt;A href="https://flow.microsoft.com/en-us/support/" target="_self"&gt;https://flow.microsoft.com/en-us/support/&lt;/A&gt;&amp;nbsp;for professional support.&lt;/P&gt;
&lt;P&gt;2. How about &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/reports/exportreportingroup" target="_self"&gt;exporting the report&lt;/A&gt; and then &lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/imports/postimportingroup" target="_self"&gt;importing it&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Dale&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 09:47:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-clone-report-and-dataset-into-new-workspace/m-p/489097#M14988</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-08-14T09:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using API to clone report and dataset into new workspace</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-clone-report-and-dataset-into-new-workspace/m-p/489315#M14994</link>
      <description>&lt;P&gt;Thanks, Dale!&amp;nbsp; Appreciate the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have submitted a support ticket with Microsoft as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for export then import, I'm consistently getting bad request errors because the export output does not appear to be in the correct format for the import.&amp;nbsp; I'll keep troubleshooting in the meantime and reply back if there's any significant update.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 12:47:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Using-API-to-clone-report-and-dataset-into-new-workspace/m-p/489315#M14994</guid>
      <dc:creator>bmavity</dc:creator>
      <dc:date>2018-08-14T12:47:17Z</dc:date>
    </item>
  </channel>
</rss>

