Issue
In some situations, the Office 365 module might reports the following when ingesting data into Office 365:

2016-03-11 14:37:33Z|1299| 34|ERROR| ProcessFailedResult|
Error while ingesting Item with Id [a106a19a-5099-1f65-204b-6b8f71e2c371]
ItemRoutingId: [11345] Error: [Microsoft.Exchange.WebServices.Data.ServiceRequestException:
The request failed. The remote server returned an error: (401) Unauthorized. --->
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
--- End of inner exception stack trace ---
at QUADROtech.ExchangeWebServices.Connection.EWSExecutor.CallService
(Action`3 actionToExecute, String smtpAddress, Object state)
at QUADROtech.ExchangeWebServices.Folders.FolderHandler.GetOrCreateFolderImpl
(String path, Object state, Func`2 folderPathFragmentKindFunc, ExchangeService exchangeService, IEnumerable`1 additionalProperties)
at QUADROtech.ExchangeWebServices.Folders.FolderHandler.GetOrCreateFolder
(String path, Object state)
at QUADROtech.ExchangeWebServices.AIP.IngestHandler.CreateHttpWebRequestContent
(IIngestContainerSetup containerSetup, List`1 itemsInternal, IFolderHandler folderHandler, IngestCollectionResult result)
at QUADROtech.ExchangeWebServices.AIP.IngestHandler.IngestItems
(IIngestContainerSetup containerSetup, List`1 items, IFolderHandler folderHandler, IngestCollectionResult result, Int64& totalSize)
at QUADROtech.ExchangeWebServices.AIP.IngestHandler.<>c__DisplayClass9_1.<Ingest>b__1()]

Solution
This may be caused by one of the accounts that have Application Impersonation rights being locked-out. Check and correct that in Office 365, and then see if the errors stop being logged.

Print Friendly, PDF & Email