web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to apply Upgrad...
Power Apps
Unanswered

Unable to apply Upgrade on managed solution

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

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.

I have the same question (0)
  • DavidNM Profile Picture
    12 on at

    This has also been happening to me with two different solutions after editing business process flows.

  • cchannon Profile Picture
    4,702 Moderator on at

    It doesn't seem to be your issue from the error message there, but I should point out that BPFs are not just the BPF component; they also generate a table and columns and a relationship to the record where you put the BPF. If you are trying to drop the BPF but haven't dropped the associated schema as well, you will get dependency failures.

  • DavidNM Profile Picture
    12 on at

    I am aware of the linked entity. I was not dropping the BPF, just updating it, in both situations. Although it is a managed solution, my work around in our UAT environment was to edit the BPF manually in UAT, and then ran the import again. This succeeded. Not ideal as it involves a manual edit of a managed solution. That said, I regularly do this anyway, as changes to forms, view etc. in Dev frequently never get deployed successfully in UAT or production environments, and must again be manually applied via the Default solution.

  • cchannon Profile Picture
    4,702 Moderator on at

    Yeah, I figured that wasn't your problem but wanted to post it there for anyone in the future who finds your post because they don't know about the schema interplay.

     

    I've seen others posting in here lately about solution migrations not being subtractive... Are you using the make.powerapps interface for your imports? Have you tried using the Classic UI to do the import to make sure it is giving you an Upgrade and not an Update?

     

    @frick-brian was reporting similar non-subtractive solution migration in a post over here and had determined that it only happened when he used the PA import as opposed to classic.

  • priyanka1231 Profile Picture
    2 on at

    Workflow uninstall: FAILURE, workflow id 1b4af77c-41a9-eb11-b1ac-000d3a1b48db category ModernFlow name GenerateReport  

    facing this issue while deleting of managed code review tool help me out

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard