Editare

Partajați prin


Concurrent solution operation failures

Applies to:   Power Platform, Solutions

This article provides a workaround for an issue that occurs when you perform multiple solution operations simultaneously in Microsoft Power Apps. These concurrent operations can cause failures because only one operation can be performed at a time. If you encounter a failure, retry the operation later.

Symptoms

When you try to perform multiple solution operations simultaneously, such as:

  • Import a solution
  • Delete a solution
  • Publish customizations
  • Create a solution component
  • Background ribbon calculation

You receive an error message like the following one:

Microsoft.Crm.ObjectModel.CustomizationLockException: 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

Dataverse allows only one solution operation at a time. A concurrent request for different solution operations returns the error until the previous operation is completed.

Workaround

Performing multiple operations simultaneously in an environment can lead to conflicts, so it's best to avoid doing so.

To prevent conflicts,