Troubleshooting Azure VM Scheduler (AVMS) Task Issues
If your scheduled AVMS tasks aren’t running as expected, don’t worry - this guide will walk you through common issues and how to resolve them quickly.
Error 1: Proxy Authentication Required
Check the AVMS log file located at:
C:\Program Files (x86)\SMIKAR Software\AVMS\avms.log Look for entries similar to the following: 01/11/2016 11:23:46 AM Attempting to ADD-azureaccount using account 01/11/2016 11:23:46 AM Failed to ADD-azureaccount using account - error user_realm_discovery_failed: User realm discovery failed: The remote server returned an error: (407) Proxy Authentication Required.
This typically means your on-site proxy server requires authentication. The AVMS console works under your domain account (which has proxy access), but the scheduled task runs under the system account - which usually doesn’t.
To fix this:
- Open Control Panel → Task Scheduler
- Find the AVMS task, right-click, and choose Properties
- Change the user from System to a domain account with proxy permissions
Still having issues? Contact or visit our AVMS page for more resources.
Mark Smith co-founded SmiKar Software in 2015 and has spent the past decade helping organisations solve Microsoft 365 data management challenges. He works with the SmiKar team to build solutions for SharePoint archiving, storage optimisation, governance and compliance, supporting customers from growing businesses through to Fortune 500 enterprises.
More about SmiKar


