Forum Discussion

cha74's avatar
cha74
Copper Contributor
Aug 30, 2022

New-PowerBIReport - Problem with the path

I use a script PowerShell in a Release Azure DevOps to create a new report in Power BI Service. 

The script : 

New-PowerBIReport -Path 'C:\Users\cbonier\Documents\REPORTFINANCEDEV.pbix' -Name 'REPORTFINANCEDEV' -Workspace (Get-PowerBIWorkspace -Name 'WKS - DTS [DEV]') -ConflictAction CreateOrOverwrite

 

But I have this error when I use it : 

 

No RepliesBe the first to reply

Resources