Set up the Microsoft Teams Graph spoke
Integrate the ServiceNow instance and Microsoft Teams account by creating a custom OAuth application in Microsoft Azure portal to authenticate ServiceNow requests.
Before you begin
- Request an Integration Hub subscription.
- Activate the Microsoft Teams Graph spoke.
- Role required: admin.
Register an application using the Microsoft Azure portal
Provide authorization to the ServiceNow instance by registering an application in Microsoft Entra ID (formerly Microsoft Azure Active Directory).
Before you begin
Role required: Microsoft Entra ID admin
About this task
Complete these steps from the Microsoft Azure portal.
Procedure
In the Microsoft Azure portal, copy and record the Directory ID for later use.
For more information, see Get tenant and app ID values for signing in in Microsoft Entra ID documentation.
Register your application in Azure portal. For instructions on registering an application, see Tutorial: Register an app with Microsoft Entra ID in the Microsoft Docs.
Copy and record the Application ID for later use.
Add the Redirect URL in this format:
https://<instance-name>.service-now.com/oauth_redirect.do.For more information, see Authentication and authorization for Azure Time Series Insights API in Microsoft Docs.
For the Required Permissions, select Microsoft Graph.
For more information, see Permissions and consent in the Microsoft identity platform in Microsoft Docs.
For information about the permissions required to use the spoke actions, see the Spoke actions section in Microsoft Teams Graph Spoke. Provide permissions as per your requirement. For more information about the permissions, see Microsoft Graph REST API v1.0 reference in Microsoft Docs.
Record the Client Secret for use in later configurations.
Result
The ServiceNow application is created with Microsoft Entra ID.
Configure connections for the Microsoft Teams Graph spoke
Add and configure the Microsoft Teams connections to authenticate ServiceNow requests in the Microsoft Teams Graph spoke.
Before you begin
Role required: admin
Procedure
Navigate to All > Process Automation > Workflow Studio.
Select the Integrations tab.
Under Connections, toggle and enable the Outbound connections.
Configure the Microsoft Teams Spoke connection.
Locate the Microsoft Teams Spoke connection alias and select View Details.
- To configure the default connection and credential alias record that is shipped along with the Microsoft Teams spoke, select View Details.
Connection for the Microsoft Teams Spoke
- To manage more than one Microsoft Teams spoke connection records, you should create a child alias record by clicking **Add Connection**. For more information about using multiple connections, see [Supporting multiple connections](support-multiple-connections.md).
If you're configuring the spoke for the first time, select **Configure**. Otherwise, select **Edit**.
Initial connection configuration
2. On the form, fill in these fields:
| Field | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name | Name to identify the alias record associated with this connection. | ||||||||||||||||||||||||
| Connection URL | Connection URL. Enter `https://graph.microsoft.com`. | ||||||||||||||||||||||||
| API Version | The value is set to v1.0 by default.If you're using any other API version, update the version number here. | ||||||||||||||||||||||||
| Authorization URL | OAuth authorization code endpoint. Enter `https://login.microsoftonline.com/| Token URL | OAuth server token endpoint. Enter `https://login.microsoftonline.com/ | Token Revocation URL | OAuth server token revocation endpoint. | OAuth Client ID | Application ID created during application registration. | OAuth Client Secret | Client secret created during application registration. | OAuth Redirect URL | OAuth callback endpoint. Enter `https:// | Image omitted: ms-teams-spoke-conf-connection.jpg Configure a connection for the Microsoft Teams spoke
Image omitted: ms-teams-gphcc-tile.jpg Connection for the Microsoft Teams Graph Client Connection Image omitted: ms-teams-gphcc-configure.jpg Initial connection configuration
|