<?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: Report is duplicated when deployed by API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Report-is-duplicated-when-deployed-by-API/m-p/3061734#M41041</link>
    <description>&lt;P&gt;Have you considered using deployment pipelines instead?&lt;/P&gt;</description>
    <pubDate>Sat, 04 Feb 2023 19:23:11 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-02-04T19:23:11Z</dc:date>
    <item>
      <title>Report is duplicated when deployed by API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-is-duplicated-when-deployed-by-API/m-p/3059950#M41024</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm facing a very common issue when deploying report with API, I have a report connected to a dataset the report is deployed on two different workspaces and each workspace contains a different dataset to which the report should be connected once deployed:&lt;/P&gt;&lt;P&gt;dev workspace:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dev dataset &amp;lt;- report&lt;/P&gt;&lt;P&gt;uat workspace:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;uat dataset &amp;lt;- report&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I develop the report is connected to the dev dataset, when I need to move to uat workspace I want to deploy it with devops pipeline using powerbi api. The problem is that the report is duplicated once deployed in the uat workspace so I end up with 2 reports with same name: one connected to the uat dataset (the old report) and one connected to the dev dataset (the one with latest changes). The issue is that PowerBI service consider different the report that I'm going to deploy even if it has the same name of the one already present in the workspace just because it is connected to a different dataset.&lt;/P&gt;&lt;P&gt;I try with different solution:&lt;/P&gt;&lt;P&gt;- remove the report before the deploy and after deploy rebind the report to the correct dataset but I can't use this solution as it change the reportId and so the link of the report;&lt;/P&gt;&lt;P&gt;- change the pbix extension to zip and update the Connections file and then convert back the zip archive to pbix, this doesn't works as when I convert the zip back to pbix the report is corrupted;&lt;/P&gt;&lt;P&gt;- pbi-tools it as the exctract and compile command that allow to change the Connections files and obtain the updated pbix but the extract command is not available in pbi-tools.core so I can't use this command in Azure devops so also this solution doesn't work for me;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are other way to change the dataset to which a report is connected programmatically?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 08:48:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-is-duplicated-when-deployed-by-API/m-p/3059950#M41024</guid>
      <dc:creator>SimoneCordella</dc:creator>
      <dc:date>2023-02-03T08:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Report is duplicated when deployed by API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-is-duplicated-when-deployed-by-API/m-p/3061734#M41041</link>
      <description>&lt;P&gt;Have you considered using deployment pipelines instead?&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 19:23:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-is-duplicated-when-deployed-by-API/m-p/3061734#M41041</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-02-04T19:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Report is duplicated when deployed by API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-is-duplicated-when-deployed-by-API/m-p/3063279#M41055</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes I forgot to mention in the first message but I tryed also them but they suffer of the same issue. The report is duplicated.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 08:56:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-is-duplicated-when-deployed-by-API/m-p/3063279#M41055</guid>
      <dc:creator>SimoneCordella</dc:creator>
      <dc:date>2023-02-06T08:56:35Z</dc:date>
    </item>
  </channel>
</rss>

