Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
JanKral
Frequent Visitor

PowerShell deployment of Power BI project (*.pbip)

Hi,

 

I am worndering if there is a way to deploy PBI project to a workspace using PowerShell module MicrosoftPowerBIMgmt?

I tried to deploy them using New-PowerBIReport but I am getting an error New-PowerBIReport : Operation returned an invalid status code 'BadRequest'.
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?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI  @JanKral,

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.

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.

New-PowerBIReport (MicrosoftPowerBIMgmt.Reports) | Microsoft Learn

AFAIK, current it does not exist built-in PowerShell cmdlet or module to convert pbip to pbix. You may need to manually do these operations on power bi desktop side.

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI  @JanKral,

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.

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.

New-PowerBIReport (MicrosoftPowerBIMgmt.Reports) | Microsoft Learn

AFAIK, current it does not exist built-in PowerShell cmdlet or module to convert pbip to pbix. You may need to manually do these operations on power bi desktop side.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.