Establish a connection using certificates
Establish a connection between newly created Microsoft Teams graph application using certificates.
始める前に
Role required: admin
手順
- 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.
注:This template contains the delegated API permission required for the MSTeams integration.
-
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. 注:This is not important as you will be using the certificate-based authentication. -
Click 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.
注: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, click Get OAuth Token.
On success, the following API permissions are added to the Azure application.