Office Debug: Office add-ins are not displayed correctly in Outlook

Recently one of the ISV app developer reported that after they update Microsoft Outlook to version 1809 (build 10827.20181) or later versions, data from some Office add-ins may not be displayed correctly or may be missing from the user interface of the add-in within Outlook. Specifically in their case, they used IE Control hosted in…


Outlook Developer: Outlook Object Model API, IRM, Do not forward option

With Outlook Object Model (OOM) API, now you can access the Outlook mail item and its permission property programmatically. You can set the Permission property – using that you can set or returns an OlPermission constant that determines the permissions the recipients will have on the e-mail item. C++ public: property Microsoft::Office::Interop::Outlook::OlPermission Permission { Microsoft::Office::Interop::Outlook::OlPermission get(); void…


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…


Use Microsoft Graph API to reach on-premises, cloud users of hybrid Exchange 2016

As you aware, Office 365 and Exchange Online provide a new way to work with email, calendars, and contacts. The Mail, Calendar, and Contact REST APIs provide a powerful, easy-to-use way to access and manipulate Exchange data. In this video, you will see Venkat, Principal Program Manager lead will walk you through how to use…

1

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…


Cloud Developer: Office 365 REST API returns 401 access denied with an error code of “invalid_token”

In recent times i worked with this cloud developer (Azure AD, Office 365 REST API) where they created a custom application. It uses (Calendar, Contact, Mail APIs) to pull items from the specified user mailbox. Intermittently they see “401 Access Denied” followed by error code “invalid_token” from the API. During the investigation, we noticed that…

10

Office Developer: Outlook 2010 add-in template not available in Visual Studio 2013?

Once you installed Visual Studio 2013 and tried building a custom Outlook add-in you will the see the Outlook 2013 add-in template available.   Recently one of my customer asked, what if he wants to build Outlook 2010 add-in and he failed to see the respective template for it. I suggested the following steps to…


Office Developer: Which build of Microsoft Office do I need in order to get that cool API or requirement set?

        This is one of the regular query raised by various developer customers, “Which build of Office do I need in order to get that cool API or requirement set?”.  Ok, here is the published guidance that addresses that question. Check out these topics: Dialog – https://dev.office.com/reference/add-ins/requirement-sets/dialog-api-requirement-sets Excel – https://dev.office.com/reference/add-ins/requirement-sets/excel-api-requirement-sets OneNote -…


Training: Advanced Office Add-in Development with Outlook

All of us spend a significant amount of time in email. Want to see how to build custom mail add-ins that can deliver a more productive experience in Outlook? Check out this session, and get ready to make mail better through add-ins. In this session “Advanced Office Add-in Development with Outlook”, you can learn how…


Microsoft Office 365, Exchange Developer : How to include EWS Managed API via NuGet in your Visual Studio solution?

As you aware Exchange Web Services (EWS) Managed API provides a managed interface for developing .NET client applications that use EWS. By using the EWS Managed API, you can access almost all the information stored in an Office 365, Exchange Online, or Exchange Server mailbox – on-premises starting from Microsoft Exchange Server 2007, 2010, 2013,…


Office IT Pro: Deployment scripts for Office 2016

To help IT pros with Office client deployments using PowerShell to streamline the process we created a community project.  It contains all of the scripts on our GitHub repository in five categories: – Preparation – Information – Deployment – Management – Updates Also please visit the related Wiki, which contains useful information designed to provide…


Office Dev: Office 2016 for developers

Last week we announced the release of Office 2016. Next interesting stuff pops in our mind is that what’s new in Office 2016 for the developers. I want to mention few of them here: – New names for apps for Office and SharePoint – I blogged about this earlier, New name for Apps for Office…


New name for Apps for Office and SharePoint? Office and SharePoint Add-ins

As you aware that you can use Office and SharePoint Add-ins to extend Office applications with content directly from the web or to extend SharePoint websites. But do you know the “new name” for “apps for Office and SharePoint”? Yes, the platform name will be changed from "apps for Office and SharePoint" to "Office and…


MAPI Developer: How to get file properties for .MSG file using MrMAPI tool?

Based on my earlier article, recently I got the below request from MAPIDevil (MAPI developer). Adding the detailed request:  In general, you can do this same stuff with either MFCMAPI utility or ended up by creating customer MAPI application. For this specific scenario again I tried my hands with MrMAPI command-line utility – it’s very…