[Build 2019] Let’s develop a Microsoft Graph-powered productivity app

As part of Build 2019, i scheduled this Microsoft Graph API related session in my schedule builder – so thought of sharing this one Let’s learn how to use Microsoft Graph to bring together some of the best experiences from Microsoft Teams, Outlook, and SharePoint. In this Level 300 session, you will see how to…


Azure Developer: Submit your Feature requests for Microsoft Graph API User Voice

Have you submitted any of the feature requests for Microsoft Graph API earlier? If yes, then please note that we got a new home for it  microsoftgraph.uservoice.com. Until now, the feature requests were part of the larger Office Dev User Voice. With this move to Microsoft Graph’s own instance of User Voice, each API service…


Deep dive # 1: How to configure Exchange on-premise Server hybrid integration with Office 365/Azure Infrastructure and test REST API calls?

This is one of the regular discussion that comes across at my desk, how we can configure Hybrid Exchange on-premise server integration with Office 365/Exchange Online, so that users can make use of REST API. So I thought let me stitch all of them together which can be handy for both the Exchange administrators and…

7

Microsoft Build 2019 Conference: May 6-8 @ Seattle

Microsoft Build will take place May 6-8, 2019 at the Washington State Convention Center in Seattle. Here’s your chance to explore and learn about new and upcoming technologies, gain hands-on experience, and level up development skills. Microsoft Build brings developers and experts from the product teams together, so you have opportunities to ask questions, collaborate…


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

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

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…


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…


Microsoft Graph API developer – Using GetSchedule API to get free/busy availability information

Now you can use the GetSchedule API (when I publish this article, its available in /beta endpoint) to get the free/busy availability information for a collection of users, distributions lists, or resources, for a specified time period. You can use it simply by calling, POST /me/calendar/getSchedule POST /users/{id|userPrincipalName}/calendar/getSchedule Let me play with this API call…

4

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…