<?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: PowerShell - deploy and Update PBIX on Report Server in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-deploy-and-Update-PBIX-on-Report-Server/m-p/653973#M9915</link>
    <description>&lt;P&gt;Hi Asma,&lt;/P&gt;&lt;P&gt;same issue on my side, even if I put -overwrite option.&lt;BR /&gt;Did you find a solution ?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2019 10:09:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-26T10:09:40Z</dc:date>
    <item>
      <title>PowerShell - deploy and Update PBIX on Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-deploy-and-Update-PBIX-on-Report-Server/m-p/631081#M9677</link>
      <description>&lt;P&gt;Hello Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used theses lines in order to deploy a pbix file on Report Server :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$session = New-RsRestSession -ReportPortalUri http://lservername/Reports&lt;BR /&gt;Write-RsRestCatalogItem -WebSession $session -Path "C:\2019\mypbix.pbix" -RsFolder "/MyFolder"&lt;/P&gt;&lt;P&gt;It is working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, when I need to update the bix with another version , I used the same command bellow but I am getting this error :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Write-RsRestCatalogItem : System.Exception: Failed to create catalog item: The remote server returned an error: (409) Conflict. ---&amp;gt; System.Net.WebException: The remote server returned an&lt;BR /&gt;error: (409) Conflict.&lt;BR /&gt;at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)&lt;BR /&gt;at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()&lt;BR /&gt;--- End of inner exception stack trace ---&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Write-RsRestCatalogItem -WebSession $session -Path "C:\2019\PwC Acade ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException&lt;BR /&gt;+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-RsRestCatalogItem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does any one please have an idea about hte command PowerShell that could update&amp;nbsp; apbix previously on the Server please by 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;Best Regards,&lt;/P&gt;&lt;P&gt;Asma&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 14:29:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-deploy-and-Update-PBIX-on-Report-Server/m-p/631081#M9677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-25T14:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell - deploy and Update PBIX on Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-deploy-and-Update-PBIX-on-Report-Server/m-p/653973#M9915</link>
      <description>&lt;P&gt;Hi Asma,&lt;/P&gt;&lt;P&gt;same issue on my side, even if I put -overwrite option.&lt;BR /&gt;Did you find a solution ?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 10:09:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-deploy-and-Update-PBIX-on-Report-Server/m-p/653973#M9915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-26T10:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell - deploy and Update PBIX on Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-deploy-and-Update-PBIX-on-Report-Server/m-p/1533742#M17047</link>
      <description>&lt;P&gt;I am having the same issue. This seems to have started after the upgrade to the Power BI report server Oct 2020 version. I can run the PowerShell script on the TFS build server but it fails for several reports (not all) when I run this through the DevOps build using a build service account. It is not consistent on which reports publish and which don't reports in the same location on the report server work fine while others fail.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 21:55:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-deploy-and-Update-PBIX-on-Report-Server/m-p/1533742#M17047</guid>
      <dc:creator>JimTheBIGuy</dc:creator>
      <dc:date>2020-12-04T21:55:26Z</dc:date>
    </item>
  </channel>
</rss>

