Office 365 Outlook connector: Important upcoming changes

The Office 365 Outlook connector is one the most popular connector in Microsoft Flow and PowerApps. It is also one of the most feature-rich connector we have today. We are committed to provide the best experience for end users – and that includes not breaking any flow or app. From time to time though, there are changes on underlying services which necessitate us to push out breaking changes. When we do so, we usually update the versions of the actions and triggers in our connector so that users can start leveraging the new actions and triggers.

We are making a few important updates to the connector as we migrate the underlying API to use the Microsoft Graph API instead of Outlook REST API. These updates will unfortunately force us to deprecate most of the current set of actions and triggers. We will be rolling out these changes over the next couple of months and we strongly encourage all users to start adopting the new actions and triggers.

In this post, you can find the full list of operations that will be deprecated and the new actions and triggers that you can use instead.

Details of the Changes

The following actions will be deprecated soon and will be replaced by the corresponding newer version:

Current Action (to be deprecated) New Action Notes
Create contact Create contact (V2)
Create event (V3) Create event (V4) See notes below
Delete contact Delete contact (V2)
Delete email Delete email (V2)
Delete event Delete event (V2)
Export email Export email (V2)
Find meeting times Find meeting times (V2)
Flag email Flag email (V2) See notes below
Forward an email Forward an email (V2)
Get attachment Get Attachment (V2)
Get calendar view of events (V2) Get calendar view of events (V3) See notes below
Get calendars Get calendars (V2)
Get contact Get contact (V2)
Get contact
folders
Get contact folders (V2)
Get contacts Get contacts (V2)
Get email Get email (V2)
Get emails Get emails (V3)
Get event (V2) Get event (V3)
Get events (V3) Get events (V4)
Get mail tips for a mailbox Get mail tips for a mailbox (V2)
Get room lists Get room lists (V2)
Get rooms Get rooms (V2)
Get rooms in room list Get rooms in room list (V2)
Mark as read Mark as read or unread (V2) See notes below
Move email Move email (V2)
Reply to email (V2) Reply to email (V3)
Respond to an event invite Respond to an event invite (V2)
Send an email Send an email (V2) See notes below
Send an email from a shared mailbox Send an email from a shared mailbox (V2)
Set up automatic replies Set up automatic replies (V2) See notes below
Update contact Update contact (V2)
Update event (V3) Update event (V4) See notes below

 

The following list of triggers will be deprecated:

Current Trigger (to be deprecated) New Trigger Notes
When a new email arrives When a new email arrives (V2)
When a new email arrives in a shared mailbox When a new email arrives in a shared mailbox (V2)
When a new event is created (V2) When a new event is created (V3) See notes below
When an event is added, updated or deleted When an event is added, updated or deleted (V2) See notes below
When an event is modified (V2) When an event is modified (V3) See notes below
When an upcoming event is starting soon (V2) When an upcoming event is starting soon (V3) See notes below

 

The following existing actions and triggers will continue to work:

 

Detailed change notes

The main changes between the existing actions and triggers and the new ones are:

  1. All response properties are now camelCased – in line with the convention for Microsoft Graph
  2. For Calendar operations and the Set up automatic replies (V2) operation, the TimeZone properties are now separated from the Start and End fields. In general, the properties follow the dateTimeTimeZone resource type.
  3. The Flag email (V2) operation is enhanced to support set, clear or complete the flag.
  4. The Mark as read or unread (V2) operation is enhanced to support marking an email as read or unread.
  5. There is a limit on the message payload of 4MB. For Send an email (V2), in particular, there is a limit of 4MB for the message body and for each of the attachments. Additionally, there is an overall limit of 50MB for a message (which can be reduced by the Admin).
  6. Some property names have changed. This includes:
  • To >> toRecipients
  • Cc >> ccRecipients
  • Bcc >> bccRecipients
  • DateTimeReceived >> receivedDateTime
  • DateTimeCreated >> createdDateTime
  • DateTimeLastModified >> lastModifiedDateTime

Why the change?

The connector today uses the Outlook REST API, instead of Microsoft Graph API. We are making the move to start using the Microsoft Graph API. In doing so, we are present with 2 sets of challenges:

  1. Incompatibilities between the Outlook REST API and Microsoft Graph API
  2. Deprecation of the Outlook REST API v1.0 and the Office Discovery Endpoint API

The Outlook REST API v1.0 and the Office Discovery Endpoint API has been deprecated and is planned to be de-commissioned by November 1, 2019. Today, when a connection is made, we rely on the Office Discover Endpoint API to retrieve the right endpoint for the user’s mailbox. With the migration to Microsoft Graph API, this is handled by the Microsoft Graph API endpoint seamlessly. Before November 1, 2019, we will be rolling out an update to the connector so that we will not be relying on the Office Discovery API. We will be migration the existing connections seamlessly so that it doesn’t break end users.

That said, what really drove us to deprecate the existing set of actions and triggers is really the incompatibilities between the two APIs. We could have tried to provide backward compatible mapping in the connector itself. However, based on our experience, we are usually able to provide the best user experience if we make the connector layer ‘thin’. This allows us to surface almost all functionality provided by the backend service.

Next Steps

To re-iterate, our commitment to provide the best experience for end users remain – and that includes not breaking any flow or app. To that effect, we plan to and will be investing in providing backward compatibility to some of the more popular actions and triggers. However, they will be eventually deprecated and removed. We strongly encourage you to start using the new actions and triggers immediately.