Forum Discussion
77vetter
Jan 31, 2024Copper Contributor
DevOps Relase Failing with Downloading task: IISWebAppManagementOnMachine
We are having trouble with the Release portion of our devops. This was all working fine for several months until last week. The deployment group is OnLine with green circle. But we keep getting th...
Kidd_Ip
Aug 03, 2025MVP
Below the workarounds:
1. Manually Clear Task Cache on Agent Machine
- Navigate to C:\azagent\A20\_work\_tasks
- Delete the folders for IISWebAppDeploymentOnMachineGroup and IISWebAppManagementOnMachineGroup
- Restart the agent service
2. Check Agent Logs for Network Errors
Look for any signs of failed HTTP requests or DNS issues in the agent logs. You may need to whitelist task URLs or check proxy settings.
3. Update or Reinstall the Agent
If the agent is outdated or misconfigured, reinstalling it can resolve download and execution issues.
4. Switch to Inline PowerShell as a Temporary Workaround
If you're blocked and need to deploy urgently, consider replacing the IIS task with a custom PowerShell script that uses appcmd.exe or WebDeploy.