Large exchange O365 account issues, v.11 upgrade

Hi all

My update to V11 has been mostly positive, but it seems the graph support may be having troubles. After install, it looks like it wanted to re-download most mail, which is a lot of blocking processes for my machine with maybe 30GB of mail. I let it finish overnight and it timed out or errored several times.

I found some of my folders like sent/ junk etc. don’t always show and were not synced. I tried repairing them and they re-downloaded but did disappear again. Sent was empty where the server has mail back to 2020.

I dropped the exchange account this morning, restarted and re-added. It seems to be working ok, though there are some very long runs while its downloading mail. Sometimes they stop with various errors logged, like this one:

11:12:28 AM [email protected] [Microsoft Graph] MailClient.Storage.Application.OperationException: Synchronizing folder ‘[email protected]/Inbox’ failed due to the following error: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
—> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan1 bytes) at System.Text.Json.JsonDocument.Parse(ReadOnlySpan1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter, Boolean allowDuplicateProperties) at System.Text.Json.JsonDocument.ParseAsyncCore(Stream utf8Json, JsonDocumentOptions options, CancellationToken cancellationToken) at Microsoft.Kiota.Serialization.Json.JsonParseNodeFactory.GetRootParseNodeAsync(String contentType, Stream content, CancellationToken cancellationToken) at Microsoft.Kiota.Abstractions.Serialization.ParseNodeProxyFactory.GetRootParseNodeAsync(String contentType, Stream content, CancellationToken cancellationToken) at Microsoft.Kiota.Abstractions.Serialization.ParseNodeFactoryRegistry.GetRootParseNodeAsync(String contentType, Stream content, CancellationToken cancellationToken) at Microsoft.Graph.ResponseHandler1.ValidateSuccessfulResponseAsync(HttpResponseMessage httpResponseMessage, Dictionary2 errorMapping) at Microsoft.Graph.ResponseHandler1.HandleResponseAsync[NativeResponseType,ModelType](NativeResponseType response, Dictionary2 errorMappings) at Microsoft.Graph.BatchResponseContent.GetResponseByIdAsync[T](String requestId, IResponseHandler responseHandler) at MailClient.Protocols.MSGraph.MSGraphItemSynchronizer3.RunAsBatchCore[T](List1 requestList, CancellationToken cancellationToken, Int32 corruptionRetry) at MailClient.Protocols.MSGraph.MSGraphMailItemSynchronizer.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, SynchronizationType synchronizationType, List1 messages, Nullable1 limitedSyncStartDate, CancellationToken cancellationToken)
at MailClient.Protocols.MSGraph.MSGraphMailItemSynchronizer.<>c__DisplayClass15_0.b__2(IItemSynchronizeContext1 context, Folder currentFolder, SynchronizationType synchronizationType, List1 messages, CancellationToken token)
at MailClient.Protocols.MSGraph.MSGraphItemSynchronizer3.IterateDeltaPages[TDeltaResponse](IItemSynchronizeContext1 synchronizeContext, Folder folder, RequestInformation requestInfo, DeltaTokenInfo deltaTokenInfo, ParsableFactory1 parsableFactory, Func2 getItems, Action5 synchronizeBatch, CancellationToken cancellationToken) at MailClient.Protocols.MSGraph.MSGraphMailItemSynchronizer.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken)
at MailClient.Protocols.Common.ItemSynchronizer`2.<>c__DisplayClass38_2.b__6(WorkerStatus status, CancellationToken ct)
at MailClient.Protocols.MSGraph.GenericMSGraphCommand.Execute(WorkerStatus status)
— End of inner exception stack trace —
at MailClient.Protocols.MSGraph.GenericMSGraphCommand.Execute(WorkerStatus status)
at MailClient.Commands.Command.Process(WorkerStatus status)
AccountId = null
AccountName = null
RunInPlace = False
GUIStatus_Exception_Reported = True

I am pushing through but wanted to mention this to the team and any upgrading folks. I am on 11.0.1201 (c416881)

Adding to this, it seems my full mailbox has been downloaded. However some oddities are happening. For instance, my junk folder on exchange/0365 is confused. Clicking it gets me my inbox/all email. A repair seems to fix but its happened before. I am concerned my folders may get confused which could cause me to lose mail.

IMHO, the graph sync they introduced is still buggy.
I reported bugs before in the beta and they are still there.
Every now and then it cannot find an item in the store and that stops sync for good, only removing and adding account back in resolves the issue.
Graph seems also a lot slower than EWS.

I have sent a bug report in, but am not using EMC until I see some reply. It seems several folders are representing themselves as something else. This is after a full reset on the account. My mail is pretty important to me, I can’t lose any.