Gotchas – Microsoft Graph/Outlook REST API throttling, best practices

In recent times, I was working with this customer where they make Graph API calls, Say, GET https://graph.microsoft.com/v1.0/users/YYY@XXX.onmicrosoft.com/mailFolders/inbox/messages?$skip=0&$top=30&$select=bodypreview,categories,conversationid,from,hasattachments,id,isdraft,isread,lastmodifieddatetime,parentfolderid,receiveddatetime,replyto,sender,sentdatetime,subject,torecipients and few other GET (read operations of mail folders/single item handles specifically) and few POST/PATCH calls. They noticed, once the throttling threshold is exceeded, Microsoft Graph limits any further requests from that client for a period of…


Debug: Syncing custom EWS app to an Exchange Server 2010 mailbox receive ErrorServerBusy

When you try to synchronize an Exchange Web Service (EWS)-based application to a mailbox in a Microsoft Exchange Server 2010 environment, you receive an ErrorServerBusy response code and an error message that resembles the following: The server cannot service this request right now. Try again later. This error occurs when the server is busy. Exchange…