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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Import a Power BI report (pbix) from local to Power BI Service

I would like use a PowerShell script in an Azure DevOps release to import a Power BI report (pbix) from local to Power BI Service. 

 

It's possible ? 

 

Thanks in Advance 

 

Cha

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

You can refer the following links to import pbix file into Service by Powershell:

New-PowerBIReport

New-PowerBIReport
   [-Path] <String>
   [-Name <String>]
   [-WorkspaceId <Guid>]
   [-ConflictAction <ImportConflictHandlerModeEnum>]
   [-Timeout <Int32>]
   [<CommonParameters>]

IMPORT A PBIX TO POWERBI USING POWERSHELL

PowerShell script to publish Power BI reports into multiple tenants

 

In addition, you can refer the following links to get it by REST API or Get Data in Service.

REST API:

Imports - Post Import - REST API (Power BI Power BI REST APIs) | Microsoft Docs

Upload a local PBIX file using the import API

Publishing PBIX Files with the Power BI REST API

Get data:

yingyinr_0-1662619891686.png

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

You can refer the following links to import pbix file into Service by Powershell:

New-PowerBIReport

New-PowerBIReport
   [-Path] <String>
   [-Name <String>]
   [-WorkspaceId <Guid>]
   [-ConflictAction <ImportConflictHandlerModeEnum>]
   [-Timeout <Int32>]
   [<CommonParameters>]

IMPORT A PBIX TO POWERBI USING POWERSHELL

PowerShell script to publish Power BI reports into multiple tenants

 

In addition, you can refer the following links to get it by REST API or Get Data in Service.

REST API:

Imports - Post Import - REST API (Power BI Power BI REST APIs) | Microsoft Docs

Upload a local PBIX file using the import API

Publishing PBIX Files with the Power BI REST API

Get data:

yingyinr_0-1662619891686.png

Best Regards

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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