Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Microsoft Teams Graph Spoke

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 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.5.0 is the latest version.

Supported version

Microsoft Graph REST API v1.0.

Spoke dependencies

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

  • ServiceNow Integration Hub Runtime (com.glide.hub.integration.runtime)
  • Flow 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:

SubflowDescription
Post Incident DetailsPosts details of the required incident to a Microsoft Teams channel.
Process Inbound NotificationsRetrieves the details of the specified message based on the input data received from webhook subscription.
Renew Webhook Subscription Helper SubflowRenews a subscription if renewal is required, which is decided based upon inputs.
Renew Webhook SubscriptionsRetrieves all the webhook subscriptions and renews them if renewal is required.
Subscribe WebhookCreates a webhook subscription for the specified team's channel.

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.

CategoryActionDescriptionPermissions required \(from least to most privileged\)
Application ManagementInstall Application to UserInstalls the specified application in the personal scope of the user.Delegated \(work or school account\)TeamsAppInstallation.ReadWriteSelfForUser, TeamsAppInstallation.ReadWriteForUser
Look up User App InstallationRetrieves the details of the specified application's installation for the user.Delegated \(work or school account\)TeamsAppInstallation.ReadForUser, TeamsAppInstallation.ReadWriteSelfForUser, TeamsAppInstallation.ReadWriteForUser
Calendar ManagementLook up SchedulesRetrieves 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 ManagementAdd Member to ChannelAdds the specified member to the specified channel.Delegated \(work or school account\)ChannelMember.ReadWrite.All
Create ChannelCreate a new channel in a team.Delegated \(work or school account\)Channel.Create, Group.ReadWrite.All, Directory.ReadWrite.All
Delete ChannelRemoves 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 ChannelRetrieves 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 NameRetrieves 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 MembersRetrieves a list of channel members.Delegated \(work or school account\)ChannelMember.Read.All, ChannelMember.ReadWrite.All
Look up Channel MessagesRetrieves the list of messages in a channel of a team.Delegated \(work or school account\)ChannelMessage.Read.All
Look up ChannelsRetrieves 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 ChannelRemoves the specified user from the specified channel.Delegated \(work or school account\)ChannelMember.ReadWrite.All
Chat ManagementCreate ChatCreates a chat between the users.Delegated \(work or school account\)Chat.Create, Chat.ReadWrite
Look up Chat Message Deltas StreamRetrieves 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 MessagesRetrieves the list of messages in a chat.Delegated \(work or school account\)Chat.Read, Chat.ReadWrite
Look up ChatsRetrieves the list of chats that the user is a part of.Delegated \(work or school account\)Chat.ReadBasic, Chat.Read, Chat.ReadWrite
Look up MessageRetrieves the details of the specified message.Delegated \(work or school account\)Chat.Read, Chat.ReadWrite
Look up Message Replies StreamRetrieves the list of replies for the specified message from a team's channel.Delegated \(work or school account\)ChannelMessage.Read.All
Post Message to ChatPosts message to a Microsoft Teams chat.Delegated \(work or school account\)ChatMessage.Send, Chat.ReadWrite, Group.ReadWrite.All
Notification ManagementPost Change DetailsPosts details of the required change to a Microsoft Teams channel.Delegated \(work or school account\)ChannelMessage.Send, Group.ReadWrite.All
Post Incident DetailsPosts details of the required incident to a Microsoft Teams channel.Delegated \(work or school account\)ChannelMessage.Send, Group.ReadWrite.All
Post MessagePosts message to a Microsoft Teams channel.Delegated \(work or school account\)ChannelMessage.Send, Group.ReadWrite.All
Post Problem DetailsPosts details of the required problem to a Microsoft Teams channel.Delegated \(work or school account\)ChannelMessage.Send, Group.ReadWrite.All
Post Reply to MessagePosts a reply to the specified message.Delegated \(work or school account\)ChannelMessage.Send, Group.ReadWrite.All
Post Record DetailsPosts details of the specified record to the specified Microsoft Teams channel.Delegated \(work or school account\)ChannelMessage.Send, Group.ReadWrite.All
Team ManagementAdd Member to TeamAdds the specified user to the specified team.Delegated \(work or school account\)TeamMember.ReadWrite.All
Archive TeamWhen 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 TeamCreate 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 TeamDeletes the specified team.Delegated \(work or school account\)Group.ReadWrite.All
Look up TeamRetrieves 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 StreamRetrieves list of team members.Delegated \(work or school account\)TeamMember.Read.All, TeamMember.ReadWrite.All
Look up Teams by UserLists 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 TeamRemoves the specified member from the specified team.Delegated \(work or school account\)TeamMember.ReadWrite.All
Unarchive TeamRestores 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 TeamUpdates 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.

CategoryActionDescriptionPermissions required (from least to most privileged)
Calendar ManagementCreate MeetingCreates an online meeting event in the MS Teams calendar.Application
Delete MeetingDeletes meeting event from the MS Teams calendar.ApplicationCalendars.ReadWrite
Look up MeetingRetrieves meeting event details from the MS Teams calendar.ApplicationCalendars.Read
Look up Meeting OccurrencesRetrieves recurrence child meeting ID from the MS Teams calendar.ApplicationCalendars.Read
Look up Meetings StreamRetrieves meeting events details from the MS Teams calendar.ApplicationCalendars.Read, Calendars.ReadWrite
Update MeetingCreates an online meeting event in the MS Teams calendar.ApplicationCalendars.ReadWrite
Webhook ManagementLook up Webhook SubscriptionRetrieves details of the required webhook subscription.Application
Look up Webhook Subscriptions StreamRetrieves details of all webhook subscriptions.ApplicationChannelMessage.Read.All, Chat.Read.All
Renew Webhook SubscriptionRenews the specified webhook subscription.ApplicationChannelMessage.Read.All, Chat.Read.All
Subscribe WebhookCreates a webhook subscription for the specified resource.ApplicationChannelMessage.Read.All, Chat.Read.All
Unsubscribe WebhookDeletes the specified webhook subscription.ApplicationChannelMessage.Read.All, Chat.Read.All

Important: Ensure that you’re 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 Lookup 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 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 Teams application management AI agentAutomates tasks related to Microsoft Teams and Integration Hub. Performs actions such as looking up app installations and installing applications for the users.
Microsoft Teams channel management AI agentManages Microsoft Teams channels through IntegrationHub. It provides capabilities such as creating channels, managing members, and retrieving channel information.
Microsoft Teams chat management AI agentAutomates workflows between ServiceNow and Microsoft Teams by providing capabilities such as looking up chats and messages.
Microsoft Teams notification management AI agentAutomates communication between ServiceNow and Microsoft Teams by sending messages, updates, and replies to Microsoft Teams channels. The agent supports actions like 'Post Change Details', 'Post Message', and 'Post Reply to Message' to ensure effective notification management for change requests.
Microsoft Teams team management AI agentAutomates tasks such as creating and managing Teams, adding or removing members, and retrieving team-related information. Enhances team management and communication workflows within an organization.
Microsoft Teams calendar management AI agentAutomates workflows between ServiceNow and Microsoft Teams. Provides calendar management capabilities. Performs actions such as deleting, and retrieving meeting details.

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.

Spoke modules

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

ModuleDescription
Delta TokenDisplays the list of available Delta Tokens.
Webhook RegistryDisplays the list of available webhook registries.
Webhook Decision PolicyDisplays the list of decision policies.
Webhook SubscriptionsDisplays the details of webhook subscriptions.

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.