Destination for Email Notifications Using Microsoft Graph

Learn how to enable the connection between SAP Integrated Product Development and Microsoft Cloud service resources using Microsoft Graph. With this connection, participants in a collaboration can use Microsoft Outlook to send emails from within a collaboration.

This destination is optional.

Prerequisites

  • You have registered a new 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 API in the Microsoft Azure Active Directory to use the service.

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

Context

If you want your business users to send email notifications from their Microsoft Outlook mailbox for custom workflows, you have two alternatives for configuring the destination. We recommend that you configure the destination for sending your email notifications using the SMTP API. This destination has the type Mail. For more information on how to configure that destination, see Destination for Email Notifications Using SMTP APIs.

The other alternative is to follow the steps in the section below to create a destinationn with the type HTTP.

Destination of Type HTTP

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

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

Field

Value

Name

MS_GRAPH_MAIL

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 tenant ID 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

graphApiUrl

Enter the endpoint URL for the Microsoft Graph API.

For example: https//graph.microsoft.com/v1.0

scope

https://graph.microsoft.com/.default

tokenService.body.grant_type

client_credentials

tokenServiceURL.headersContent-Type

application/x-www-form-urlencoded