This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi Team,
We would like to Publish PowerBI Template (PBIT) files using PowerShell. Could you please suggest us a way to achieve this as we want to automate the process of Datasets/Reports publishing.
Thanks,
Bhaskar
Hi @Anonymous
If you want to publish the pbit file to Power BI Service, it cannot support, we can publish pbix file to Power BI Service instead of pbit file, you can refer to the following link.
Solved: Re: Publish a Power BI template (PBIT) to Power BI... - Microsoft Fabric Community
Solved: Publishing .PBIT file to Power BI Service - Microsoft Fabric Community
If you want to publish pbix file(report) to Power BI Service by powershell , you can refer to the following command.
New-PowerBIReport -Path '.\report.pbix' -Name 'Report' -Workspace ( Get-PowerBIWorkspace -Name 'Team Workspace' )
You can refer to the following link.
New-PowerBIReport (MicrosoftPowerBIMgmt.Reports) | Microsoft Learn
But first, you need to install the PowerBI Model in PowerShell, you can refer to the following link.
https://learn.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps#installation
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 10 | |
| 10 | |
| 7 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 27 | |
| 24 | |
| 22 | |
| 21 | |
| 21 |