Showing results for 
Search instead for 
Did you mean: 
Level 8

Failed deleting solution - Sql error

Hi All,

I have a solution that I regularly validate the ability to install/delete from other environments.

Recently, I have been unable to delete solutions.  Always getting the same error:

Failed deleting solution. Sql error: Generic SQL error. CRM ErrorCode: -2147204784 Sql ErrorCode: -2146232060 Sql Number: 547

The solution includes:

  • Entities
  • Model driven app
  • Canvas app
  • Flows

A few other points:

  • It seems like I started seeing the error after including Flows, but can't recall exactly
  • I can reproduce this in any environment I create
  • If I repackage the same components into a new Solution it seems I can delete without a problem I observe the same problem

Any thoughts would be very helpful!

Community Support Team
Community Support Team

Re: Failed deleting solution - Sql error

Hi @Helpful ,


Were you following the sample shown below?




Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level 8

Re: Failed deleting solution - Sql error

Thanks, @v-monli-msft,

No, that is for deletion through code.  I'm using the PowerApps environment UI.

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,575)