We are running into a problem with SharePoint 2013 and workflows.
We have the following site collection setup:
Site Collection
Subsite A
Subsite B
The following are the permissions:
[Site Collection] Owners
[Site Collection] Members
[Site Collection] Vistors
The members of these SharePoint groups are Active Directory security groups. If we put these AD groups into the SharePoint group we get the following error when trying to run a workflow:
RequestorId:
171a693d-7b50-a70a-0000-000000000000. Details: RequestorId: 171a693d-7b50-a70a-0000-000000000000.
Details: An unhandled exception occurred during the execution of the workflow
instance. Exception details: System.ApplicationException: HTTP 401
{"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access
denied. You do not have permission to perform this action or access this
resource."}}}
{"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPRequestGuid":["171a693d-7b50-a70a-ba75-67ea8bc83fb4"],"request-id":["171a693d-7b50-a70a-ba75-67ea8bc83fb4"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4481"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"Cache-Control":["max-age=0,
private"],"Date":["Tue, 16 Jul 2013 15:28:13
GMT"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["NTLM"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}
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
Obviously, this is a permissions issue. I am able to resolve the issue by adding individuals to the SharePoint group 1 by 1, however, I don't want to do this. Can anyone explain why this is acting the way it is?