Solved

Cannot email Group with multiple users in SharePoint Workflow

Posted on 2014-01-17
3
4,133 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

729 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