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…


Exchange PowerShell: How to get list of mailboxes, folders, subfolders, items in folder, foldersize programmatically?

One of my customer automated Exchange PowerShell with his .Net application. They had a requirement to enhance the functionality – to get the list of exchange mailboxes, folders and its sub folders, items in folder, foldersize. Finally it needs to be saved in .csv format.  To implement this, we used Get-Mailbox and Get-MailboxFolderStatistics Exchange cmdlets….

3

Utility review: Calcheck – Outlook Calendar Checking tool

In this post, we will have a look at the Calendar Checking tool (Calcheck) for Outlook which is published recently by Randy. This program checks the Microsoft Outlook Calendar and items for problems or for potential problems. It’s is a command-line program that checks Outlook Calendars for problems. To use this tool, the Outlook calendar…


Outlook Programming: How to retrieve unread messages from any Outlook folder?

Recently one of my customer updated that he got a requirement to programmatically retrieve unread messages from any Outlook folder to be implemented part of his application. We tried the following steps -  Will show you how you can programmatically retrieve unread messages from any Outlook folder using Outlook Object Model (OOM) API. Let we…

1

Outlook Object Model: Handling mailbox items – read or unread – from any folder

Being Exchange/Office developer, you make use of Outlook Object Model (OOM) API to can handle the mailbox items programmatically and process as per your wish. Let me walkthrough through this sample: ‘Declaration block Dim iOut As Outlook.Application Dim iNs As Outlook.NameSpace Dim iFldr As Outlook.MAPIFolder Dim iCount As Integer Dim iMsg As Outlook.MailItem Dim iCtr…