The Microsoft Teams Graph spoke manages applications, calendar, teams, channels, chats, notifications, and webhooks in Microsoft Teams. To create, manage, or delete users and groups, use the Microsoft Entra ID spoke (formerly Microsoft Azure Active Directory spoke).

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.

Note:
  • Teams in the Microsoft Teams Graph spoke are created from the groups in Microsoft Entra ID (formerly Microsoft Azure Active Directory). To create a team using the Microsoft Teams Graph spoke, the associated group must be present in Microsoft Entra ID.
  • User and group management can be done using Microsoft Entra ID only and not Microsoft Teams Graph spoke.
  • Teams can be created from the Microsoft Office 365 group only.
  • The team ID in Microsoft Teams is the same as the group ID of the associated group in Microsoft Entra ID.

Integration Hub subscription

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

Spoke version

Microsoft Teams Graph spoke v4.2 is the latest version.

Supported version

Microsoft Graph REST API v1.0.

Spoke dependencies

If you’re having trouble installing the app, ensure that these dependent plugins are installed:
  • ServiceNow Integration Hub Runtime (com.glide.hub.integration.runtime)
  • Flow Designer Designer Model (com.glide.hub.designer_backend.model)
  • Complex Object (com.glide.cobject)
  • ServiceNow Integration Hub Action Step - REST (com.glide.hub.action_step.rest)
  • ServiceNow Integration Hub Action Template - Data Stream (com.glide.hub.action_type.datastream)
  • Remote Tables (com.glide.script.vtable)
  • ServiceNow IntegrationHub Action Step - Get Connection Info (com.glide.hub.action_step.get_connection_info)
Note: Some of these plugins are licensable features and require appropriate licenses, if used outside the spoke implementation.

Spoke flows

The Microsoft Teams Graph spoke provides a sample flow, Post ServiceNow Incident Worknotes Updates to Microsoft Teams Chat, to demonstrate automating the task of posting a Microsoft Teams chat message to the assigned user with details about the latest work notes added to the incident.

Spoke subflows

The Microsoft Teams Graph spoke provides samples subflows to demonstrate automating the tasks. To customize a sample flow, copy it to the required application scope. Available sample subflows include:

Spoke actions

The Microsoft Teams Graph spoke provides actions to automate team and channel tasks when an incident is created in the ServiceNow instance.

You can perform some actions by using the Microsoft Teams Spoke connection and the remaining actions by using the Microsoft Teams Graph Client Credentials connection.

The actions in the following table use the Microsoft Teams Spoke connection and credential alias record. These actions require the delegated permissions.

