Strange exception from the Exchange Web Services "An internal server error occurred.

Regular Visitor

Recently we started to get strange exception on the EWS: SyncFolderItems call, this is the error : "An internal server error occurred. The operation failed., IdAndSession.MailboxSession: session is not IMailboxSession". 

Please note that code didn't change for more than year.

All those issue are on customer accounts, we had this in the past and after sometime those errors vanished, but we need to figure out what is going on. We notice that this someone have the same issue here:https://social.msdn.microsoft.com/Forums/office/en-US/ee750676-24a9-4aa4-bbdd-43cf2c9ff813/ewsexchan... . It's related to exchange version update. Therefore, can anybody help me to review this issue?

3 Replies

This is what I have , looks like its a bug and Microsoft is working on it. there are many people reported this and talked to MS and they have got the same answer that "its a bug"
Please refer this forum below and let me know if this helps!


Same issue here, it's already a week with this strange error, and Microsoft support doesn't provide any meaningful answers, only that they don't support 3'rd party applications and that it's a connectivity issue. Very non-professional. 


It should be fixed now. {Version: 15.20.1446.019}

Related Conversations
eDiscovery - non 365 data - MSG files
jackvdbuk in Office 365 on
1 Replies
termsvcs memory hog
Tim Hunter in Windows Server for IT Pro on
3 Replies
Unused Services
Tim Hunter in Windows Server for IT Pro on
1 Replies
Office 365 Sending Limit Clarification
jab9417 in Office 365 on
1 Replies
Office 365 domain using external email server
SimonNZ in Office 365 on
1 Replies