Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DP333
Frequent Visitor

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 2
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

Hi @Anonymous 

 

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

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.