ISyncUsersWithAzureADCommandHandler.Run

// Job ID: #1362189
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
1777613414

State

5/1/2026 10:03:46 AM (+137ms) 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
+45msFetching Sync Details
+81msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+1h 50m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
5/1/2026 10:03:41 AM

+174ms 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:
a2461ee8
+34msSyncUsersWithAzureADCommandHandler - Started
+41msFetching Sync Details
+138msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+1h 10m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
5/1/2026 8:13:41 AM

+607ms 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)

+26ms Processing

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

+42m 50.420s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

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

Enqueue at:
5/1/2026 7:03:01 AM

+660ms 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)

+33ms Processing

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

+23m 17.823s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
5/1/2026 6:20:03 AM

+217ms 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()

+12m 46.430s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
5/1/2026 5:56:49 AM

+177ms 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)

+40ms Processing

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

+7m 623ms Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+10ms Scheduled

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

Enqueue at:
5/1/2026 5:43:54 AM

+393ms 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:
45bc746f
+34msSyncUsersWithAzureADCommandHandler - Started
+53msFetching Sync Details
+314msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+3m 30.343s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
5/1/2026 5:37:05 AM

+220ms 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)

+40ms Processing

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

+1m 45.086s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
5/1/2026 5:33:23 AM

+157ms 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)

+26ms Processing

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

+1m 14.517s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
5/1/2026 5:31:41 AM

+590ms 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)

+40ms Processing

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

+21.240s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

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

Enqueue at:
5/1/2026 5:30:35 AM

+670ms 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
+105msSyncUsersWithAzureADCommandHandler - Started
+113msFetching Sync Details
+646msAn 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 5:30:15 AM Created