I use Microsoft.Office365.OutlookServices.OutlookServicesClient from the Microsoft.Office365.OutlookServices library to work with Office 365 Outlook AAD.

When I try to get one of the messages through its message-ID, the following error occurs:

"{" error ": {" code ":" ErrorMessageSizeExceeded "," message ":" The message is the maximum supported size., The message is the maximum supported size. "}}".

Are there any ways to solve this problem? I tried to change the maximum allowed message sizes through the Office 365 admin panel, this did not help. More precisely, this in no way affected the receipt of sending messages through the API or through the client.

Here is the code for receiving a message in C #:

 var messageQuery = m_user.Messages[messageSummary.MessageId]; IMessage message = await messageQuery.ExecuteAsync(); 

    0