EWS API throws error “No Mailbox with such GUID”

Recently i was working with an ISV/application developer, who created this custom application using EWS (Exchange Web Services) API. It worked with the account with impersonation rights to access other mailboxes/calendars in Azure/Office 365/Exchange Online. But when they tried to access a specific mailbox calendar, they see the error “No mailbox with such GUID”. We…


Graph API Developer–Programmatically get the Outlook categories defined for the user using Graph API

Well, we use Outlook/Office 365 a lot and sure most of them uses Categories. Traditionally, you might have used MAPI/Outlook Object Model/EWS API to retrieve these categories. This time, lets we use Microsoft Graph API to programmatically get the Outlook categories that have been defined for the user. First i make the Request: GET https://graph.microsoft.com/v1.0/me/outlook/masterCategories…

2

Office.js web add-in throws HTTP 401 Unauthorized

One of my dev customer, created Outlook Web add-in (using Office.js/JavaScript) and tried calling EWS call (mailbox.makeEWSRequestAsync method). It throws HTTP error 401 for mailbox.makeEWSRequsetAsync() method. They noticed the error or behaviour when they tested with Outlook on the Web and Outlook Web Access for devices. The API call throws, the following HTTP error: “The…


[Upcoming changes] Exchange Web Services API for Office 365

Exchange Web Services (EWS) was launched as a part of Microsoft Exchange 2007 as a SOAP based API that allows access to Exchange and Exchange Online data. Starting July 3, 2018, Exchange Web Services (EWS) will no longer receive feature updates. While the service will continue to receive security updates and certain non-security updates, product…


Office.js: MakeEWSRequestAsync throws “The request exceeds the 1 MB size limit. Please modify your EWS request”

One of my customer created Outlook Web add-in (Office.js) and when he calls mailbox.makeEwsRequestAsync method. But they got the following error “The request exceeds the 1 MB size limit. Please modify your EWS request”. At the app level, the developer is making the call from web add-in to create a mail item in drafts folder…