<?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: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/397477#M5146</link>
    <description>&lt;P&gt;&lt;A href="http://byobi.com/2018/04/programmatically-deploy-power-bi-reports-to-power-bi-report-server/" target="_blank"&gt;http://byobi.com/2018/04/programmatically-deploy-power-bi-reports-to-power-bi-report-server/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Try creating a session to your report server like the link shows. I'll replace some variables in the code below.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;X = report server uri&lt;/LI&gt;&lt;LI&gt;Y = path to file&lt;/LI&gt;&lt;LI&gt;Z = folder you're writing to. Be sure to write a "/" in front of it&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$session = New-RsRestSession -ReportPortalUri X&lt;/P&gt;&lt;P&gt;Write-RsRestCatalogItem -WebSession $session -Path&amp;nbsp;Y -RsFolder&amp;nbsp;Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it works.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2018 21:24:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-16T21:24:46Z</dc:date>
    <item>
      <title>Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/381630#M4606</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to upload my Power BI Report files to Power BI Report Server.&amp;nbsp;I have tried with PowerShell Utility &lt;A href="https://github.com/Microsoft/ReportingServicesTools" target="_blank"&gt;ReportingServicesTools&lt;/A&gt;&amp;nbsp;for SSRS Report and able to publish the SSRS reports in Power BI Report Server, but the same code is not working for PBIX files. I am able to publish using Power BI Desktop (October 2017) and able to upload through Power BI Reporting portal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any option available to upload the&amp;nbsp;Power BI Report files(PBIX) to On Prime Power BI Report Server using&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;command line utility like Rs.exe for SSRS? , have tried with RSPowerBI.Exe, not sure about the parameter list.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;or using PowerShell command?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Navaneethakrishnan Thangaraj&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 11:10:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/381630#M4606</guid>
      <dc:creator>elitekrishnan</dc:creator>
      <dc:date>2018-03-22T11:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/382966#M4649</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;Navaneethakrishnan&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try the &lt;SPAN&gt;Write-RsRestCatalogItem PowerShell command (&lt;/SPAN&gt;&lt;A href="https://github.com/Microsoft/ReportingServicesTools/blob/master/ReportingServicesTools/Functions/CatalogItems/Rest/Write-RsRestCatalogItem.ps1" target="_blank"&gt;https://github.com/Microsoft/ReportingServicesTools/blob/master/ReportingServicesTools/Functions/CatalogItems/Rest/Write-RsRestCatalogItem.ps1&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Krisztian&lt;/P&gt;</description>
      <pubDate>Sat, 24 Mar 2018 01:00:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/382966#M4649</guid>
      <dc:creator>krisztb</dc:creator>
      <dc:date>2018-03-24T01:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/383291#M4653</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Krisztian,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your help. It is working.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Mar 2018 17:34:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/383291#M4653</guid>
      <dc:creator>elitekrishnan</dc:creator>
      <dc:date>2018-03-25T17:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/397342#M5138</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you give any additional pointers? I am trying to do the same thing and I have tried dozens of shell commands by now. Most of them don't return an error, but none of them results in the report being published to the report server. What am I doing wrong? Is there some sort of logging?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is part of what I have tried so far:&lt;/P&gt;&lt;P&gt;PS F:\&amp;gt; ./Write-RsCatalogItem -ReportServerUri 'http://localhost:8080/reports' -Path f:\test.pbix&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsCatalogItem -ReportServerUri 'http://localhost/reports' -Path f:\test.pbix&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsCatalogItem -ReportServerUri 'http://localhost/reports' -Path f:\test.pbix -rsfolder /Archief&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsCatalogItem -ReportServerUri 'http://localhost:8080/reports' -Path f:\test.pbix -rsfolder /Archief&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsCatalogItem -ReportServerUri "http://localhost:8080/reports" -Path f:\test.pbix -rsfolder /Archief&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsCatalogItem -ReportServerUri "http://localhost:80/reports" -Path f:\test.pbix -rsfolder /Archief&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportServerUri "http://localhost:80/reports" -Path f:\test.pbix -rsfolder /Archief&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportServerUri "http://localhost/reports" -Path f:\test.pbix -rsfolder /Archief&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportServerUri "http://bidb01a/reports" -Path f:\test.pbix -rsfolder /Archief&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportPortalUri "http://bidb01a/reports" -Path f:\test.pbix -rsfolder /Archief&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportPortalUri "http://localhost/reports" -Path f:\test.pbix -rsfolder /Archief&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportPortalUri "http://localhost/reports" -Path f:\test.pbix&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -Path f:\test.pbix&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportPortalUri 'http://bidb01a:8080/Reports' -Path f:\test.pbix&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportPortalUri 'http://bidb01a:8080/Reports' -Path f:\test.pbix&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportPortalUri 'http://bidb01a:8080/Reports' -Path 'f:\test.pbix'&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportPortalUri 'http://localhost:8080/Reports' -Path 'f:\test.pbix'&lt;BR /&gt;PS F:\&amp;gt; ./Write-RsRestCatalogItem -ReportPortalUri 'http://localhost/Reports' -Path 'f:\test.pbix'&lt;BR /&gt;PS F:\&amp;gt; '&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 16:34:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/397342#M5138</guid>
      <dc:creator>Plantje</dc:creator>
      <dc:date>2018-04-16T16:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/397477#M5146</link>
      <description>&lt;P&gt;&lt;A href="http://byobi.com/2018/04/programmatically-deploy-power-bi-reports-to-power-bi-report-server/" target="_blank"&gt;http://byobi.com/2018/04/programmatically-deploy-power-bi-reports-to-power-bi-report-server/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Try creating a session to your report server like the link shows. I'll replace some variables in the code below.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;X = report server uri&lt;/LI&gt;&lt;LI&gt;Y = path to file&lt;/LI&gt;&lt;LI&gt;Z = folder you're writing to. Be sure to write a "/" in front of it&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$session = New-RsRestSession -ReportPortalUri X&lt;/P&gt;&lt;P&gt;Write-RsRestCatalogItem -WebSession $session -Path&amp;nbsp;Y -RsFolder&amp;nbsp;Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it works.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 21:24:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/397477#M5146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-16T21:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/397957#M5164</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked at the documentation under the link. Seems straight forward. I am still struggeling somewhat. First of all: our development machine is a Windows Server 2012, whereas the A and P machines are Windows Server 2016.&lt;/P&gt;&lt;P&gt;So, on the development server I first needed to run "PackageManagement_x64.msi" in order to be able to use "Install-Module" in the first place.&lt;/P&gt;&lt;P&gt;Next up, unfortunately, none of our servers are connected to the internet, so there is no way to have the server download "nuget" automatically as soon as it is needed (which is right after running the "Install-Module" command I guess).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried a "solution" that I found to copy the file Microsoft.PackageManagement.NuGetProvider.dll from a Windows 10 machine that does have internet. But then I get the next error message.&lt;/P&gt;&lt;P&gt;PS F:\powershell\reportingservicestools&amp;gt; Install-Module ReportingServicesTools&lt;/P&gt;&lt;P&gt;PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'ReportingServ&lt;/P&gt;&lt;P&gt;icesTools'.&lt;/P&gt;&lt;P&gt;At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\PSModule.psm1:1417 char:21&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $null = PackageManagement\Install-Package @PSBoundParameters&lt;/P&gt;&lt;P&gt;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Ex&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ception&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is getting pretty frustrating... what happened to good old command line options using the command prompt? :(&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 09:41:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/397957#M5164</guid>
      <dc:creator>Plantje</dc:creator>
      <dc:date>2018-04-17T09:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/398054#M5170</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this &lt;A href="http://byobi.com/2018/04/programmatically-deploy-power-bi-reports-to-power-bi-report-server/" target="_blank"&gt;post&lt;/A&gt;, he mentioned about datasource connection string update, but this is not working, I have posted in separate thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="Connection String Update" href="http://community.powerbi.com/t5/Report-Server/Power-BI-Reports-Connection-String-change-on-Power-BI-Report/m-p/391343" target="_blank"&gt;http://community.powerbi.com/t5/Report-Server/Power-BI-Reports-Connection-String-change-on-Power-BI-Report/m-p/391343&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per Jon-Heide reply, as of now connection string update is not supporting for Power BI Reports after publish.&lt;/P&gt;&lt;P&gt;Kindly let me know if this is working for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Navaneethakrishnan Thangaraj&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 11:52:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/398054#M5170</guid>
      <dc:creator>elitekrishnan</dc:creator>
      <dc:date>2018-04-17T11:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/398057#M5171</link>
      <description>&lt;P&gt;Hi Plantje,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had same problem to download PowerShell modules form internet. For alternate , you can download the PS module and extract it to your windows server and import it in the begining of your script file, then it will work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Import-Module -Name F:\PowerShell\ReportingServicesTools&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Navaneethakrishnan Thangaraj&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 11:56:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/398057#M5171</guid>
      <dc:creator>elitekrishnan</dc:creator>
      <dc:date>2018-04-17T11:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/398070#M5172</link>
      <description>&lt;P&gt;Great! This seems to work!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, rather than using "install-module" I can also use "Import-Module" all else is the same as it seems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you VERY VERY much!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 12:05:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/398070#M5172</guid>
      <dc:creator>Plantje</dc:creator>
      <dc:date>2018-04-17T12:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/473658#M6712</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once the report is uploaded on to the Report Server I wanted to input the SQL database credentials. What would be the commandline syntax to use this utility?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 09:41:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/473658#M6712</guid>
      <dc:creator>sprasad</dc:creator>
      <dc:date>2018-07-27T09:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Power BI Report files to On Prime Power BI Report Server using command line utility</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/475951#M6760</link>
      <description>&lt;P&gt;That's done through the data source update, mentioned earlier in the thread. In order to do that you have to put the user name and password for the data source in the power shell script&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2018 05:35:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Publishing-Power-BI-Report-files-to-On-Prime-Power-BI-Report/m-p/475951#M6760</guid>
      <dc:creator>Plantje</dc:creator>
      <dc:date>2018-07-31T05:35:04Z</dc:date>
    </item>
  </channel>
</rss>

