Destination for Using Microsoft Teams

This destination is used to configure the connection between SAP Integrated Product Development and Microsoft Cloud service resources using Microsoft Teams. With this connection, you can create a team using the Microsoft Teams app, add members, and synchronize the information as a collaboration to the My Collaborations app.

Prerequisites

  • You have registered for the Collaboration application in the Microsoft Azure Active Directory.

    The values that are generated from the registration are needed to create a destination. The relevant client secret information is available in the Microsoft Azure Active Directory.

  • You have added the necessary permissions for the Microsoft Graph APIs in the Microsoft Azure Active Directory.

For more information about the Microsoft Azure Active Directory steps, see the Microsoft documentationInformation published on non-SAP site.

Context

You configure this destination if you want your business users to use the Microsoft Teams app.

Destination Configuration

For an overview of the steps for configuring destinations, see the How to Configure Destinations.

To create the destination at the subaccount level, enter the destination details as shown in the table:

Field

Value

Name

EPD_TEAMS<tenantId>

You can find your tenantId details in the Microsoft Azure Active Directory.

Type

HTTP

URL

https://graph.microsoft.com

Proxy Type

Internet

Authentication

OAuth2ClientCredentials

Client ID

Enter the application (Client) ID that you have noted in the Microsoft Azure for the client secret.

Client Secret

Enter the value that you have noted in the Value column of the client secret.

Token Service URL Type

Dedicated

Token Service URL

https://login.microsoftonline.com/{{tenantId}}/oauth2/v2.0/token

You can find your tenantId details in the Microsoft Azure Active Directory.

Under the Additional Properties panel, the following properties must be maintained.

Choose New Property to create a new property. In the fields that are displayed, enter the following values:

Property

Value

scope

htts://graph.microsoft.com/.default

tenantId

You can find your tenant ID details in the Microsoft Azure Active Directory.

Configure Destination for Certificates

Configure the destination to store and decrypt the data.

Field

Value

Name

EPD_TEAMS_CERTIFICATE

Type

HTTP

URL

https://graph.microsoft.com

Proxy Type

Internet

Authentication

ClientCertificateAuthentication

Update and Delete Certificates

Choose Upload Certificate, browse to the certificate you need to upload.

Key Store Location

Choose the certificate from the dropdown.

Key Store Password

Enter the password that you have created when generating the p12 file.

How to Generate p12 file from PEM?

The p12 file contains certificate chain and private key that are used to decrypt information or notification.

Prerequisites

  • You have the X.509 client certificate and private key (.pem).

  • You have uploaded the certificate (.pem) in the Microsoft Azure Active Directory.

Procedure

  1. To generate p12 and the key store password using the certificate and the private key (.pem).

  2. Run the following command format given:

    For example: Openssl pkcs12 -export -in <certificate.pem> -inkey <key.pem> -out <certificate.p12> -name <certificateAliasName>

  3. Enter a new key store password.

    You need this value to configure the destination.

Under the Additional Properties panel, the following properties must be maintained.

Choose New Property to create a new property. In the fields that are displayed, enter the following values:

Property

Value

alias

Enter the name that you have noted down when generating the .p12 file as explained in the procedure for How to Generate p12 file from PEM?.

encryptionCertificateId

Enter the certificate ID that you have noted after you have uploaded the certificate (.pem) in the Microsoft Azure Active Directory.