Migrating from EWS API to Graph API for One-Touch Join

This topic describes how to migrate from an existing One-Touch Join deployment for Office 365 that uses the EWS API to access calendars used for OTJ, to one that uses Microsoft Azure and the Exchange Graph API to access those calendars.

We previously supported One-Touch Join deployments for Office 365 that used a service account with application impersonation to read OTJ calendars. This service account authenticated using OAuth and used the EWS API to access mailboxes. However, the EWS API is being deprecated by Microsoft, after which any deployments that use the EWS API will no longer work. These deployments must be migrated to use the Graph API to provide access to room resource mailboxes.

For reference, the previous instructions on configuring an Office 365 environment using OAuth and the EWS API is available on our v34 documentation website.

The migration process involves the following steps:

  1. Creating and configuring a new App registration in Azure.
  2. Restricting the scope of the App registration.
  3. Confirming calendar processing settings for room resources.
  4. Creating an associated O365 Graph integration on Pexip Infinity.
  5. Swapping integrations from EWS to Graph.

Prerequisites

When migrating from EWS API to Graph API, you do not need to change your existing OTJ Endpoint configuration or email addresses.

Before you begin, ensure that the following configuration is complete:

  1. Ensure each physical room that will have a One-Touch Join endpoint in it has an associated room resource with an email address.
  2. Enable auto calendar processing for each room resource, so that the room will automatically accept meeting requests if it is available, and automatically decline an invitation if it is already booked.
  3. We recommend that if you are using Safe Links, you modify your Safe Links policy so that URLs are not rewritten in any meeting invitations sent to room resources used by One-Touch Join endpoints.
  4. Ensure you have access to the Azure portal, using an account that can grant admin consent.
  5. Ensure you have admin access to your Office 365 web interface, and access to the Microsoft Exchange Online and Azure Active Directory Modules for Windows PowerShell. (If you are connecting from your Windows PC for the first time, you may need to install these modules. See these Microsoft articles about connecting to Exchange online and Microsoft 365 with PowerShell for more information.)