Hi,
We have a trial D365 Online enviornment and a Production D365 Online environment. In both cases when trying to setup Queues to work with Shared Mailboxes (Exchange Online - Server Side Sync) incoming email is rejected with Trace: IncomingEmailRejected and error code: 29. In both environments, testing incoming and outgoing mail returns 'Success'. Replicating the setup in CRM 2016 Update 1 the process works perfectly. Emails are processed with no errors.
Example of D365 trace errors:
tracecode : 29
machinename : [machine name]
errortypedisplay : IncomingEmailRejected
errordetails: Null
collationlevel : 0
modifiedon : 11/14/2016 4:48:59 PM
tracecode : 29
machinename : [machine name]
errortypedisplay : IncomingEmailRejected
errordetails: Null
collationlevel : 0
modifiedon : 11/14/2016 4:48:46 PM
In the production D365 environment, if I download the Mailbox details for the Queue, it appears a cycle error message is also returned in addition to the IncomingEmailRejected trace error:
Mailbox Last Sync Cycle Information
lastsuccessfulsynccompletedon : 11/14/2016 4:59:08 PM
lastsyncerror : T:147
ActivityId: 4ee897ca-0bc9-4b95-880a-fcf1710363d3
>Exception : Unhandled Exception: System.Net.WebException: The request was aborted: The request was canceled. at System.Web.Services.Protocols.WebClientAsyncResult.WaitForResponse() at System.Web.Services.Protocols.WebClientProtocol.EndSend(IAsyncResult asyncResult, Object& internalAsyncState, Stream& responseStream) at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult) at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeServiceBinding.EndFindFolder(IAsyncResult asyncResult) at Microsoft.Crm.Asynchronous.EmailConnector.FindSearchFolderStep.EndCall() at Microsoft.Crm.Asynchronous.EmailConnector.ExchangeIncomingEmailProviderStep.EndOperation()
Is anyone able to shed light on this issue?