Azure Web App deploy error "Web Deploy cannot modify the file on the destination because it is locked by an external process"

Posted on March 20, 2022

As per the Microsoft Github issues link, you need to add the below key in your portal App Settings.

It can help resolve the locked file deployment error.

MSDEPLOY_RENAME_LOCKED_FILES = 1
to join this conversation on Samprix.Already have an account? Sign in to comment
Sponsors