Establish a connection using certificates

task brazil Updated Sep 10, 2026 1 min read establish-a-connection-using-certificates.md
Raw file servicenow.com

Establish a connection between newly created Microsoft Teams graph application using certificates.

Before you begin

Role required: admin

Procedure

  1. Navigate to Connections & Credentials > Connections & Credentials Aliases.

  2. Open Microsoft Teams Spoke.

  3. Modify the field value Configuration Template: MSIM Microsoft Teams ConnectorAuthorization Code Template and save the form.

    Note: This template contains the delegated API permission required for the MSTeams integration.

  4. From the Related Links section, select Create New Connection & Credential.

 

 

Name

Any unique Name.

Connection URL

Connection URL. For example, https://graph.microsoft.com

API Version

Version of the API. For example, v1.0

Authorization URL

https://login.microsoftonline.com/<<tenant ID>/oauth2/v2.0/authorize

Token URL

https://login.microsoftonline.com/<<tenant ID>/oauth2/v2.0/token

Token Revocation URL

https://login.microsoftonline.com/<<tenant ID>/oauth2/v2.0/revoke

OAuth Client ID

Client ID.

OAuth Client Secret

You can enter any value. Note: This is not important as you will be using the certificate-based authentication.

5. Select **Create and Get Oauth Token**.
An error message is displayed prompting 401- unauthorised.
  1. Reload the form and open the record in the Connections related list.

  2. Enter the Base64 encoded Thumbprint value in the Encoded Certificate Thumbprint attribute in the Attributes section.

    Note: The Thumbprint value is a hexadecimal value. You can use a Hexadecimal toBase64 (Hex to Base64) converter tool to encode the Thumbprint value to a Base64 value.

  3. Navigate to System OAuth > Application Registry

  4. Open MSIM Microsoft Teams Connector Authorization Code record.

  5. Modify the OAuth API Script: OAuthUtilJWTMSTeamsConnector.

  6. Navigate to Connections & Credentials > Credentials.

  7. Open the record MSIM Microsoft Teams Connector Credential.

  8. From Related Links, select Get OAuth Token.

    On success, the following API permissions are added to the Azure application.

    [Omitted image "api-permissions-msteams.png"] Alt text: API Permissions - MS Teams

Parent Topic:Use certificate for authentication

Search documentation
Search document titles and file paths on the brazil branch