IdentityServiceAgent doesn't work from automatic work queue processing

I was trying to call IdentityServiceAgent.UpdateUser service method call from a workflow triggered by a workqueue command.

I was expecting to update a user in OrigamUser table

Instead I’ve got null pointer exception. userManager object was null inside IdentityServerAgent object when not called from an HTTP request processing

1 Like