Skip to content
Release: Australia · Updated: 2026-07-06 · Official documentation · View source

Microsoft Exchange Online Spoke

The Microsoft Exchange Online spoke creates and manages calendar and mail in Microsoft Exchange Online. To create, manage, or delete users and groups, use the Microsoft Azure AD spoke.

Note: User and group management can be done using Microsoft Azure AD only and not Microsoft Exchange Online spoke.

Request apps on the Store

Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

Integration Hub subscription

This spoke requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.

Spoke version

Microsoft Exchange Online spoke v4.0.2 is the latest version.

Spoke dependencies

If you’re having trouble installing the app, ensure that these dependent plugins are installed:

  • ServiceNow IntegrationHub Action Step - REST (com.glide.hub.action_step.rest)
  • ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)
  • ServiceNow Flow Designer - Dynamic Inputs (com.glide.hub.dynamic_inputs)
  • Complex Object (com.glide.cobject)
  • ServiceNow IntegrationHub Action Template - Data Stream (com.glide.hub.action_type.datastream)
  • Remote Tables (com.glide.script.vtable)
  • System Import Data Source (com.glide.system_import_data_source)
  • iHub Spoke Util Pack (com.snc.ihub_spoke_util_pack)

Note: Some of these plugins are licensable features and require an appropriate license if used outside the spoke implementation. For information on licenses, contact your account manager.

Supported version

Microsoft Graph REST API v1.0

Spoke module

The Microsoft Exchange Online spoke adds the Microsoft Exchange Online application to your instance and includes these modules:

ModuleDescription
EventsDisplays the list of events in Microsoft Exchange Online.
SubscriptionsDisplays the list of subscriptions in Microsoft Exchange Online.
Webhook RegistryDisplays the list of webhook registries of Microsoft Exchange Online.
CalendarsDisplays a list of calendars in Microsoft Exchange Online.
Calendar Events Transform DataDisplays the list of records from the data source.

Spoke flows

The Microsoft Exchange Online spoke provides sample flows in the published state to demonstrate automating renewing subscriptions. Available sample flows include:

FlowDescription
Renew SubscriptionsRetrieves all the subscription records and renews the subscriptions if a renewal is required, based on the expiration time. If any subscription has its status marked as 'Being deleted', then its record is deleted and isn’t considered for renewal.

Spoke subflows

The spoke provides subflows in the Published state to integrate with the Microsoft Exchange Online service. These subflows can be used as part of other subflows and flows.

CategorySubflowsDescription
Webhook managementCheck Event SubscriptionChecks if a webhook subscription with specified event resource, or notification URL and change type exists.
Create or Update Subscription RecordChecks if the specified subscription record exists in Microsoft Exchange Online and updates the subscription record if it exists. If the subscription record doesn’t exist, a new subscription record is created.
Create or Update Subscriptions for ResourcesChecks for the subscriptions for the specified resources. If the subscription for the specified resources don’t exist, then new subscriptions are created.Note: This subflow is available only when the Workplace Calendar Synchronization plugin is already installed.
Delete SubscriptionDeletes the specified subscription when the specified subscription is related only with the specified application.
Recreate Removed SubscriptionRecreates a removed webhook subscription using the details from the related subscription record.
Subscription Lifecycle ManagementManages the lifecycle of a webhook subscription.
Calendar ManagementCalendar SynchronizationSynchronizes the calendar by retrieving events from the Exchange Online Calendar Events Transformed Data table and adding the retrieved events to the Microsoft Exchange Online Events table. It creates a subscription if a valid subscription doesn’t exist for the user's specified calendar.
Create or Update Event RecordChecks for the specific existing event record and updates with the specified properties. If the specified event record does not exist, a new event record is created.
Delete Calendar Scheduling EventDeletes the specified event in Microsoft Exchange Online and the related records from events tables, related attachments, related records from event attendees and event to subscription m2m tables.
Delete Event RecordDeletes the specified event record from events tables and the related attachments, related records from event attendees and event to subscription m2m tables.
Event Lifecycle ManagementRetrieves the event details and updates the records in event, attendees, event to subscription m2m tables accordingly.
Look up and Update Attachments to Event RecordRetrieves the attachments of a specific event record from Microsoft Exchange Online and updates them.
Look up and Update Calendar Scheduling ChangeRetrieves the event details of a specified event record and updates them.
Sync up EventsSynchronizes the calendar view based on the data from the Exchange Online Calendar Events Transformed Data table.
Update Calendar Scheduling EventUpdates the properties of an event object in Microsoft Exchange Online and the related record in the events table.

Note:

  • Use the Microsoft Exchange Online Webhook Registry table to generate a callback URL and store the secret value (Client state) for webhook subscriptions.
  • Make sure that webhook subscription is stored in the Microsoft Exchange Online Subscriptions table with the Status field set to Active.

Spoke actions

The Microsoft Exchange Online spoke provides actions to automate calendar and mail tasks when an incident is created in the ServiceNow instance. Available actions and their required permissions are:

