Symptom
When attempting to install or remove a solution in Dynamics 365, you see a message that says:
"The import of solution <solution name> failed."
If you click Download Log file, you see the following error:
"The solution installation or removal failed due to the installation or removal of another solution at the same time. Please try again later."
You may also see a reference to error code -2147020463 or 80071151.
Cause
This error can occur if you try to install or remove a solution but another solution is already in the process of being installed or removed. This may occur if you or another user are performing another install or removal action at the same time.
NOTE: If you or someone else in your organization are enabling a feature, that feature may install one or more solutions as part of the deployment process.
Resolution
If someone is installing or removing another solution, wait for that action to complete before attempting to install or remove another solution.