The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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