Microsoft Graph API’s Beta version, developer guidance, support

Microsoft Graph API’s beta version, You need to be aware that beta version contains features that are currently in preview. You’re invited to try these APIs. Beta version is exposed under https://graph.microsoft.com/beta How to find if the feature is in beta or not, When you open the Graph API documentation, you will see the following…

2

Developer: Outlook COM Add-in and Large Address Aware

Starting from build 16.0.8528.2147 (Version 1709) of the 32-bit version of Outlook 2016 for Windows has been updated to be Large Address Aware (LAA). This increases the maximum address space available to Outlook from 2 GB to 4 GB when it is running on a 64-bit version of Windows. This is key to improved graphics…

2

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…

0

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…

0

Debug: Graph API throws HTTP 403 with $filter for some users

In recent times, i worked with one of the ISV developer who reported that for some users when they use $filter with Graph API calls throws HTTP 403 – Forbidden. The same call works fine with $filter for most of the users. We chased and found it happens for some users (and not for all…

0

Graph API : Subscription lifetime changes for Outlook resources

If your application uses user tokens to create subscriptions to Outlook resources, then you need to update your apps as needed to handle this scenario. This only applies to applications that use user tokens to create subscriptions. Applications that use app tokens to create subscriptions are not affected by this change. Existing applications do not…


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…


Office 365 Developer – Get the Personal Contacts with Microsoft Graph API

As you aware Outlook contacts lets you store personal contacts’ data, and is part of the Outlook messaging hub in Office 365. Through Outlook, you can manage emails, schedule meetings, find information about users in an organization, initiate online conversations, share files, and collaborate in groups. So now with Microsoft Graph API you can get/pull…


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

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…


Programmatically created email with attachment shows fields garbled

In recent times I was working with this developer customer. They created a custom application using Outlook Object Model (OOM) API – their app tries to create a new message programmatically with attachments. They notice the newly created items fields (such as the CC, BCC and TO) overlaps or garbled. Based on my tests with…


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…


Developer: Office 365 APIs and Mobile App Development

Office 365 is built on a mobile-first strategy. Office runs on almost any device these days, so why not your own custom applications? In this session, find out how you can build powerful Office 365 connected applications for any mobile platform. Hope this helps.