Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
im writing some powershell code to automize deployement peocess,
there is configuration part that user can upload powerbi report in any workspace
Powerbi dataset are split of powerbi reports, powerbi reports are pulished on "developmet" workspace during developmet.
and those conencted to datasource in same workspace .
problem is when user wants to deploy report to differebt workspace name , in this case , powerbi dataset was deployed successfully but powerbi dashboards deployment was failed, because they connected to datasource in different worksapce name,
how powershell can change powerbi datasouce for report during deployment ?
i use this command
New-PowerBIReport -Path $datasetName -WorkspaceId $worksapceid -ConflictAction CreateOrOverwrite
Hi @Anonymous
What about using deployment pipelines to move the reports from Dev to prod?
Introducing Power BI deployment pipelines (Preview) | Microsoft Power BI Blog | Microsoft Power BI
With regards to the powershell script I think that there is no other way to get it changed with a different dataset.