You will receive the below message when you try to change the date in the Process Email From Field in the Email Server Profile to a date prior to 60 days.

 

 

 

Log File:

 

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The date in the Process Email From field is earlier than what is allowed for your organization. Enter a date that is later than the one specified, and try again.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147098044</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>The date in the Process Email From field is earlier than what is allowed for your organization. Enter a date that is later than the one specified, and try again.</Message>
  <Timestamp>2015-10-10T06:37:00.4565268Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

 

By default, the maximum number of days allowed is 60 to process emails from earlier date.

 

We have this setting configured in the DeploymentProperties Table in MSCRM_CONFIG database.

 

Execute the below query on MSCRM_CONFIG database to view the current value:

 

select * from DeploymentProperties

where ColumnName='ECProcessEmailSinceMaximumDaysAllowed'

 

Execute the below query to update the value to 120 {Change based on your requirement}:

 

update DeploymentProperties

set IntColumn=120

where ColumnName='ECProcessEmailSinceMaximumDaysAllowed'

 

Note:

 

1. Perform the changes first in Test environment and then proceed with Production environment.

2. If the value is changed to too earlier date and the number of emails are huge, it will create a performance impact and takes lot of time to process the mails.

 

*This is applicable for CRM 2013 and CRM 2015 versions.