Monday, September 19, 2016

SharePoint 2013 Workflow error: Specified value is not supported for the |0 parameter

Environment: SharePoint 2013, Visual Studio 2013 Professional, SharePoint Visual Studio workflow

Issue: The workflow activities are completed and the workflow is running fine, however, the internal status of the workflow shows as cancelled and shows the following error in workflow page
“Specified value is not supported for the |0 parameter in SharePoint Workflow”

Workflow Error

Troubleshooting: Following is the error messages in the SharePoint log

System.NotSupportedException: Do not know how to create outbound claims for app only identity  at Microsoft.SharePoint.IdentityModel.SPIdentityContext.<GetOutboundS2SClaims>d__6.MoveNext()  at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)  at Microsoft.SharePoint.IdentityModel.OAuth2.SPOAuth2SecurityTokenManager.IssueBearerTokenString(SPServiceContext serviceContext, SPSecurityTokenServiceConnectionInformation stsInfo, OAuth2EndpointIdentity endpointIdentity, SPOAuth2SecurityTokenType tokenType, IEnumerable`1 claims) StackTrace:  at onetnative.dll: (sig=6aba1f5f-ccc4-4590-af00-b8ffe7fe99a0|2|onetnative.pdb, offset=28BE6) at onetnative.dll: (offset=152A9)
Watson bucket parameters: Microsoft SharePoint Foundation 4, ULSException14, 269cd32d "sharepoint foundation", 0f001144 "15.0.4420.0", 1f65804a "microsoft.sharepoint", 0f001144 "15.0.4420.0", 506723c5 "sat sep 29 22:07:25 2012", 00017b0d "00017b0d", 0000004c "0000004c", 760a1423 "notsupportedexception", 0018c5cc "agmxm"

Looks like the issue is because of the insufficient permission to write to event/trace log.

  1. Go to Central Admin>Monitoring>Configure diagnostic logging
  2. Select "Reset to default" from the drop down of "Least critical event to report to the event log" and "Least critical event to report to the trace log" fields.
  3. Click Ok to save

No comments:

Post a Comment