CRM Bulk Email Failure RRS feed

  • Question

  • Unhandled Exception: Microsoft.Crm.Workflow.Activities.StopWorkflowException: The bulk e-mail job completed with 50 failures. The failures might be caused by missing e-mail addresses or because you do not have permission to send e-mail. To find records with missing e-mail addresses, use Advanced Find. If you need increased e-mail permissions, contact your system administrator ( I ak the Admin in training)
       at Microsoft.Crm.Workflow.Activities.BulkMailItem.Execute(NativeActivityContext executionContext)
       at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
       at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #5BFDDD78Detail:
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #5BFDDD78</Message>
        <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
        <Message>The state transition requested is not valid for the current state. Current state: 3, current status: 31, target state: 3.</Message>
        <InnerFault i:nil="true" />
        <TraceText i:nil="true" />
      <TraceText i:nil="true" />


    Thursday, August 16, 2012 3:41 PM

All replies

  • Hi,

    Are you sending emails on behalf of other users? if you do, the user running the job needs permissions to 'Send as other user' and the users need to also allow this on their user preferences.

    Visit my blog for CRM material, improving performance, kerberos, IFD, development tips, etc. :) http://quantusdynamics.blogspot.com

    Friday, August 17, 2012 9:41 AM