ISyncUsersWithAzureADCommandHandler.Run

// Job ID: #1362482
using AG.A1.Scheduler.Project.Contracts.Contracts.User;

var syncUsersWithAzureADCommandHandler = Activate<ISyncUsersWithAzureADCommandHandler>();
await syncUsersWithAzureADCommandHandler.Run(null, null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RecurringJobId
"USER-Sync-Users-With-Azure-AD-Task"
RetryCount
10
Time
1777644007

State

5/1/2026 6:30:48 PM (+770ms) Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersSyncDetails() in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 69
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 39
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+34ms Processing

Server:
dw0sdwk000cqs:9028
Worker:
4af7dff0
+70msSyncUsersWithAzureADCommandHandler - Started
+89msFetching Sync Details
+748msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+1h 54m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+6ms Scheduled

Retry attempt 10 of 10: Could not load file or assembly 'AG.A1.Scheduler.…

Enqueue at:
5/1/2026 6:30:44 PM

+70ms Failed

Can not change the state to 'Processing': target method was not found.

System.IO.FileNotFoundException

Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'
   at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at Hangfire.Common.TypeHelper.AssemblyResolver(String assemblyString)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at System.TypeNameParser.ResolveAssembly(String asmName, Func`2 assemblyResolver, Boolean throwOnError, StackCrawlMark& stackMark)
   at System.TypeNameParser.ConstructType(Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark)
   at System.TypeNameParser.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName, Func`2 assemblyResolver, Func`4 typeResolver, Boolean throwOnError)
   at Hangfire.Common.TypeHelper.DefaultTypeResolver(String typeName)
   at Hangfire.Storage.InvocationData.DeserializeJob()

+1h 10m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 9 of 10: Request failed with status code InternalServerErr…

Enqueue at:
5/1/2026 4:36:22 PM

+433ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersSyncDetails() in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 69
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 39
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+24ms Processing

Server:
dw0sdwk000cqs:9028
Worker:
4af7dff0
+343msSyncUsersWithAzureADCommandHandler - Started
+351msFetching Sync Details
+406msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+40m 20.310s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 8 of 10: Request failed with status code InternalServerErr…

Enqueue at:
5/1/2026 3:25:57 PM

+650ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersSyncDetails() in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 69
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 39
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+30ms Processing

Server:
dw0sdwk000cqs:9028
Worker:
43dfa31a
+37msSyncUsersWithAzureADCommandHandler - Started
+45msFetching Sync Details
+99msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+23m 33.107s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 7 of 10: Request failed with status code InternalServerErr…

Enqueue at:
5/1/2026 2:45:37 PM

+280ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersSyncDetails() in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 69
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 39
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+30ms Processing

Server:
dw0sdwk000cqs:9028
Worker:
a2461ee8
+76msSyncUsersWithAzureADCommandHandler - Started
+85msFetching Sync Details
+238msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+11m 31.563s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

Retry attempt 6 of 10: Request failed with status code InternalServerErr…

Enqueue at:
5/1/2026 2:21:58 PM

+113ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersSyncDetails() in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 69
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 39
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+87ms Processing

Server:
dw0sdwk000cqs:9028
Worker:
43dfa31a
+107msSyncUsersWithAzureADCommandHandler - Started
+123msFetching Sync Details
+152msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+5m 15.123s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 5 of 10: Request failed with status code InternalServerErr…

Enqueue at:
5/1/2026 2:10:31 PM

+627ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersSyncDetails() in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 69
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 39
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+23ms Processing

Server:
dw0sdwk000cqs:9028
Worker:
4af7dff0
+34msSyncUsersWithAzureADCommandHandler - Started
+42msFetching Sync Details
+76msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+2m 30.234s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 4 of 10: Request failed with status code InternalServerErr…

Enqueue at:
5/1/2026 2:05:10 PM

+100ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersSyncDetails() in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 69
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 39
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+27ms Processing

Server:
dw0sdwk000cqs:9028
Worker:
45bc746f
+36msSyncUsersWithAzureADCommandHandler - Started
+44msFetching Sync Details
+69msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+1m 45.373s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

Retry attempt 3 of 10: Request failed with status code InternalServerErr…

Enqueue at:
5/1/2026 2:02:48 PM

+110ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersSyncDetails() in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 69
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 39
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+24ms Processing

Server:
dw0sdwk000cqs:9028
Worker:
4af7dff0
+34msSyncUsersWithAzureADCommandHandler - Started
+41msFetching Sync Details
+80msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+29.880s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+6ms Scheduled

Retry attempt 2 of 10: Request failed with status code InternalServerErr…

Enqueue at:
5/1/2026 2:00:56 PM

+170ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersSyncDetails() in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 69
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 39
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+27ms Processing

Server:
dw0sdwk000cqs:9028
Worker:
43dfa31a
+59msSyncUsersWithAzureADCommandHandler - Started
+74msFetching Sync Details
+135msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+26.520s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+40ms Scheduled

Retry attempt 1 of 10: Request failed with status code InternalServerErr…

Enqueue at:
5/1/2026 2:00:23 PM

+913ms Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException

Request failed with status code InternalServerError

System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
   at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, String expectedRootElement, IDictionary`2 parameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersSyncDetails() in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 69
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.Run(PerformContext performContext, IJobCancellationToken cancellationToken) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 39
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+144ms Processing

Server:
dw0sdwk000cqs:9028
Worker:
4af7dff0
+631msSyncUsersWithAzureADCommandHandler - Started
+649msFetching Sync Details
+902msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+6ms Enqueued

Triggered by recurring job scheduler

Queue:
a1-user

5/1/2026 2:00:07 PM Created