trying to import a solution via alm pipeline, it keeps failing with above. Initial advice is to retry after 3 hours, implication that another process is running, but still faililng. Is there a way to find out what is locked?
This error usually means the solution import job is stuck with a locked state in Dataverse. Retrying alone won’t clear it if the lock persists. Here are concise steps you can take:
Check active import jobs: Go to Settings → Solutions → Import Jobs in the target environment. Look for jobs marked In Progress or Locked.
Cancel or terminate job: If you find a stuck job, cancel it from the UI or via Power Platform Admin Center.
Use PowerShell/CLI: Run Get-CrmOperationStatus or pac solution list to identify the blocking job, then terminate it.
Check ALM pipeline logs: Sometimes the lock is caused by a previous failed deployment. Reviewing logs can confirm if another process is holding the file.
Zip file access: If the zip is inaccessible, ensure no antivirus or file indexing process is holding it locally before retrying.
In short: identify the stuck import job in Dataverse, cancel it, then retry the pipeline. If the lock persists, a service restart or support ticket may be required.
Was this reply helpful?YesNo
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.