Establish a connection using certificates
Establish a connection between newly created Microsoft Teams graph application using certificates.
Before you begin
Role required: admin
Procedure
Navigate to Connections & Credentials > Connections & Credentials Aliases.
Open Microsoft Teams Spoke.
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.
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. |
Select Create and Get Oauth Token.
An error message is displayed prompting 401- unauthorised.
Reload the form and open the record in the Connections related list.
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.
Navigate to System OAuth > Application Registry
Open MSIM Microsoft Teams Connector Authorization Code record.
Modify the OAuth API Script: OAuthUtilJWTMSTeamsConnector.
Navigate to Connections & Credentials > Credentials.
Open the record MSIM Microsoft Teams Connector Credential.
From Related Links, select Get OAuth Token.
On success, the following API permissions are added to the Azure application.
API Permissions - MS Teams
Parent Topic:Using Certificates for authentication