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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors