The Microsoft Exchange Server spoke creates and manages address list, mailbox, and calendar events in Microsoft Exchange mail system.

Request apps on the Store

Visit the ServiceNow Store website 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 Server spoke v2.5.0 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 - PowerShell (com.glide.hub.action_step.powershell)
  • ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)
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 versions

  • Exchange Server 2016 installed on Windows Server 2016
    Note: The Create Calendar Event For User and Lookup Room Availability actions are supported only on Exchange Server 2013.
  • Exchange Server 2013 installed on Windows Server 2012 R2
This spoke may be compatible with the earlier versions of Microsoft Exchange Server.

Spoke requirements

Powershell remoting must be enabled on the target Exchange Server. For more information about the Microsoft Exchange Server, see Exchange Server documentation.

Spoke flows

The Exchange Server spoke provides sample flows to demonstrate automating the Exchange Server tasks. To customize a sample flow, copy it to the required application scope. Available sample flows include:

Flow Description
Pull From Subscriptions Uses the Look up Items From Subscription ID subflow to periodically retrieve the modified items in an active subscription and saves the details in the ServiceNow instance.
Look up Calendar Item from Item ID Flow Uses the Look up Items From Subscription ID subflow to display the details of the modified items in a subscription in the Subscription to Events Mapping module.
Renew Subscription Uses the Renew Subscription subflow to renew subscription.
Note: Subscriptions are valid for 24 hours and flows renew the subscriptions periodically. If there are failures with the third-party applications, subscriptions will not be renewed. That is, Active is set to False. In the event of failure, you should use the create subscription flow to create a subscription.

Spoke subflows

The Exchange Server spoke provides sample subflows to demonstrate automating the Exchange Server tasks. To customize a sample subflow, copy it to the required application scope. Available sample subflows include:
Subflow Description
Look up Items From Subscription ID Saves the details of the modified items in a subscription to the Event to Subscription Mapping table.
Create Subscription Creates a subscription for the specified mailbox and adds it to the Subscription table. If the subscription already exists, the subflow adds the application details to the subscription record.
Renew Subscription Renews a subscription for the given mailbox.

Spoke actions

The Microsoft Exchange Server spoke provides actions to automate address list, mailbox, and calendar event tasks.
Table 1. Microsoft Exchange Server spoke actions
Category Action Description
Address List Management Create Address List Using Included Recipients Creates a new address list in Exchange Server using the Included Recipients field.
Create Address List Using Recipient Filter Creates a new address list in Exchange Server using the Recipient field.
Delete Address List Deletes the required address list on a required Exchange Server.
Get Address List Details Retrieves the details of a required address list on a required Exchange Server.
Look Up Address List Retrieves the address list details on a required Exchange Server using a search query.
Look up Address List Details Retrieves details of the specified address list by identity.
Move Address List Moves an address list to another location in the address hierarchy.
Synchronize Address List Refreshes email clients with the latest details, for a required address list in Exchange Server.
Update Address List Using Included Recipients Updates details and recipients of a required address list using a the Included Recipients field.
Update Address List Using Recipient Filter Updates details and recipients of a required address list details using the Recipient Filter field.
Mailbox Management Create Calendar Event For User Creates a calendar event in Exchange Server. Calendar event can be either a meeting or appointment.
Note:
  • This action is supported only on Exchange Server 2013.
  • This action uses the Exchange_https connection and credential alias.
Create Mailbox Creates mailboxes and user accounts simultaneously.
Delete Mailbox Deletes a mailbox in Exchange Server.
Disable Mailbox Disables a mailbox in Exchange Server.
Enable Mailbox Enables a mailbox in Exchange Server.
Look up Calendar by Event ID Retrieves the list of calendar events.
Look up Mailbox Retrieves mailbox properties for a given mailbox in Exchange Server.
Look up Room Availability Retrieves the availability response for a given array of room objects.
Update Mailbox Updates the properties of a mailbox in Exchange Server.
Set Mailbox Auto Reply Schedules the auto-reply for a given mailbox in Exchange Server.
Lookup Room Mailboxes Retrieves all the room mailboxes in Exchange Server.
Meeting Management Look up Meeting Suggestions Retrieves the meeting suggestions for the specified mailboxes.
Update a Calendar Meeting Updates an existing calendar event that has already been created. While updating the meeting, in addition to saving the modified appointment item to the calendar folder, the updated meeting request is sent to all attendees.
Look up Meetings Stream Retrieves details of the user's meetings within the specified start and end times.
Look up Folder ID Retrieves Folder ID of the required folder.
Delete Calendar Event for User Deletes the specified existing calendar event. The update is sent to all attendees.
Look up User Availabilities Retrieves the availability response for a given mailbox.
Subscription Management
Note: The Exchange Server spoke supports the calendar events only.
Create Subscription Creates a new subscription for given mailbox.
Look up Calendar Item from Item ID Retrieves the calendar information for the given calendar ID.
Look up Events by Subscription ID Retrieves the latest changes in the calendar folder for the subscription since the last watermark.
Attachment Management Copy Attachment to Event Record Copies an calendar event’s attachment to the specified record in the ServiceNow instance.
Create Attachment Adds attachment to an event.
Delete Attachment Deletes an attachment associated with the provided Attachment ID.
Delete Attachments from Event Record Deletes one or more attachments associated with the specified event record.
Look up Attachment by Attachment ID Retrieves the specified attachment.

Spoke modules

The Exchange Server spoke adds a Microsoft Exchange Server Spoke module to your ServiceNow instance. Data is these modules is populated when the associated flows are executed:

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.

Two connection and credential aliases are created when the Microsoft Exchange Server spoke is activated, Exchange and Exchange_https.
Note:
  • The Exchange_https alias is supported only on Exchange Server 2013.
  • The Exchange_https alias is required to use the Create Calendar Event For User and Lookup Room Availability actions.

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

MID Server requirements

Your instance must have a MID Server set up and configured to run PowerShell 2.0. Use the connection record associated with the Microsoft Exchange alias to configure where actions run as well as set MID Server selection attributes. For more information, see MID server.

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