Seamlessly keep the Azure Connected Machine agent up to date for the latest server management capabilities and fixes
Updated Aug 18, 2025
Version 2.0That’s interesting. There shouldn’t be a difference between running the scheduled task manually and it running on its own. What agent version was the machine running on prior to the successful upgrade? Is this a Windows machine? What does the "Last Run Result" and "Last Run Time" say in Task Scheduler?
This is very likely the "Internet Explorer - First Run" issue with PowerShell. Since the task is executing under SYSTEM privileges and basic parsing is not used in PowerShell when downloading the agent, it fails to execute completely.
Executing the same command defined in the scheduled task as an administrator will work without issues.