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:
- Log in to Azure
- Observe that Antivirus software detected. Ensure your security settings does not interfere with the installation process
- Extract cli to: C:\Users\kmtbotqa\AppData\Local\Temp\azuredeploy-20230621110140294\migrator
- Stop the application identityprod-Production
- Wait 30 seconds for identityprod-Production to shut down completely
- 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:
- Check with the IT team if any antivirus installed in VM
- 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.
- 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
- Refer the below screenshot for the better understanding.