close

Home

Exchange Server

Microsoft 365 Changelog

M365 Changelog: REST API for On-Premises Mailboxes Preview Ending

Petri Staff

|

MC338988 – Upcoming, Microsoft will be retiring the preview program enabling REST API access to on-premises mailboxes for Hybrid Exchange organizations.

Note: This will impact those who write code against Exchange mailboxes.

advertisment

Key points

  • Timing: Beginning early March 2023, Microsoft will begin to return errors for any requests made for mailboxes that remain on-premises.
  • Action: Use Microsoft Graph for Exchange Online and Exchange Web Services (EWS) for Exchange Server on-premises
  • Roll-out: tenant level

 How this will affect your organization:

FAQ:

What API(s) should I use to work with Hybrid Orgs, where some mailboxes are in Exchange Online, and some are on Exchange Server?

advertisment

  • You should continue to use Microsoft Graph to work with Exchange Online mailboxes and use EWS to work with Exchange Server (on-premises) mailboxes.

Wasn’t EWS going away?

  • In 2018 Microsoft announced EWS in Exchange Online would no longer receive feature updates. But the company has no plans currently to change the way EWS works on-premises, so using Microsoft Graph for Exchange Online and EWS for Exchange Server on-premises is the current recommendation.
  • If you choose to continue using EWS against Exchange Online mailboxes, you should ensure that it uses OAuth (as Basic Authentication is being turned off in Exchange Online). You should also know that it now allows restricting access to mailboxes access through mailbox access policies.

Where can I get help on using Microsoft Graph?

Learn more:

Additional information

advertisment

Blog

Log in to save content to your profile.

Username/Email

Password

Login

Article saved!

Access saved content from your profile page. View Saved