Issue
The Archive Shuttle Shortcut Postproces module is logging the following error:

2016-04-27 07:42:55Z|1722| 10| INFO| ProcessCommand|Got Command FixShortcuts
2016-04-27 07:42:55Z|1722| 10| INFO| ProcessSearch|Processing command [FixShortcuts], mailbox [] type [Primary]
2016-04-27 07:42:55Z|1722| 10|ERROR| CallService|[]: Exception during call to Exchange Service. Void WriteToXml(Microsoft.Exchange.WebServices.Data.EwsServiceXmlWriter)
The Id property must be set.
 at Microsoft.Exchange.WebServices.Data.ImpersonatedUserId.WriteToXml(EwsServiceXmlWriter writer)
 at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.WriteToXml(EwsServiceXmlWriter writer)
 at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.EmitRequest(IEwsHttpWebRequest request)
 at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.BuildEwsHttpWebRequest()
 at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
 at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
 at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder(FolderId folderId, PropertySet propertySet)
 at Microsoft.Exchange.WebServices.Data.ExchangeService.BindToFolder[TFolder](FolderId folderId, PropertySet propertySet)
 at QUADROtech.ExchangeWebServices.Folders.FolderHandler.GetRootFolder(ExchangeService service)
 at QUADROtech.ExchangeWebServices.Folders.FolderHandler.<>c__DisplayClass24_0.<GetCachedRootFolder>b__0()
 at QUADROtech.ExchangeWebServices.Folders.FolderOperationsBase.RetryFunction[T](Func`1 func, Int32 retryCount)
 at QUADROtech.ExchangeWebServices.Folders.FolderHandler.GetCachedRootFolder(ExchangeService service)
 at QUADROtech.ExchangeWebServices.Folders.FolderHandler.<>c__DisplayClass13_0.<GetFolderId>b__0(ExchangeService service, Object innerState)
 at QUADROtech.ExchangeWebServices.Connection.EWSExecutor.<>c__DisplayClass19_0.<CallService>b__0(ExchangeService service, ICallServiceInfo credentials, Object s)
 at QUADROtech.ExchangeWebServices.Connection.EWSExecutor.CallService(Action`3 actionToExecute, String smtpAddress, Object state)
2016-04-27 07:42:55Z|1722| 10|ERROR| SearchCollectionResult|[]: Search error Void WriteToXml(Microsoft.Exchange.WebServices.Data.EwsServiceXmlWriter)
The Id property must be set.
 at QUADROtech.ExchangeWebServices.Connection.EWSExecutor.CallService(Action`3 actionToExecute, String smtpAddress, Object state)
 at QUADROtech.ExchangeWebServices.Connection.EWSExecutor.CallService(Action`2 actionToExecute, String smtpAddress, Object state)
 at QUADROtech.ExchangeWebServices.Folders.FolderHandler.GetFolderId(String path, Object state)
 at QUADROtech.ExchangeWebServices.Search.SearchExecutor.SearchCollectionResult(ISearchContainer container, IEnumerable`1 filterBuilders, IFolderEnumerator folderEnumerator, IFolderHandler folderHandler)
2016-04-27 07:42:55Z|1722| 10| INFO| ProcessSearch|Finished command [FixShortcuts], mailbox:[] type:[Primary], processed item count:[0], processing time[0s], message:[The Id property must be set.]
2016-04-27 07:42:55Z|1722| 10|ERROR| ProcessSearch|Unable to successfully perform action FixShortcuts Void ProcessSearch(ArchiveShuttle.Common.Resources.ModuleCommand, ArchiveShuttle.Common.Resources.ShortcutPostprocessContainer, System.Collections.Generic.List`1[QUADROtech.ExchangeWebServices.Interfaces.ISearchFilterBuilder], Boolean, ArchiveShuttle.Common.Resources.ModuleCommandResultEnum)
One or more errors, last error message: The Id property must be set.
 at ArchiveShuttle.Module.ShortcutPostprocessModule40.CommandExecution.Ews.ExchangeEwsExecutorBase.ProcessSearch(ModuleCommand command, ShortcutPostprocessContainer shortcutPostprocessContainer, List`1 filterBuilders, Boolean associatedContent, ModuleCommandResultEnum resultTypeOnFailure)
2016-04-27 07:43:01Z|1722|248| INFO| OnOverallPerformanceTimerElapsedImpl|Scan Working: [0] Queued: [0] | Processing Working: [0] Queued: [0]

Solution
This error is returned when the Id property is missing. The user is probably missing the PrimarySMTPAddress in their Active Directory entries.
Once corrected, an AD Sync needs to be run, and then the FixShortcut command should finish with success.

Print Friendly, PDF & Email