ISyncUsersWithAzureADCommandHandler.Run

// Job ID: #1440519
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
1785182402

State

7/28/2026 12:36:01 AM (+730ms) 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.ExecutePOSTAsync[T,TP](IRESTEndpoint apiEndpoint, IDictionary`2 headers, TP obj, IDictionary`2 urlParameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 289
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersFromAzureAD(ADUsersRequestDto request) in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 59
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.FetchUsersList(String odataSkipToken, Boolean isExternalUser) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 75
   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:
dw1sdwk000i2a:3408
Worker:
85bae929
+28msSyncUsersWithAzureADCommandHandler - Started
+35msFetching Sync Details
+447msFetching Users...
+686msAn exception occured while fetching users from AD: Request failed with status code InternalServerError
+694msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+1h 53m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

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

Enqueue at:
7/28/2026 12:35:56 AM

+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.ExecutePOSTAsync[T,TP](IRESTEndpoint apiEndpoint, IDictionary`2 headers, TP obj, IDictionary`2 urlParameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 289
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersFromAzureAD(ADUsersRequestDto request) in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 59
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.FetchUsersList(String odataSkipToken, Boolean isExternalUser) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 75
   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:
dw1sdwk000i2a:3408
Worker:
7de17bf0
+29msSyncUsersWithAzureADCommandHandler - Started
+40msFetching Sync Details
+72msFetching Users...
+251msAn exception occured while fetching users from AD: Request failed with status code InternalServerError
+257msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+1h 9m Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

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

Enqueue at:
7/27/2026 10:42:25 PM

+353ms 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.ExecutePOSTAsync[T,TP](IRESTEndpoint apiEndpoint, IDictionary`2 headers, TP obj, IDictionary`2 urlParameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 289
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersFromAzureAD(ADUsersRequestDto request) in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 59
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.FetchUsersList(String odataSkipToken, Boolean isExternalUser) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 75
   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:
dw1sdwk000i2a:3408
Worker:
7f02f41d
+130msSyncUsersWithAzureADCommandHandler - Started
+139msFetching Sync Details
+189msFetching Users...
+318msAn exception occured while fetching users from AD: Request failed with status code InternalServerError
+327msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+44m 1.980s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
7/27/2026 9:33:26 PM

+334ms 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.ExecutePOSTAsync[T,TP](IRESTEndpoint apiEndpoint, IDictionary`2 headers, TP obj, IDictionary`2 urlParameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 289
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersFromAzureAD(ADUsersRequestDto request) in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 59
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.FetchUsersList(String odataSkipToken, Boolean isExternalUser) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 75
   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:
dw1sdwk000i2a:3408
Worker:
3ad84359
+29msSyncUsersWithAzureADCommandHandler - Started
+34msFetching Sync Details
+115msFetching Users...
+291msAn exception occured while fetching users from AD: Request failed with status code InternalServerError
+296msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+25m 1.156s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+4ms Scheduled

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

Enqueue at:
7/27/2026 8:49:32 PM

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

+11m 30.160s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+ <1ms Scheduled

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

Enqueue at:
7/27/2026 8:24:30 PM

+417ms 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.ExecutePOSTAsync[T,TP](IRESTEndpoint apiEndpoint, IDictionary`2 headers, TP obj, IDictionary`2 urlParameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 289
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersFromAzureAD(ADUsersRequestDto request) in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 59
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.FetchUsersList(String odataSkipToken, Boolean isExternalUser) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 75
   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)

+80ms Processing

Server:
dw1sdwk000i2a:3408
Worker:
7de17bf0
+85msSyncUsersWithAzureADCommandHandler - Started
+91msFetching Sync Details
+275msFetching Users...
+429msAn exception occured while fetching users from AD: Request failed with status code InternalServerError
+436msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+6m 30.250s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+6ms Scheduled

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

Enqueue at:
7/27/2026 8:12:52 PM

+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.ExecutePOSTAsync[T,TP](IRESTEndpoint apiEndpoint, IDictionary`2 headers, TP obj, IDictionary`2 urlParameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 289
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersFromAzureAD(ADUsersRequestDto request) in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 59
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.FetchUsersList(String odataSkipToken, Boolean isExternalUser) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 75
   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:
dw1sdwk000i2a:3408
Worker:
7f02f41d
+24msSyncUsersWithAzureADCommandHandler - Started
+31msFetching Sync Details
+60msFetching Users...
+141msAn exception occured while fetching users from AD: Request failed with status code InternalServerError
+150msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+2m 59.780s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
7/27/2026 8:06:23 PM

+377ms 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.ExecutePOSTAsync[T,TP](IRESTEndpoint apiEndpoint, IDictionary`2 headers, TP obj, IDictionary`2 urlParameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 289
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersFromAzureAD(ADUsersRequestDto request) in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 59
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.FetchUsersList(String odataSkipToken, Boolean isExternalUser) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 75
   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:
dw1sdwk000i2a:3408
Worker:
3ad84359
+24msSyncUsersWithAzureADCommandHandler - Started
+30msFetching Sync Details
+59msFetching Users...
+347msAn exception occured while fetching users from AD: Request failed with status code InternalServerError
+355msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+1m 59.853s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+7ms Scheduled

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

Enqueue at:
7/27/2026 8:03:29 PM

+253ms 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.ExecutePOSTAsync[T,TP](IRESTEndpoint apiEndpoint, IDictionary`2 headers, TP obj, IDictionary`2 urlParameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 289
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersFromAzureAD(ADUsersRequestDto request) in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 59
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.FetchUsersList(String odataSkipToken, Boolean isExternalUser) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 75
   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:
dw1sdwk000i2a:3408
Worker:
50d9d720
+23msSyncUsersWithAzureADCommandHandler - Started
+29msFetching Sync Details
+103msFetching Users...
+213msAn exception occured while fetching users from AD: Request failed with status code InternalServerError
+222msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+44.667s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
7/27/2026 8:01:28 PM

+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.ExecutePOSTAsync[T,TP](IRESTEndpoint apiEndpoint, IDictionary`2 headers, TP obj, IDictionary`2 urlParameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 289
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersFromAzureAD(ADUsersRequestDto request) in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 59
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.FetchUsersList(String odataSkipToken, Boolean isExternalUser) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 75
   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:
dw1sdwk000i2a:3408
Worker:
7f02f41d
+29msSyncUsersWithAzureADCommandHandler - Started
+37msFetching Sync Details
+69msFetching Users...
+283msAn exception occured while fetching users from AD: Request failed with status code InternalServerError
+301msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+42.923s Enqueued

Triggered by DelayedJobScheduler

Queue:
default

+3ms Scheduled

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

Enqueue at:
7/27/2026 8:00:43 PM

+544ms 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.ExecutePOSTAsync[T,TP](IRESTEndpoint apiEndpoint, IDictionary`2 headers, TP obj, IDictionary`2 urlParameters) in C:\agent\_work\7\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 289
   at AG.Integrations.RESTClients.AlliantOneApiREST.UserControllers.UserA1ApiClientController.GetUsersFromAzureAD(ADUsersRequestDto request) in C:\agent\_work\7\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\UserControllers\UserA1ApiClientController.cs:line 59
   at AG.A1.Scheduler.Project.Application.Features.User.Commands.SyncUsersWithAzureADCommandHandler.FetchUsersList(String odataSkipToken, Boolean isExternalUser) in C:\agent\_work\7\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\User\Commands\SyncUsersWithAzureADCommandHandler.cs:line 75
   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)

+126ms Processing

Server:
dw1sdwk000i2a:3408
Worker:
7f02f41d
+50msSyncUsersWithAzureADCommandHandler - Started
+59msFetching Sync Details
+329msFetching Users...
+474msAn exception occured while fetching users from AD: Request failed with status code InternalServerError
+486msAn exception occured while fetching details for syncing users: Request failed with status code InternalServerError

+14ms Enqueued

Triggered by recurring job scheduler

Queue:
a1-user

7/27/2026 8:00:02 PM Created