Get-SyncRequest -Mailbox user@domain.com RunspaceId : 363eb865-eed6-495a-8632-b9157e5709f8 Mailbox : EURPR06A005.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/tenantname.onmicrosoft.com/[User] EmailAddress : user@domain.com SyncProtocol : Imap WorkloadType : Onboarding_IMAP RemoteServerName : [servername] RemoteServerPort : 993 SmtpServerName : SmtpServerPort : 0 AuthenticationMethod : Basic SecurityMechanism : Ssl AcceptUntrustedCertificates : True DisplayName : OAuthProvider : None LastSuccessfulSyncTimestamp : LastUpdateTimestamp : 10/20/2020 4:27:39 AM LastFailureTimestamp : 10/15/2020 2:07:17 PM InitialSyncCompletionTimestamp : FailureType : ImapBadResponseException TargetRootFolder : InternalFlags : UseDataConsistencyScore DoNotLeaveOnServer : False RemoteSendEnabled : False IsQuarantined : False IsOauthSync : False UserName : SmtpUserName : Name : IMAP:user@domain.com RequestGuid : c9c2527a-8b34-4021-94d5-45cf169741b3 RequestQueue : EURPR06DG116-db005 ExchangeGuid : 00000000-0000-0000-0000-000000000000 Flags : CrossOrg, Pull, Suspend BatchName : MigrationService:Migration_batch11 Status : Failed Protect : False Suspend : True Direction : Pull RequestStyle : CrossOrg OrganizationId : EURPR06A005.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/tenantname.onmicrosoft.com - EURPR06A005.PROD.OUTLOOK.COM/ConfigurationUnits/tenantname.onmicrosoft.com/Configuration SourceMailboxSize : 778956800 MailboxRopCount : WhenChanged : 10/20/2020 6:27:39 AM WhenCreated : 10/15/2020 3:35:51 PM WhenChangedUTC : 10/20/2020 4:27:39 AM WhenCreatedUTC : 10/15/2020 1:35:51 PM Identity : EURPR06A005.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/tenantname.onmicrosoft.com/User\IMAP:user@domain.com IsValid : True ObjectState : New $syncstats = Get-SyncRequestStatistics user@domain.com -IncludeReport -DiagnosticInfo "showtimeslots, showtimeline, verbose" $syncstats.Report.Failures | select -Last 2 Timestamp : 10/15/2020 2:07:17 PM FailureType : ImapBadResponseException FailureHash : 7475 FailureCode : -2146233088 MapiLowLevelError : 0 FailureSide : Source FailureSideInt : 1 ExceptionTypes : {Exchange} ExceptionTypesInt : {1} WorkItem : CrawlAndCopyFolder Message : Imap server sent BAD response to FetchCommand. Response code: '', message: 'The specified message set is invalid.'. MessageData : DataContext : -------- Operation: ImapSourceMailbox.CopyBatchOfMessages EntryIDs: [count:1, [len=67, data=563D313B503D494D41503B553D303B55563D35373539313B4C463D31424532393232353639324641393030334232393135433741303737434630383532393138354143]] -------- Operation: IMailbox.ExportMessages REDACTED-602b8ea1af226b5b6ee7e08d43f90185@domain.com (IMAP) OperationSide: Source Flags: ReportBadItems PropTags: (null) -------- MessageCount: 1 EntryIDs: [count:1, [len=67, data=563D313B503D494D41503B553D303B55563D35373539313B4C463D31424532393232353639324641393030334232393135433741303737434630383532393138354143]] -------- Folder: type Generic, wkf None, entryId [len=54, data=563D313B503D494D41503B46503D42323145394330424532454631454241384533463738433237453734354443393031373531393942], parentId [len=10, data=49706D53756274726565] -------- Folder: type Generic, wkf None, entryId [len=54, data=563D313B503D494D41503B46503D42323145394330424532454631454241384533463738433237453734354443393031373531393942], parentId [len=10, data=49706D53756274726565] -------- >>>> Current WorkItem: CrawlAndCopyFolder, Scheduled WorkItems: CrawlAndCopyFolder(P:0,R:-63738367617133,S:63738367617133,C:317); CrawlAndCopyFolder(P:446,R:0,S:0,C:1570); CrawlAndCopyFolder(P:0,R:0,S:0,C:61); CrawlAndCopyFolder(P:0,R:-63738367619532,S:63738367619532,C:10554); CrawlAndCopyFolder(P:0,R:0,S:0,C:398); CrawlAndCopyFolder(P:0,R:-63738367630488,S:63738367630488,C:197); CrawlAndCopyFolder(P:0,R:-63738367630685,S:63738367630685,C:26); CrawlAndCopyFolder(P:0,R:-63738367630712,S:63738367630712,C:472); CrawlAndCopyFolder(P:0,R:0,S:0,C:122); CrawlAndCopyFolder(P:0,R:-63738367631309,S:63738367631310,C:766) -------- Operation: ImapSourceMailbox.CopyBatchOfMessages EntryIDs: [count:1, [len=67, data=563D313B503D494D41503B553D303B55563D35373539313B4C463D31424532393232353639324641393030334232393135433741303737434630383532393138354143]] -------- Operation: IMailbox.ExportMessages REDACTED-602b8ea1af226b5b6ee7e08d43f90185@domain.com (IMAP) OperationSide: Source Flags: ReportBadItems PropTags: (null) -------- MessageCount: 1 EntryIDs: [count:1, [len=67, data=563D313B503D494D41503B553D303B55563D35373539313B4C463D31424532393232353639324641393030334232393135433741303737434630383532393138354143]] -------- Folder: type Generic, wkf None, entryId [len=54, data=563D313B503D494D41503B46503D42323145394330424532454631454241384533463738433237453734354443393031373531393942], parentId [len=10, data=49706D53756274726565] -------- Folder: type Generic, wkf None, entryId [len=54, data=563D313B503D494D41503B46503D42323145394330424532454631454241384533463738433237453734354443393031373531393942], parentId [len=10, data=49706D53756274726565] -------- >>>> Current WorkItem: CrawlAndCopyFolder, Scheduled WorkItems: CrawlAndCopyFolder(P:0,R:-63738367617133,S:63738367617133,C:317); CrawlAndCopyFolder(P:446,R:0,S:0,C:1570); CrawlAndCopyFolder(P:0,R:0,S:0,C:61); CrawlAndCopyFolder(P:0,R:-63738367619532,S:63738367619532,C:10554); CrawlAndCopyFolder(P:0,R:0,S:0,C:398); CrawlAndCopyFolder(P:0,R:-63738367630488,S:63738367630488,C:197); CrawlAndCopyFolder(P:0,R:-63738367630685,S:63738367630685,C:26); CrawlAndCopyFolder(P:0,R:-63738367630712,S:63738367630712,C:472); CrawlAndCopyFolder(P:0,R:0,S:0,C:122); CrawlAndCopyFolder(P:0,R:-63738367631309,S:63738367631310,C:766) -------- Folder: type Generic, wkf None, entryId [len=54, data=563D313B503D494D41503B46503D42323145394330424532454631454241384533463738433237453734354443393031373531393942], parentId [len=10, data=49706D53756274726565] -------- Folder: type Generic, wkf None, entryId [len=54, data=563D313B503D494D41503B46503D42323145394330424532454631454241384533463738433237453734354443393031373531393942], parentId [len=10, data=49706D53756274726565] -------- >>>> Current WorkItem: CrawlAndCopyFolder, Scheduled WorkItems: CrawlAndCopyFolder(P:0,R:-63738367617133,S:63738367617133,C:317); CrawlAndCopyFolder(P:446,R:0,S:0,C:1570); CrawlAndCopyFolder(P:0,R:0,S:0,C:61); CrawlAndCopyFolder(P:0,R:-63738367619532,S:63738367619532,C:10554); CrawlAndCopyFolder(P:0,R:0,S:0,C:398); CrawlAndCopyFolder(P:0,R:-63738367630488,S:63738367630488,C:197); CrawlAndCopyFolder(P:0,R:-63738367630685,S:63738367630685,C:26); CrawlAndCopyFolder(P:0,R:-63738367630712,S:63738367630712,C:472); CrawlAndCopyFolder(P:0,R:0,S:0,C:122); CrawlAndCopyFolder(P:0,R:-63738367631309,S:63738367631310,C:766) DataContextData : StackTrace : at Microsoft.Exchange.Connections.Imap.ImapConnection.ProcessResponsesInternal(String commandType, IEnumerable`1 responses, String tag, Boolean isLogin, Boolean isAuth, IImapBulkItemProcessor itemProcessor, Int32 estimatedMessageCount, Int32 estimatedFolderCount, FolderStatistics& folder, IList`1& messages, IList`1& folders, SearchData& searchResults, ExtendedSearchData& esearchResults, ItemCopyResult& copyResult, ItemCreateResult& createResult, Boolean& receivedUpdate) at Microsoft.Exchange.Connections.Imap.ImapConnection.ProcessMessagesResponses(String commandType, IEnumerable`1 responses, String tag, IImapBulkItemProcessor itemProcessor, Int32 estimatedMessageCount, IList`1& messages) at Microsoft.Exchange.Connections.Imap.ImapConnection.GetItems(MessageSet messages, FetchAttFlags attributes, Boolean useUid, IEnumerable`1 sectionIds, Nullable`1 changedSince, Boolean vanished, IImapBulkItemProcessor itemProcessor) at Microsoft.Exchange.MailboxReplicationService.ImapSourceMailbox.<>c__DisplayClass71_0.b__0() at Microsoft.Exchange.MailboxReplicationService.ImapSourceMailbox.AcquireThrottlingDuration(IThrottleable throttleable, Action action, Boolean trackImplicitlyThrottlingDuration) at Microsoft.Exchange.MailboxReplicationService.ImapSourceMailbox.ProcessMimeStreams(List`1 messages, IFolderProxy folderProxy, BodySectionId bodySection, List`1 badItems, Boolean reportBadItems) at Microsoft.Exchange.MailboxReplicationService.ImapSourceMailbox.CopyBatchOfMessages(List`1 messages, IFxProxyPool proxyPool, List`1 badItems, Boolean reportBadItems) at Microsoft.Exchange.MailboxReplicationService.MailboxWrapper.Microsoft.Exchange.MailboxReplicationService.IMailbox.ExportMessages(List`1 messages, IFxProxyPool destProxies, ExportMessagesFlags flags, PropTag[] propsToCopyExplicitly, PropTag[] excludeProps, List`1 badItems) at Microsoft.Exchange.MailboxReplicationService.MessageExporter.<>c__DisplayClass13_1.b__0() at Microsoft.Exchange.MailboxReplicationService.TransmitterWithHistory.TrackAction(Object pipelineStart, Action action) at Microsoft.Exchange.MailboxReplicationService.MessageExporter.ExportMessageBatch(IMailbox mailbox, List`1 messages, Func`2 getProxyPool, ExportMessagesFlags flags, PropTag[] propsToCopyExplicitly, PotentialBadItemTracker potentialBadItemTracker, ItemPropertiesBase perBatchSettings, FailureRec& failure, EntryIdMap`1& badItemMap) at Microsoft.Exchange.MailboxReplicationService.MessageExporter.InternalExportMessagesWithBadItemDetection(IMailbox mailbox, List`1 messages, Func`2 getProxyPool, ExportMessagesFlags flags, PropTag[] propsToCopyExplicitly, List`1 badItems, PotentialBadItemTracker potentialBadItemTracker, OperationFlags operation, Boolean preemptivelyRetrieveBadItemData) at Microsoft.Exchange.MailboxReplicationService.MessageExporter.ExportMessagesWithBadItemDetection(IMailbox mailbox, List`1 messages, Func`2 getProxyPool, ExportMessagesFlags flags, PropTag[] propsToCopyExplicitly, List`1 badItems, PotentialBadItemTracker potentialBadItemTracker, OperationFlags operation) at Microsoft.Exchange.MailboxReplicationService.MailboxMerger.CopySingleMessageBatch(FolderCopyContext copyContext) at Microsoft.Exchange.MailboxReplicationService.MailboxMerger.CopyMessageBatch(FolderContentsMapper mapper, List`1 itemsToCopy, FolderMapping fm, Boolean skipRequestRefresh) at Microsoft.Exchange.MailboxReplicationService.MailboxMerger.MergeFolderContentsPaged(FolderMapping folder, ISourceFolder srcFolder, FolderContentsCrawler sourceFolderCrawler, IDestinationFolder destFolder, TimeSpan maxOperationDuration, CopyDataFlags copyFlags) at Microsoft.Exchange.MailboxReplicationService.MailboxMerger.CopyFolderPropertiesAndContents(FolderMapping folder, ISourceFolder srcFolder, FolderContentsCrawler sourceFolderCrawler, IDestinationFolder destFolder, Boolean copyProperties, TimeSpan maxOperationDuration, CopyDataFlags copyFlags) at Microsoft.Exchange.MailboxReplicationService.SyncBaseJob.CopyFolderPropertiesAndContents(FolderMapping folder, ISourceFolder srcFolder, FolderContentsCrawler sourceFolderCrawler, Boolean shouldCopyProperties, TimeSpan maxOperationDuration, CopyDataFlags copyFlags) at Microsoft.Exchange.MailboxReplicationService.SyncBaseJob.CrawlAndCopyFolder(FolderCrawlingInfo folderCrawlInfo) at Microsoft.Exchange.MailboxReplicationService.Job.ExecuteWorkItemCallback(WorkItem workItem) InnerException : UnknownElements : UnknownAttributes : XmlSchemaType :