Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi Team,
We are stuck in the below scenario, need to copy Report with Dataset from One workspace to Another.
We have tried below method but it works only if the Dataset already exists in Destination Workspace
1) Copy-PowerBIReport
Copy-PowerBIReport -Name "Report_Copy_5" -Id $source_report_id -WorkspaceId $source_WorkspaceId -TargetWorkspaceId $target_WorkspaceId -TargetDatasetId $targetDatasetId
2) Export & Import option in Power BI API
Note: First Export report is not working as don't know how to store the PBIX output, second Import option won't work without importId which don't know from where to pass.
3) Clone report In Group
Note: this clone report clone the report every time on the same Workspace
Requesting you to provide proper guidance on how to accomplish the task, please share the PowerShell code.
Thanks in advance,
Santosh Sawant