Orchestrator Azure App Service Deployment Antivirus Software Detected. Please Ensure Your Security Settings Do Not Interfere With The Installation Process

Error fix for "Orchestrator Azure App Service Deployment Antivirus Software Detected. Please Ensure Your Security Settings Do Not Interfere With The Installation Process" .

Reproduction of Error:

  1. Log in to Azure
  2. Observe that Antivirus software detected. Ensure your security settings does not interfere with the installation process
  3. Extract cli to: C:\Users\kmtbotqa\AppData\Local\Temp\azuredeploy-20230621110140294\migrator
  4. Stop the application identityprod-Production
  5. Wait 30 seconds for identityprod-Production to shut down completely
  6. Deploy package C:\UiPathUpgrade_2023\ProdUpgrade_2021.10.3\UpgradeScripts\UiPathOrchestrator\UiPath.IdentityServer.Web.zip on website identityprod


Executing command:

msdeploy.exe -verb:sync -source:package='C:\UiPathUpgrade_2023\ProdUpgrade_2021.10.3\UpgradeScripts\UiPathOrchestrator\UiPath.IdentityServer.Web.zip' -dest:auto,ComputerName='https://identityprod.publish.azurewebsites.windows.net:443/msdeploy.axd?site=identityprod',UserName='$dentityprod',Password='xxxxxxxxxxx',AuthType='Basic'

Info: Using ID 'xxxxxxxxxxx' for connections to the remote server.

Info: Adding MSDeploy.contentPath (MSDeploy.contentPath).

Info: Adding virtual path (.)

Error: (6/21/2023 11:02:33 PM) An error occurred when the request was processed on the remote computer.

Error: The server experienced an issue processing the request. Contact the server administrator for more information.

Error count: 1.

Microsoft.PowerShell.Commands.WriteErrorException:

Failed to deploy package C:\UiPathUpgrade_2023\ProdUpgrade_2021.10.3\UpgradeScripts\UiPathOrchestrator\UiPath.IdentityServer.Web.zip


Resolution:

  1. Check with the IT team if any antivirus installed in VM
  2. Check if any fiddler tool installed if yes then pleas uninstall also remove the fiddler certificate from Manage Computer Certificate under the Trusted Root Authority Certificate folder.
  3. If the above steps all find then go to the app service Configuration- >Application settings and check if WEBSITE_WEBDEPLOY_USE_SCM=false in place. If yes, then delete this and Click on Save or Update WEBSITE_WEBDEPLOY_USE_SCM=true and click on save. To learn more about this refer to this link Azure - App-Service: Deployment
  • Name: WEBSITE_WEBDEPLOY_USE_SCM Value: False
  1. Refer the below screenshot for the better understanding.

today.jpg