SharePoint Group Setting causes error

I have been dealing with a bit of nuisance in the past couple of days that has been driving me crazy.  I have an InfoPath form that is used to request resources and sent to the proper approvers for approval. Because there can be multiple approvers, I added them to a SharePoint group I created and I used SharePoint designer workflow to route the email to the group.

Here’s the problem I have been having, my workflow ends up “pending” and the notification doesn’t get sent.  I get the cryptic error seen below:

RequestorId: 26acf292-541b-6524-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {“Transfer-Encoding”:[“chunked”],”X-SharePointHealthScore”:[“0″],”SPClientServiceRequestDuration”:[“31″],”SPRequestGuid”:[“26acf292-541b-6524-9427-35217de6a338″],”request-id”:[“26acf292-541b-6524-9427-35217de6a338″],”X-FRAME-OPTIONS”:[“SAMEORIGIN”],”MicrosoftSharePointTeamServices”:[“15.0.0.4512″],”X-Content-Type-Options”:[“nosniff”],”X-MS-InvokeApp”:[“1; RequireReadOnly”],”Cache-Control”:[“max-age=0, private”],”Date”:[“Tue, 07 Jun 2016 18:33:38 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)

I was finally able to get help from my colleague who faced the same issue before.  It had to do with how my group was set up.  When I created the group and arrived at the “Group Settings” section, “Who can view the membership of the group?”, I selected ‘Group Members’ which was wrong.  It needed to be ‘Everyone’. See below
groupSetting

 

With that change, my workflow started working and notifications were being sent.

I hope this post can save somebody the headache that I had.

SharePoint SharePoint 2013

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: