[Upcoming changes] Exchange Web Services API for Office 365

Exchange Web Services (EWS) was launched as a part of Microsoft Exchange 2007 as a SOAP based API that allows access to Exchange and Exchange Online data. Starting July 3, 2018, Exchange Web Services (EWS) will no longer receive feature updates. While the service will continue to receive security updates and certain non-security updates, product…

0

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


Support policy statement for Microsoft Graph

As new versions of the Microsoft Graph REST APIs and Microsoft Graph SDKs are released, earlier versions will be retired. Microsoft will declare a version as deprecated at least 24 months in advance of retiring an API or an SDK. So Microsoft Graph too follows the Microsoft Lifecycle Policy. When we increment the major version…

1

Office 365 Devs: Deprecation of Outlook REST API v1.0

As you aware that the Version 1.0 of the Outlook REST API was launched in 2015 to provide API access to mail, calendar, contacts, and other data from Exchange Online. Later we came up with Outlook REST API v2.0 and Microsoft Graph, both of which provide richer features, and better performance and reliability than Outlook…

1

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…


Understand more about Office.js, it’s add-in runtime environment and Internet Explorer protected mode!!

In addition to the earlier blog post, you can refer the following: – Microsoft Office addins using the Apps for Office platform are designed to run in isolation, using a low rights sandbox. – Several features, such as the task pane view, use web views provided using Internet Explorer APIs.  – To ensure these components…


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…


Scripting: Send email using Powershell and System.Net.Mail API

You can send email using System.Net.Mail API & PowerShell scripting. It’s easy, faster!! Lets try… Why Powershell? PowerShell is the automation platform and scripting language for Windows and Windows Server that allows you to simplify the management of your systems. Unlike other text-based shells, PowerShell harnesses the power of the .NET Framework, providing rich objects…

4

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.


Fixed: In Exchange Hybrid scenario Microsoft Graph REST API query fails due to $select $top $skips commands ignored

Recently i was working with an app developer who’s using Microsoft Graph REST API in their application. They try to query contacts for Exchange 2016 CU5 on premises in a hybrid + Office 365 environment (they had one single mailbox setup in Office 365). When they tested the Graph API query with $select, $top, $skips…

6