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 / Deployment failed - Th...
Power Apps
Unanswered

Deployment failed - The solution installation or removal failed due to the installation or removal of another solution at the same time. (Pipelines, Solution, Dataverse, Model Driven App)

(1) ShareShare
ReportReport
Posted on by 40

 

I am using pipelines to deploy solution for dataverse model driven app.

 

Dev solution is version 42

Test solution is/was version 41

Prod solution is version 41

 

I am deploying from Dev to Test and it failed with the following error:

 

“ImportAsHolding failed with exception :Cannot start the requested operation [Import] because there is another [Uninstall] running at this moment. Use Solution History for more details. -- The solution installation or removal failed due to the installation or removal of another solution at the same time. Please try again later. “

 

If I try re-running the deployment it does not pass validation and I get the following error:

 

“Validation results

This solution has a pending upgrade. Please complete the upgrade before proceeding”

 

In the TEST environment there are now two solutions (Version 41 and version 42).

 

Solution version 41 – for which the “apply upgrade” tick is available. If I select “apply upgrade” I get the following error:

“Failed to upgrade solution. Cannot start another [Uninstall] because there is a previous [Uninstall] running at this moment. Use Solution History for more details. -- The solution installation or removal failed due to the installation or removal of another solution at the same time. Please try again later.”

 

Solution version 42 – If I try to delete I get the following error:

“Cannot start another [Uninstall] because there is a previous [Uninstall] running at this moment. Use Solution History for more details. -- The solution installation or removal failed due to the installation or removal of another solution at the same time. Please try again later.”

 

The pipeline to deploy from dev to test to prod has been working well up until now.

 

I am really stuck – any suggestions ?

I have the same question (0)
  • sharonsammy123 Profile Picture
    40 on at

    UPDATE - I managed to fix this by republishing the solution in dev and redoing the deployment from DEV to TEST.  Solution has now deployed successfully in test (as version 43).  ie it never successfully deployed version 42. I think the problem may have been on Microsoft end. Anyway all appears ok so i am happy 🙂

  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @sharonsammy123 Glad you have managed to to resolve this now.

     

    For future reference, and for anyone else reading, this usually happens when there is another solution import/export/delete/upgrade operation in progress in the environment at the same time. The platform blocks multiple instances of this operation from running in parallel (for very valid reasons). Such operations can also be triggered by Microsoft updates or by updates from third party solutions you might have installed in your environment, not just your own solutions.

     

    You can verify any such in progress operations in the environment by opening it in the maker portal and navigating to Solutions and then Solution History 

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard