Solved

Cannot email Group with multiple users in SharePoint Workflow

Posted on 2014-01-17
3
4,049 Views
1 Endorsement
Last Modified: 2014-01-23
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
Comment
Question by:exelna
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
kukdai earned 500 total points
ID: 39804563
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
 

Author Comment

by:exelna
ID: 39804744
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
 

Author Closing Comment

by:exelna
ID: 39804745
Thank you for your help. :D
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question