SAP CPI Integration with Microsoft Graph API: OAuth 2.0, HTML Emails, and File Attachments
Builds an integration flow on Cloud IntegrationCloud IntegrationBuilds and runs integration flows that process, route and map messages between cloud and on-premise systems, SAP and non-SAP, through prebuilt adapters; available only under an SAP Integration Suite plan.sap official, btp that sends an HTML email with a Base64-encoded attachment through the Microsoft Graph API instead of SMTP: an OAuth 2.0 Authorization Code credential configured for Microsoft 365, a Content Modifier and Base64 Encoder preparing the mail body and attachment, a Groovy script reading the access token from the SecureStoreService, and a Request-Reply step calling the Graph sendMail endpoint over its HTTP receiver adapter. It lists the HTTP 400/401/403 failures to check against the request body, the token and the Graph mail permissions.
Where it sits
Who is behind it
Properties
About this work
Details
Graph
Source
History
- Entered the atlasDiscovered via SAP Community · integration-suite-tag.
For your agent
- Ref
content:sap-cpi-integration-with-microsoft-graph-api-oauth-2-0-html-emails-and-file-atta- JSON
- /content/sap-cpi-integration-with-microsoft-graph-api-oauth-2-0-html-emails-and-file-atta.json
- MCP
- Connecting an agent