ISyncUsersWithAzureADCommandHandler.Run

// Job ID: #1362001
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
1777591813

State

5/1/2026 4:05:53 AM (+153ms) 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:
14aadf04
+79msSyncUsersWithAzureADCommandHandler - Started
+88msFetching Sync Details
+127msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+1h 53m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
5/1/2026 4:05:42 AM

+230ms 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
+98msSyncUsersWithAzureADCommandHandler - Started
+114msFetching Sync Details
+202msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+1h 12m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
5/1/2026 2:12:28 AM

+180ms 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:
4af7dff0
+38msSyncUsersWithAzureADCommandHandler - Started
+45msFetching Sync Details
+150msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+42m 6.197s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
5/1/2026 12:59:48 AM

+156ms 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
+165msSyncUsersWithAzureADCommandHandler - Started
+173msFetching Sync Details
+227msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+25m 3.820s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+6ms Scheduled

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

Enqueue at:
5/1/2026 12:17:44 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)

+50ms Processing

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

+13m 31.840s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
4/30/2026 11:52:34 PM

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

+46ms Processing

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

+4m 45.594s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+6ms Scheduled

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

Enqueue at:
4/30/2026 11:38:57 PM

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

+37ms Processing

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

+2m 29.863s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+10ms Scheduled

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

Enqueue at:
4/30/2026 11:34:24 PM

+580ms 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
+377msSyncUsersWithAzureADCommandHandler - Started
+395msFetching Sync Details
+541msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+44.894s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
4/30/2026 11:31:50 PM

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

+20ms Processing

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

+29.993s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+10ms Scheduled

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

Enqueue at:
4/30/2026 11:30:56 PM

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

+26.733s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
4/30/2026 11:30:38 PM

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

+10ms Enqueued

Triggered by recurring job scheduler

Queue:
a1-user

4/30/2026 11:30:13 PM Created