ISyncUsersWithAzureADCommandHandler.Run

// Job ID: #1362258
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
1777620604

State

5/1/2026 12:03:18 PM (+123ms) 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
+33msSyncUsersWithAzureADCommandHandler - Started
+40msFetching Sync Details
+80msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+1h 51m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
5/1/2026 12:03:13 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()

+1h 9m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+6ms Scheduled

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

Enqueue at:
5/1/2026 10:12:05 AM

+117ms 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
+65msFetching Sync Details
+101msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+41m 50.693s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

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

Enqueue at:
5/1/2026 9:02:08 AM

+653ms 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:
14aadf04
+39msSyncUsersWithAzureADCommandHandler - Started
+57msFetching Sync Details
+626msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+25m 18.320s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
5/1/2026 8:20:27 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)

+17ms Processing

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

+13m 16.610s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
5/1/2026 7:55:00 AM

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

+47ms Processing

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

+6m 15.916s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

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

Enqueue at:
5/1/2026 7:41:50 AM

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

+3m 30.187s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
5/1/2026 7:35:25 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)

+20ms Processing

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

+44.430s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
5/1/2026 7:32:04 AM

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

+45.003s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
5/1/2026 7:31:13 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)

+30ms Processing

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

+33.840s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

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

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

+17ms Enqueued

Triggered by recurring job scheduler

Queue:
a1-user

5/1/2026 7:30:04 AM Created