Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4300
  • Last Modified:

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.
1
exelna
Asked:
exelna
  • 2
1 Solution
 
kukdaiCommented:
Go to your group settings page and see if the option visible to everyone is selected or not. if it is not selected make it visible to everyone. so that the email sending account can see all the users in the group
1
 
exelnaAuthor Commented:
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.
0
 
exelnaAuthor Commented:
Thank you for your help. :D
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now