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…


Azure/Office 365 Graph API developer: RefreshToken, AccessToken, IdentityToken

These are 3 common terms (Refresh Token, Access Token, Identity Token) in Azure/Office 365 Graph API Cloud developer world and we get tons of queries on this. So let me try to explain them in simple terms … Access Token:- The access token is attached to every REST API request in the authorization header. -…


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.


Azure Developer – Now Service Fabric is going open source

Yes, that’s right – Now Service Fabric is going open Source and it was announced by Service Fabric team. Please refer our earlier blogpost regarding the same.  Service Fabric is going open source under the MIT license and over the coming months we will be transitioning to a completely open development process on GitHub. Also…


Cloud developer guidance: Microsoft Graph or Azure AD Graph?

This is one of the frequent query which i come across. whenever i talked to my app developer customers community. They wanted to know whether they should be using Microsoft Graph (developer.microsoft.com/graph) or Azure AD Graph (graph.windows.net); also i see good number of discussion threads talking the same. In order to conclude this and provide…


Microsoft Graph REST API Developer – Getting list of locales, languages supported for the user mailbox

Using Microsoft Graph REST API, you can get the list of locales and languages that are supported for the user, as configured on the user’s mailbox server. You need to use OutlookUser resource type, which represents the Outlook services available to a given user. Request:https://graph.microsoft.com/beta/me/outlook/supportedLanguages RequestHeader: Authorization, Bearer/Token is required Response:If successful, this method returns…


Microsoft Graph, Office 365 and .Net Developer

As you aware Microsoft Graph provides a powerful and consistent API for data in Office 365, Azure Active Directory and beyond. With it, you can access key data across organizations. Whether you’re looking to add some simple smarts to your app, like enhanced people pickers or file attachments from OneDrive, or looking to build enterprise…


Office 365 Dev: Connecting Microsoft Graph with Visual Studio 2017

If you have connected Microsoft Graph with previous Visual Studio to build application, then you can do the same steps with latest Visual Studio 2017 preview as well. Using Visual Studio, you can now easily configure your projects to access data across Office 365 and Azure Active Directory through the Microsoft Graph. – First you…


Office 365 Graph Developer : Lets use Microsoft Graph Delta Query…

As you aware that Microsoft Graph provides a single API endpoint that gives you access to rich people-centric data and insights, via a number of resources like users and messages. Many applications need to keep track of what’s changing in these data sets, and we recently added support for delta query across a variety of…


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

Exchange TAP: Microsoft Graph Preview for Exchange 2016 customers

– Are you the app developer of Microsoft Graph API? – Want to develop and validate an Exchange hybrid solution? – Do you have Exchange 2016 CU3 or later installed? If “yes”, then this space is for you. We are interested in working with Exchange 2016 customers or partners to help us validate Exchange hybrid…