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…


Office.js debug: Office add-in throws “Sorry, we couldn’t load the app because your browser version is not supported”

One of the ISV pointed out that they see the following error with Office Add-ins that they develop. It throws error “Sorry, we couldn’t load the app because your browser version is not supported. Click here for a list of supported browser versions.” During the investigation we noticed the end user’s browser (Internet Explorer) is…


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…


Graph Developer: Microsoft Graph API fails with error RESTAPINotEnabledForComponentSharedMailbox

One of my customer tried accessing the Graph/REST API call using Microsoft Graph API in their mailbox and they get error “RESTAPINotEnabledForComponentSharedMailbox”. It worked for their couple of other mailboxes, but failed for this given mailbox. Their error stack (detailed one) looked like the following: {     “error”:     {         “code”: “RESTAPINotEnabledForComponentSharedMailbox”,         “message”:…

2

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…


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…


Debug: Outlook office addin (apps for office) fails to load, errors out

Recently one of my developer customer reported that he designed a new Outlook addin (apps for office) which fails to load and it throws the error “This app could not be started. Close this dialog to ignore the problem or click “Restart” to try again.” During troubleshooting we noticed that this issue occur because protected…

4

Debug EWS subscription error – You have exceeded the available subscriptions for your account

Recently i was investigating an issue reported by an app developer. They created a custom EWS (Exchange Web Services) application which tries to open streaming subscription to Exchange Server 2013 using EWS. It worked fine for a while and later they noticed the following error: You have exceeded the available subscriptions for your account. Remove…

3

Diagnostics: How to enable debug tracing for System.Net.Mail API?

You can enable the following trace switches in your application config file, so that you can enable tracing for The System.Net.Mail library/API. This will log the contents of the SMTP session to a file. To send traces to a log file, add the following node to the <system.diagnostics> node of the appropriate configuration file (application…

1

MAPI Developer: Download latest MFCMAPI from the Github

As you aware that MFCMAPI provides access to MAPI stores to facilitate investigation of Exchange and Outlook issues and to provide developers with a sample for MAPI development. If you look to download the latest MFCMAPI (x86/x64) then you can get it from the Github @ https://github.com/stephenegriffin/mfcmapi Hope this helps.


Debug: WebAPI/Web Service fails to hit Load Balancer when called from Outlook add-in

Recently i worked with this app developer, who created a custom Outlook add-in through which they try to make use of custom ASP.Net Web Service/Web API using REST call. This URL works fine from the browser on a machine running the Outlook with the Add-in installed. But it fails with the below error from within…


Developer: How to find bitness (x86 or x64) of a given application?

I hear this query a lot how to find a bitness of a given application. Recently one of my customer followed by blog post and asked is there any alternate way exists to find out the bitness of installed Outlook in your environment.  He is an app developer, so he installed Microsoft Visual Studio at…


Azure Dev: Build your cloud powered apps from Visual Studio

Yesterday at //build 2016, we announced the general availability (GA) of Azure Service Fabric (ASF) and updates to the Azure Service Fabric Tools for Visual Studio. You can get started building micro-services using Azure Service Fabric and Visual Studio. The best feature of these tools is they let enable you to create new Service Fabric…