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, click 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. Click Create and Get Oauth Token.
    An error message is displayed prompting 401- unauthorised.
  6. Reload the form and open the record in the Connections related list.
  7. 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.
  8. Navigate to System OAuth > Application Registry
  9. Open MSIM Microsoft Teams Connector Authorization Code record.
  10. Modify the OAuth API Script: OAuthUtilJWTMSTeamsConnector.
  11. Navigate to Connections & Credentials > Credentials.
  12. Open the record MSIM Microsoft Teams Connector Credential.
  13. From Related Links, click Get OAuth Token.
    On success, the following API permissions are added to the Azure application.
    API Permissions - MS Teams