Solved

Cannot email Group with multiple users in SharePoint Workflow

Posted on 2014-01-17
3
3,902 Views
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.
0
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
0
 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Learn more about how the humble email signature can be used as more than just an electronic business card. When used correctly, a signature can easily be tailored for different purposes by different departments within an organization.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now