lithnet / miis-autosync

Lithnet AutoSync for Microsoft Identity Manager
https://lithnet.io
MIT License
28 stars 7 forks source link

TaskScheduler_UnobservedTaskException when stopping MA #96

Open ryannewington opened 7 years ago

ryannewington commented 7 years ago
****************************************
An exception has occurred in TaskScheduler_UnobservedTaskException
Type: System.AggregateException

Message: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.
Source: 
StackTrace:

****************************************
****************************************
Inner exception details
Type: Lithnet.Miiserver.Client.MAExecutionException

Message: Run profile execution failed: stopped-user-termination-from-wmi-or-ui
Source: Lithnet.Miiserver.Client
TargetSite: System.String ExecuteRunProfile(System.String)
StackTrace:
   at Lithnet.Miiserver.Client.ManagementAgent.ExecuteRunProfile(String name)
   at Lithnet.Miiserver.Client.ManagementAgent.<>c__DisplayClass20_0.<ExecuteRunProfileAsync>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
****************************************
ryannewington commented 7 years ago

This bug might belong in https://github.com/lithnet/miis-client