When attempting to change a managed password for a Service Account the below error is displayed:
"System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.Win32.TaskScheduler.V2Interop.TaskSchedulerClass.Connect(Object serverName, Object user, Object domain, Object password)
at Microsoft.Win32.TaskScheduler.TaskService.Connect()
at Microsoft.Win32.TaskScheduler.TaskService..ctor(String targetServer, String userName, String accountDomain, String password, Boolean forceV1)
at Quest.Perl.DirectoryServices.AccountManager.GetTaskService(String netAddress, String funcAccount, String funcAccountPwd, String& domain, String& userId)
at Quest.Perl.DirectoryServices.AccountManager.ChangeTasksPwd(String netAddress, String[] accountNameFormats, String newPwd, String funcAccount, String funcAccountPwd)"
Later in the same log, the password shows successfully changed.