Wednesday 26 February 2014

Workflow not getting kicked off with Current User

Errro: RequestorId: 75337308-d065-9a23-8e25-34499695740b. Details: System.ApplicationException: HTTP 401 {"error_description":"The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs."} {"x-ms-diagnostics":["3001000;reason=\"There has been an error authenticating the request.\";category=\"invalid_client\""],"SPRequestGuid":["a37979da-2b2d-4fb7-aec5-0fc79065450d"],"request-id":["a37979da-2b2d-4fb7-aec5-0fc79065450d"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"SPRequestDuration":["35"],"SPIisLatency":["0"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["Bearer realm=\"3fe89713-c11e-40a7-a6c0-0e1b0ea08e5d\",client_id=\"00000003-0000-0ff1-ce00-000000000000\",trusted_issuers=\"00000005-0000-0000-c000-000000000000@*,00000003-0000-0ff1-ce00-000000000000@3fe89713-c11e-40a7-a6c0-0e1b0ea08e5d\"","NTLM","Basic realm=\"qa2-sanofi-sharepoint.adjilityhealth.com\""],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4551"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Date":["Wed, 26 Feb 2014 07:36:43 GMT"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

This error occurs because User profile of current user is not been created. In SharePoint 2013 designer workflow it is a must to have a User Profile from which you are kicking off the workflow.
It has been clearly mentioned in a TechNet article by Microsoft.
http://technet.microsoft.com/en-us/library/jj658588.aspx
Solution: Create User Profile for the Current User problem will be resolved.

No comments:

Post a Comment