<?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 PowerShell deployment of Power BI project (*.pbip) in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-deployment-of-Power-BI-project-pbip/m-p/3537337#M45372</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am worndering if there is a way to deploy PBI project to a workspace using PowerShell module &lt;EM&gt;MicrosoftPowerBIMgmt?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I tried to deploy them using&amp;nbsp;&lt;EM&gt;New-PowerBIReport&amp;nbsp;&lt;/EM&gt;but I am getting an error&amp;nbsp;&lt;EM&gt;New-PowerBIReport : Operation returned an invalid status code 'BadRequest'&lt;/EM&gt;.&lt;BR /&gt;If there is no compatible method, is there a way to convert PBIP to PBIX using PowerShell (or other scripting language) to deploy it to Power BI Service?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2023 15:11:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-11-16T15:11:15Z</dc:date>
    <item>
      <title>PowerShell deployment of Power BI project (*.pbip)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-deployment-of-Power-BI-project-pbip/m-p/3537337#M45372</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am worndering if there is a way to deploy PBI project to a workspace using PowerShell module &lt;EM&gt;MicrosoftPowerBIMgmt?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I tried to deploy them using&amp;nbsp;&lt;EM&gt;New-PowerBIReport&amp;nbsp;&lt;/EM&gt;but I am getting an error&amp;nbsp;&lt;EM&gt;New-PowerBIReport : Operation returned an invalid status code 'BadRequest'&lt;/EM&gt;.&lt;BR /&gt;If there is no compatible method, is there a way to convert PBIP to PBIX using PowerShell (or other scripting language) to deploy it to Power BI Service?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 15:11:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-deployment-of-Power-BI-project-pbip/m-p/3537337#M45372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-16T15:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell deployment of Power BI project (*.pbip)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerShell-deployment-of-Power-BI-project-pbip/m-p/3541439#M45400</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;According the document, I suppose this method currently does not support pbix files. It only mentions pbix file instead of all type of power bi files.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Loads a Power BI report from a pbix file and deploys it to the Power BI service. Before you run this command, make sure you log in using Connect-PowerBIServiceAccount.&lt;/FONT&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.reports/new-powerbireport?view=powerbi-ps#description" target="_blank"&gt;New-PowerBIReport (MicrosoftPowerBIMgmt.Reports) | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;AFAIK, current it does not exist built-in PowerShell cmdlet or module&amp;nbsp;to convert pbip to pbix. You may need to manually do these operations on power bi desktop side.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 02:33:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerShell-deployment-of-Power-BI-project-pbip/m-p/3541439#M45400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-20T02:33:56Z</dc:date>
    </item>
  </channel>
</rss>

