Forum Discussion

Arrow312's avatar
Arrow312
Copper Contributor
Dec 10, 2018

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

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://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Foffice%2Fen-US%2Fee750676-24a9-4aa4-bbdd-43cf2c9ff813%2Fewsexchangeonlineewsma-since-some-office-365-update-the-syncfolderitems-function-for%3Fforum%3Dexchangesvrdevelopment&data=02%7C01%7Cv-aryan%40microsoft.com%7C71450e9432c04993984c08d65e7139b2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636800237733219691&sdata=hdsD0c9CwYQ4AlzImMujZY04GUqdPmWukltlCT70X68%3D&reserved=0 . It's related to exchange version update. Therefore, can anybody help me to review this issue?

3 Replies

Resources