cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
drivard
Advocate II
Advocate II

Custom API in managed solution. Cannot Delete.

Hi,

I've been using the new Custom API functionality for a while now without any issue. (General availability since March 2021) 

 

However, I just found out that I was unable to delete a managed solution that contains a Custom API from an environment.

 

For example, I have a very simple solution that contains a custom API with 1 parameter and 1 response property. (+ plugin assembly)

drivard_1-1621785676137.png

 

 

I tried on several demo environments and always get the same error message when I try to delete the managed solution.

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

drivard_0-1621785274889.png

 

There is no such error when the solution is unmanaged, I can delete the solution and the artifacts with no issue.

 

As anyone else seen this behavior? 

 

All my custom API projects are community projects so I can't really open a case and I was hoping to get the attention of the product team with this post.

 

Thanks,

 

 

 

2 REPLIES 2
cchannon
Super User
Super User

@HemantG - who's the right person to tag on this?

D10ny5u532
Advocate I
Advocate I

Any resolution on this. I have similar issues, beginning to think it's not worth using managed solutions. But should I be using unmanaged solutions in a production environment?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Users online (1,973)