We're having some issues migrating a few solutions from our Development to UAT environment as a managed solutions. The new solution versions are correctly installed with the "_Upgrade" suffix but the deletion of the previous version fails.
Our first solution contains the out of the box Business Process Flow (Lead to Opportunity BPF) with some customizations to it. The Upgrade holding solution has been installed but the Apply upgrade portion fails with the error: Message: Workflow uninstall: FAILURE, workflow id Message: Workflow uninstall: FAILURE, workflow id 919e14d1-6489-4852-abd0-a63a6ecaac5d category BusinessProcessFlow name Lead to Opportunity Sales Process Detail: category BusinessProcessFlow name Lead to Opportunity Sales Process Detail: ........
BusinessProcessFlow name Lead to Opportunity Sales Process ---> Microsoft.Crm.CrmException: Attribute - {ATTRIBUTE NAME} in the XAML is invalid
The attribute doesn't exist in the xaml we pulled for this BPF (verified in the solution.zip and via an web api call to the process entity) or in the default solution or our source/target solutions.
Our second solution failed to apply an upgrade because a solution-aware power automate was removed. The "delete" functionality seems to be failing for that component. The error returned is: Message: Workflow uninstall: FAILURE, workflow id {GUID} category BusinessProcessFlow name Lead to Opportunity Sales Process Detail:
We are able to apply an update but our ideal behavior would to apply an upgrade so we can remove unused components from our target environment.
We have made a ticket with microsoft and have been waiting for a response for some time now.
Thanks in advance for insight on this.