Connecting Copilot Studio to SAP S/4HANA via MCP with per-user identity

ColdImportance2484 · reddit · 2026-10-26

A detailed write-up on securely connecting Microsoft Copilot Studio to SAP S/4HANA via the new SAP Integration Suite MCP Servers. Key challenge: client-credentials tokens work for testing but run everything under one technical user, breaking principal propagation and S/4HANA authorizations. The pattern uses SAP Cloud Identity Services (IAS) as trust bridge, OAuth 2.0/OIDC authorization code flow, a CPI MCP Gateway validating user tokens, Cloud Connector + X.509 principal propagation, and CERTRULE mapping so the OData call runs under the actual ABAP user. Result: two users asking the same question get different answers based on their authorizations — no custom code, pure configuration. Full architecture and step-by-step flow included.

Original post →

More from coding & agent

coding & agent channel →