Forum Discussion

DP333's avatar
DP333
Frequent Visitor
3 years ago

Powershell Cmdlet New-PowerBIReport Conflict Action Error

Hi,

 

I am trying to upload a new upload a report with the New-PowerBIReport cmdlet. I am able to upload a report but when I reupload the same report it doesn't overwrite the previous version. 

 

When I specificy the conflict action below I get the following error.

New-PowerBIReport -Path $locationString -Name "test" -WorkspaceId $destinationWorkspaceId -ConflictAction CreateOrOverwrite

  | Operation returned an invalid status code 'Conflict'

 

Has anyone encountered this?

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI DP333,

    Any invoke or reference operation apply to this report? If that is the case, they may affect the overwrite operation due to the reference protect.

    Regards,

    Xiaoxin Sheng

    • DP333's avatar
      DP333
      Frequent Visitor

      Hi Anonymous 

       

      Thank you for the reply. What are " invoke or reference operations"? ....It's just a pbix file