Table 2. Microsoft Teams Graph spoke actions that use the Microsoft Teams Spoke connection and credential alias
Category Action Description Permissions required (from least to most privileged)
Application Management Install Application to User Installs the specified application in the personal scope of the user. Delegated (work or school account) TeamsAppInstallation.ReadWriteSelfForUser, TeamsAppInstallation.ReadWriteForUser
Look up User App Installation Retrieves the details of the specified application's installation for the user. Delegated (work or school account) TeamsAppInstallation.ReadForUser, TeamsAppInstallation.ReadWriteSelfForUser, TeamsAppInstallation.ReadWriteForUser
Calendar Management Look up Schedules Retrieves the availability information (free or busy) for a collection of users, distributions lists, or resources (rooms or equipment) for the specified time period. Delegated (work or school account) Calendars.Read, Calendars.ReadWrite
Channel Management Add Member to Channel Adds the specified member to the specified channel. Delegated (work or school account) ChannelMember.ReadWrite.All
Create Channel Create a new channel in a team. Delegated (work or school account) Channel.Create, Group.ReadWrite.All**, Directory.ReadWrite.All**
Delete Channel Removes the specified channel from the required team and deletes all conversations. Delegated (work or school account) Channel.Delete.All, Group.ReadWrite.All**, Directory.ReadWrite.All**
Look up Channel Retrieves the properties and relationships of a channel. Delegated (work or school account) Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**, Directory.Read.All**, Directory.ReadWrite.All**
Look up Channel by Name Retrieves the Channel ID and properties given a channel name and team ID. Delegated (work or school account) Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**, Directory.Read.All**, Directory.ReadWrite.All**
Look up Channel Members Retrieves a list of channel members. Delegated (work or school account) ChannelMember.Read.All, ChannelMember.ReadWrite.All
Look up Channel Messages Retrieves the list of messages in a channel of a team. Delegated (work or school account) ChannelMessage.Read.All
Look up Channels Retrieves the list of channels in this team. Delegated (work or school account) Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**, Directory.Read.All**, Directory.ReadWrite.All**
Remove Member from Channel Removes the specified user from the specified channel. Delegated (work or school account) ChannelMember.ReadWrite.All
Chat Management Create Chat Creates a chat between the users. Delegated (work or school account) Chat.Create, Chat.ReadWrite
Look up Chat Message Deltas Stream Retrieves the list of messages (without the replies) from a team's channel. Delegated (work or school account) Mail.ReadBasic, Mail.Read, Mail.ReadWrite
Delegated (personal Microsoft account) Mail.ReadBasic, Mail.Read, Mail.ReadWrite
Look up Chat Messages Retrieves the list of messages in a chat. Delegated (work or school account) Chat.Read, Chat.ReadWrite
Look up Chats Retrieves the list of chats that the user is a part of. Delegated (work or school account) Chat.ReadBasic, Chat.Read, Chat.ReadWrite
Look up Message Retrieves the details of the specified message. Delegated (work or school account) Chat.Read, Chat.ReadWrite
Look up Message Replies Stream Retrieves the list of replies for the specified message from a team's channel. Delegated (work or school account) ChannelMessage.Read.All
Post Message to Chat Posts message to a Microsoft Teams chat. Delegated (work or school account) ChatMessage.Send, Chat.ReadWrite, Group.ReadWrite.All
Notification Management Post Change Details Posts details of the required change to a Microsoft Teams channel. Delegated (work or school account) ChannelMessage.Send, Group.ReadWrite.All**
Post Incident Details Posts details of the required incident to a Microsoft Teams channel. Delegated (work or school account) ChannelMessage.Send, Group.ReadWrite.All**
Post Message Posts message to a Microsoft Teams channel. Delegated (work or school account) ChannelMessage.Send, Group.ReadWrite.All**
Post Problem Details Posts details of the required problem to a Microsoft Teams channel. Delegated (work or school account) ChannelMessage.Send, Group.ReadWrite.All**
Post Reply to Message Posts a reply to the specified message. Delegated (work or school account) ChannelMessage.Send, Group.ReadWrite.All**
Post Record Details Posts details of the specified record to the specified Microsoft Teams channel. Delegated (work or school account) ChannelMessage.Send, Group.ReadWrite.All**
Team Management Add Member to Team Adds the specified user to the specified team. Delegated (work or school account) TeamMember.ReadWrite.All
Archive Team When a team is archived, users can no longer send or like messages on any channel in team or make Team setting updates. Delegated (work or school account) TeamSettings.ReadWrite.All, Group.ReadWrite.All**, Directory.ReadWrite.All**
Create Team Create a team from an existing Office 365 group.
Note: The team ID is the same as the group ID.
Delegated (work or school account) Group.ReadWrite.All, Directory.ReadWrite.All
Delete Team Deletes the specified team. Delegated (work or school account) Group.ReadWrite.All
Look up Team Retrieves the properties and relationships of a team. Delegated (work or school account) Team.ReadBasic.All, TeamSettings.Read.All, TeamSettings.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**, Directory.Read.All**, Directory.ReadWrite.All**
Look up Team Members Stream Retrieves list of team members. Delegated (work or school account) TeamMember.Read.All, TeamMember.ReadWrite.All
Look up Teams by User Lists teams of the user containing IDs and their display names. Delegated (work or school account) Team.ReadBasic.All, TeamSettings.Read.All, TeamSettings.ReadWrite.All, User.Read.All, User.ReadWrite.All, Directory.Read.All**, Directory.ReadWrite.All**
Remove Member from Team Removes the specified member from the specified team. Delegated (work or school account) TeamMember.ReadWrite.All
Unarchive Team Restores an archived team. Enables members to post to channels in the team, make comments, and like posts again. Delegated (work or school account) TeamSettings.ReadWrite.All, Group.ReadWrite.All**, Directory.ReadWrite.All**
Update Team Updates the properties of a specific team. Delegated (work or school account) TeamSettings.ReadWrite.All, Group.ReadWrite.All**, Directory.ReadWrite.All**

