Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
Solved! Go to Solution.
Hi @Anonymous ,
You can refer the following links to import pbix file into Service by Powershell:
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:
Best Regards
Hi @Anonymous ,
You can refer the following links to import pbix file into Service by Powershell:
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:
Best Regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
10 | |
4 | |
3 | |
2 | |
2 |