Note: Required permissions from least to most privileged are mentioned. At least one, not all, of the mentioned permissions is required to call the API and run the action.

CategoryActionDescriptionPermission typePermissions (from least to most privileged)
Calendar ManagementCopy Attachment to Calendar EventCopies a ServiceNow attachment to an Exchange calendar event.Delegated (work or school account)Calendars.ReadWrite
Delegated (personal Microsoft account)Calendars.ReadWrite
ApplicationCalendars.ReadWrite
Create Calendar EventCreates an event in the user's default calendar and specifies the time zone for the start and end times of the event.Delegated (work or school account)Calendars.ReadWrite
Delegated (personal Microsoft account)Calendars.ReadWrite
ApplicationCalendars.ReadWrite
Create Recurring Calendar EventsCreates a recurring event in the user's default calendar and specifies the time zone for the start and end times of the event.Delegated (work or school account)Calendars.ReadWrite
Delegated (personal Microsoft account)Calendars.ReadWrite
ApplicationCalendars.ReadWrite
Delete AttachmentDeletes the specified attachment in the specified event.Delegated (work or school account)Calendars.ReadWrite
Delegated (personal Microsoft account)Calendars.ReadWrite
ApplicationCalendars.ReadWrite
Delete Calendar EventDeletes a calendar event.Delegated (work or school account)Calendars.ReadWrite
Delegated (personal Microsoft account)Calendars.ReadWrite
ApplicationCalendars.ReadWrite
Find Meeting TimesRetrieves meeting times and locations based on the availability of the meeting organizer and attendees for the specified time and locations.Delegated (work or school account)Calendars.Read, Calendars.ReadWrite
Delegated (personal Microsoft account)Not supported.
Application 
Look up Attachments by Event IDRetrieves all the attachments in the specified event.Delegated (work or school account)Calendars.Read
Delegated (personal Microsoft account)Calendars.Read
ApplicationCalendars.Read
Look up Calendar by IDRetrieves the calendar details for the specified ID.Delegated (work or school account)Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
Delegated (personal Microsoft account)Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
ApplicationCalendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
Look up Calendar Events by User IDRetrieves the list of event objects in the user's mailbox.Delegated (work or school account)Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
Delegated (personal Microsoft account)Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
ApplicationCalendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
Look up Calendar View StreamRetrieves the list of meeting entries for the specified User ID for the specified time period.Delegated (work or school account)Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
Delegated (personal Microsoft account)Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
ApplicationCalendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
Look up Calendars StreamRetrieves details of the calendars of all the users.Delegated (work or school account)Calendars.ReadBasic, Calendars.Read, Calendars.Read.Shared, Calendars.ReadWrite
Delegated (personal Microsoft account)Calendars.ReadBasic, Calendars.Read, Calendars.Read.Shared, Calendars.ReadWrite
ApplicationCalendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
Look up Event by IDRetrieves the calendar event details for the specified ID.Delegated (work or school account)Calendars.ReadBasic, Calendars.Read
Delegated (personal Microsoft account)Calendars.ReadBasic, Calendars.Read
ApplicationCalendars.ReadBasic, Calendars.Read
Look up SchedulesRetrieves the list of schedules.Delegated (work or school account)Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
Delegated (personal Microsoft account)Not supported.
ApplicationCalendars.ReadBasic, Calendars.Read, Calendars.ReadWrite
Look up Out of Office SettingsRetrieves the details of the out-of-office settings for the specified recipients.Delegated (work or school account)Mail.Read, Mail.Read.Shared
Delegated (personal Microsoft account)Mail.Read
ApplicationMail.Read
Look up Time ZonesRetrieves details of all the available time zones.Delegated (work or school account)User.Read, User.ReadBasic.All
Delegated (personal Microsoft account)User.Read
ApplicationUser.Read.All
Update Calendar EventUpdates the properties of an event object.Delegated (work or school account)Calendars.ReadWrite
Delegated (personal Microsoft account)Calendars.ReadWrite
ApplicationCalendars.ReadWrite
Mail ManagementDelete MessageDeletes the message in a user's inbox or from a custom folder.Delegated (work or school account)Mail.ReadWrite
Delegated (personal Microsoft account)Mail.ReadWrite
ApplicationMail.ReadWrite
Look Up Mail Folders by User IDRetrieves all the mail folders for a specified User ID.Delegated (work or school account)Mail.ReadBasic, Mail.Read, Mail.ReadWrite
Delegated (personal Microsoft account)Mail.ReadBasic, Mail.Read, Mail.ReadWrite
ApplicationMail.ReadBasic, Mail.Read, Mail.ReadWrite
Look Up Messages by Mail Folder IDRetrieves all the messages in a mail folder.Delegated (work or school account)Mail.ReadBasic, Mail.Read, Mail.ReadWrite
Delegated (personal Microsoft account)Mail.ReadBasic, Mail.Read, Mail.ReadWrite
ApplicationMail.ReadBasic, Mail.Read, Mail.ReadWrite
Look Up Messages by User IDRetrieves all the messages in the inbox folder of the user.Delegated (work or school account)Mail.ReadBasic, Mail.Read, Mail.ReadWrite
Delegated (personal Microsoft account)Mail.ReadBasic, Mail.Read, Mail.ReadWrite
ApplicationMail.ReadBasic, Mail.Read, Mail.ReadWrite
Send MailSends an email with the message subject and message body to the specified list of recipients.Delegated (work or school account)Mail.Send
Delegated (personal Microsoft account)Mail.Send
ApplicationMail.Send
Set Mailbox Auto ReplySets the user’s auto-reply message for the given time period.Delegated (work or school account)MailboxSettings.ReadWrite
Delegated (personal Microsoft account)MailboxSettings.ReadWrite
ApplicationMailboxSettings.ReadWrite
Webhook ManagementLook up Subscription by IDRetrieves details of the webhook subscription for the specified ID.Depending on the resource and the permission type (delegated or application) requested, the permission specified in the Get subscription - Permissions table is the least privileged required to call this API.
Look up Subscriptions StreamRetrieves details of all webhook subscriptions.Depending on the resource and the permission type (delegated or application) requested, the permission specified in the List subscription - Permissions table is the least privileged required to call this API.
Renew Webhook SubscriptionRenews the subscription of the specified webhook.Depending on the resource and the permission type (delegated or application) requested, the permission specified in the Update subscription - Permissions table is the least privileged required to call this API.
Subscribe WebhookCreates a webhook subscription for the specified resource.Depending on the resource and the permission type (delegated or application) requested, the permission specified in the Create subscription - Permissions table is the least privileged required to call this API.
Unsubscribe WebhookDeletes the specified webhook subscription.Depending on the resource and the permission type (delegated or application) requested, the permission specified in the Delete subscription - Permissions table is the least privileged required to call this API.
Mailbox ManagementCreate MailBoxCreates mailboxes and user accounts simultaneously.These actions uses powershell cmdlets and hence doesn’t requires API permissions.
Delete MailBoxDeletes or disables mailboxes and user accounts simultaneously.
Enable MailBoxEnables a mailbox in Microsoft Exchange Online. The mailbox can be in an archived state.
Look up MailBoxRetrieves the list of mailboxes.
User ManagementLook up Relevant Users StreamRetrieves a stream of users who are most relevant to the specified user, based on collaboration and organizational context. Relevance is determined by the user's communication and collaboration patterns, and business relationships.Delegated (work or school account)People.Read, People.Read.All
Delegated (personal Microsoft account)People.Read
ApplicationPeople.Read.All