The actions in the following table use the Microsoft Teams Graph Client connection and credential alias record. These actions require the application permissions.

Table 3. Microsoft Teams Graph spoke actions that use the Microsoft Teams Graph Client Credentials connection and credential alias
Category Action Description Permissions required (from least to most privileged)
Calendar Management Create Meeting Creates an online meeting event in the MS Teams calendar. Application Calendars.ReadWrite
Delete Meeting Deletes meeting event from the MS Teams calendar. Application Calendars.ReadWrite
Look up Meeting Retrieves meeting event details from the MS Teams calendar. Application Calendars.Read
Look up Meeting Occurrences Retrieves recurrence child meeting ID from the MS Teams calendar. Application Calendars.Read
Look up Meetings Stream Retrieves meeting events details from the MS Teams calendar. Application Calendars.Read, Calendars.ReadWrite
Update Meeting Creates an online meeting event in the MS Teams calendar. Application Calendars.ReadWrite
Webhook Management Look up Webhook Subscription Retrieves details of the required webhook subscription. Application ChannelMessage.Read.All, Chat.Read.All
Look up Webhook Subscriptions Stream Retrieves details of all webhook subscriptions. Application ChannelMessage.Read.All, Chat.Read.All
Renew Webhook Subscription Renews the specified webhook subscription. Application ChannelMessage.Read.All, Chat.Read.All
Subscribe Webhook Creates a webhook subscription for the specified resource. Application ChannelMessage.Read.All, Chat.Read.All
Unsubscribe Webhook Deletes the specified webhook subscription. Application ChannelMessage.Read.All, Chat.Read.All
Important: Ensure that you are aware about these default spoke configurations.
  • By default, the grant type is set to Authorization Code.
  • All actions in the Application Management, Channel Management, Chat Management, Notification Management, and Team Management categories, and Look up Schedules action in the Calendar Management category use the Microsoft Teams Spoke connection and credential alias and these actions require delegated permissions.
  • The Calendar and Webhook Management spoke actions (except Look up schedules action in Calendar Management) use the Microsoft Teams Graph Client Credentials connection and credential alias and these actions require application permissions.

If you want to use the Microsoft Teams Graph Spoke without user interaction, you should change the grant type to Client Credentials so that the ServiceNow application can access the Microsoft Teams Graph API without user involvement. For instructions on how to change grant type and the required configurations, see the Knowledge Base article - KB1635160 on ServiceNow - NOW Support.

For more information about the required permissions, see Microsoft Teams documentation.

Note: Some of the spoke actions require the channel ID, group ID, or team ID as one of the inputs. To learn these details, log in to Microsoft Teams, navigate to Teams, and click Get link to channel for the required channel. The channel link contains the required details. For example, if the channel link is https://teams.microsoft.com/l/channel/ 19%3a1aa3730712e245a0af31e4095d66d613%40thread.skype /New%2520channel%2520in%2520team? groupId= 7fb91938-5e8c-4968-bf7d-3987df7716f3 &tenantId= a46df9b7-2c9b-49d5-8c9f-d1b3de4ba59f, the group ID and team ID are 7fb91938-5e8c-4968-bf7d-3987df7716f3, and the channel ID is19:1aa3730712e245a0af31e4095d66d613@thread.skype or 1aa3730712e245a0af31e4095d66d613.

For more information about accessing the channel ID and group ID through Microsoft Teams, see Microsoft Teams documentation.

Available AI agents

Install Now Assist for Spokes and start using the available AI agents. For more information, see Now Assist for Spokes.

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 Create an agentic workflow 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 Duplicate an AI agent for more information about creating a clone.
  • See Now Assist AI Agents for information about AI agents.
Available AI Agents include:

There may 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.

Spoke modules

The Microsoft Teams Graph spoke adds the Microsoft Teams Graph Spoke to your ServiceNow instance and includes these modules.

Microsoft account requirements

The Microsoft Teams Graph spoke requires 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 the Microsoft Teams Graph spoke.

MID Server requirements

The Microsoft Teams Graph spoke actions use REST calls, which can run on an instance or a MID Server. Use the connection record associated with the Microsoft 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.