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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.