Can't import solutions or publish unmanaged changes in Power Platform

Applies to:   Power Platform, Solutions

Symptoms

When you try to import a solution or use the Publish all customizations function to publish unmanaged changes in Microsoft Power Platform, you receive the following error message:

Error: Cannot start the requested operation [PublishAll] because there is another [Import] 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.

Cause

This issue occurs because another solution is being imported at the same time.

Workaround

To work around this issue, use one of the following methods, according to the development environment:

  • Single-user: Make sure that the previous solution is imported before you import the next one.
  • Multi-user: Create a central repository, and use automated deployment such as Azure Pipelines or GitHub Actions to import solutions in queues.