Link to home
Start Free TrialLog in
Avatar of exelna
exelna

asked on

Cannot email Group with multiple users in SharePoint Workflow

I created a task process and wanted to have it send the Task to a group of users in a SharePoint Group. It lets me select the group in the Select Users dialog and no errors are found when I publish it.

We are using SharePoint Online 2013.
I have followed the instructions on this MSDN link to get the Send an Email and Assign a Task actions to work.
http://msdn.microsoft.com/en-us/library/jj822159.aspx

I am now trying to use the Start a Task Process action so I can assign the task to  multiple people in a SharePoint group. If the group I select has only 1 member, then it works, but if there is multiple members it doesn't work, I get this error.

Suspend this workflow  
 Activity in progress

 Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP Unauthorized to https://oursite.sharepoint.com/quality/_vti_bin/client.svc/sp.utilities.utility.SendEmail Correlation Id: 2d8f96c0-00c8-9d3e-8444-7b2d16307f38 Instance Id: bd19d0d7-38c9-40bc-aa2f-4a153bade6c0

Access denied. You do not have permission to perform this action or access this resource.
  Retry now  

The Start a Task Process is wrapped in an App Step, which is what I needed for the Assign a task and Send an Email actions. The issue happens with Serial and Parallel tasks.
ASKER CERTIFIED SOLUTION
Avatar of Uttam (Kukdai) Dhakal
Uttam (Kukdai) Dhakal
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of exelna
exelna

ASKER

Thanks kukdai, that worked.

For anyone else, I had another issue as well as what kukdai mentioned. The UPN logins (User Principal Names)  for our company didn't match our email addresses. Ours were just FirstInitial+LastName the same as the Down-Level (pre-2k) logins, while our email addresses are FirstName.LastName@domain.

Even when I did a Start a task process Action and just added 2 users instead of using a SharePoint Group, it didn't work. Once I changed the users to have a UPN that is FirstName.LastName (per MS tech request) it would let me at 2 users to eh task process.

I still couldn't get Groups to work until I did as kukdai said.
Avatar of exelna

ASKER

Thank you for your help. :D