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 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

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

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…


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.


Office Developer: Difference between Office Web addin vs COM/VSTO addin

COM or VSTO add-ins are earlier Office integration solutions that run only on Office for Windows. The major difference what you see is that COM addins will be running in the user device or in the Office Client. The new Office Add-ins don’t involve code that runs on the user’s device or in the Office…


Office 365 Developer: Build add-ins for Microsoft Outlook

In this video you will see Petra provides a brief overview of the Outlook add-in platform and its capabilities. The add-in platform helps developers create native Outlook solutions, so users can get more done within Outlook. In short you can,- Learn what makes up an add-in- Get a high-level look at how to build one-…


Developer Guidance: Which endpoint should i use Microsoft Graph API or Outlook REST API?

With reference to what i blogged earlier, i get similar queries from app developers to choose Microsoft Graph API or Outlook REST API endpoints when they develop application related to Outlook APIs. Microsoft recommends using the Microsoft Graph API whenever possible. – The Microsoft Graph APIs include more features than just Outlook-related APIs, including OneDrive…


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 Developer: Mail, Calendar, Contacts REST APIs and Hybrid Exchange

If you’re an Azure/Office 365 application developer, then this session is for you. In this Office 365 Developer session (as part of Redmond Interoperability Protocols Plugfest 2017), Deepak Singh, Program Manager, delivered presentation on Mail, Calendar, and Contacts REST APIs and Hybrid Exchange. Please make use of it.


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