Available AI agents

Install Now Assist for Integration Hub and start using the available AI agents. For more information, see ServiceNow Otto for Integration Hub.

This spoke provides standalone AI agents that mimic human-like intelligence to perform tasks in your ServiceNow instance.

  • In the ServiceNow agentic system, you can create an agentic workflow that comprises of a set of large language model (LLM) instructions along with one or more standalone AI agents to execute an objective. See for information about adding AI agents to create agentic workflows as per your requirement and provide the required trigger.

    You can also search for other available AI agents and add them to your agentic workflow. See Find AI agents for more information.

  • You can create a clone of the required spoke AI agent and customize it as per your requirement. See for more information about creating a clone.

  • See for information about AI agents.

Available AI agents include:

AI AgentDescription
Microsoft Exchange Online calendar management AI agentAutomates workflows related to the calendar within Microsoft Exchange Online such as calendar event management, attachment handling, and time zone look ups.
Microsoft Exchange Online room management AI agentAutomates workflows related to the room management within Microsoft Exchange Online such as 'Look up Rooms Stream'.
Microsoft Exchange Online metadata retrieval management AI agentAutomates workflows related to the room metadata management within Microsoft Exchange Online such as looking up room metadata and time zone metadata.
Microsoft Exchange Online meeting scheduler AI agentAutomates calendar management tasks within Microsoft Exchange Online. It enables users to find the available meeting time slots and create the meetings accordingly.
Microsoft Exchange Online mail managerAutomates mail management tasks within Microsoft Exchange Online such as look up mail folders and messages, delete messages, and set mailbox auto-replies.

There might be AI agents installed with the Now Assist application that are not used in agentic workflows. To learn how to see all agents that are available to you, see Find AI agents.

Note: Ensure that the user running an AI agent has the required roles and permissions to access data or perform operations on data in the table that is associated with the AI agent.

Microsoft account requirements

The Microsoft Exchange Online spoke needs registering an application using the Microsoft Azure portal to generate OAuth 2.0 tokens.

Connection and credential alias requirements

Integration Hub uses aliases to manage connection and credential information, and OAuth credentials. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection.

For information about setting up the spoke, see Set up Microsoft Exchange Online spoke.

MID Server requirements

To use these actions, your instance must have a MID Server set up and configured to use PowerShell. Make sure that Power Shell with EXO V2 module is installed. This module is required for executing the Mailbox management actions. Use the connection record associated with the Mailbox alias to configure where actions run as well as set MID Server selection attributes. For more information about the MID Server, see MID Server.

To set up the MID Server for this spoke, see Set up MID Server for a spoke.