<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rohit Yadav</title>
    <description>The latest articles on DEV Community by Rohit Yadav (@cloudaid365).</description>
    <link>https://dev.to/cloudaid365</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4104258%2F0457f8ae-f6eb-47cc-b836-4c966a82b311.jpg</url>
      <title>DEV Community: Rohit Yadav</title>
      <link>https://dev.to/cloudaid365</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cloudaid365"/>
    <language>en</language>
    <item>
      <title>Microsoft Entra ID SSO for SAP GUI: Understanding the SAML vs SNC Boundary</title>
      <dc:creator>Rohit Yadav</dc:creator>
      <pubDate>Tue, 01 Sep 2026 11:53:44 +0000</pubDate>
      <link>https://dev.to/cloudaid365/microsoft-entra-id-sso-for-sap-gui-understanding-the-saml-vs-snc-boundary-4mb7</link>
      <guid>https://dev.to/cloudaid365/microsoft-entra-id-sso-for-sap-gui-understanding-the-saml-vs-snc-boundary-4mb7</guid>
      <description>&lt;p&gt;Integrating SAP with Microsoft Entra ID for Single Sign-On (SSO) can appear straightforward when SAML 2.0 is available as an authentication option.&lt;/p&gt;

&lt;p&gt;However, the actual implementation depends on which SAP interface users are accessing.&lt;/p&gt;

&lt;p&gt;In a recent customer environment assessment, the requirement was to enable SSO between Microsoft Entra ID and SAP GUI for Windows 7.70.&lt;/p&gt;

&lt;p&gt;The initial approach considered a SAML 2.0-based integration. During the technical assessment, we found an important architectural distinction:&lt;/p&gt;

&lt;p&gt;SAML 2.0 can be used for applicable SAP web authentication scenarios, but SAP GUI desktop authentication to an SAP ABAP backend follows an SNC-based authentication path.&lt;/p&gt;

&lt;p&gt;This article explains what was checked, what was found, why the initial approach could not proceed with the currently available components, and what needs to be validated before implementing SAP GUI SSO.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Requirement&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The customer requirement was to provide Single Sign-On for SAP users using their Microsoft Entra ID identity.&lt;/p&gt;

&lt;p&gt;The expected user experience was:&lt;/p&gt;

&lt;p&gt;User&lt;br&gt;
  ↓&lt;br&gt;
Microsoft Entra ID&lt;br&gt;
  ↓&lt;br&gt;
SSO&lt;br&gt;
  ↓&lt;br&gt;
SAP GUI&lt;br&gt;
  ↓&lt;br&gt;
SAP ABAP&lt;/p&gt;

&lt;p&gt;The customer environment does not have traditional on-premises Active Directory.&lt;/p&gt;

&lt;p&gt;The SAP application is accessed through SAP GUI for Windows 7.70.&lt;/p&gt;

&lt;p&gt;This point was important because SAP GUI and browser-based SAP applications do not use the same authentication path.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Environment Identified&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;During the assessment, the following environment details were identified:&lt;/p&gt;

&lt;p&gt;Component   Finding&lt;br&gt;
Identity Provider   Microsoft Entra ID&lt;br&gt;
SAP Client  SAP GUI for Windows 7.70&lt;br&gt;
SAP Backend SAP ABAP&lt;br&gt;
SAP System  MSD&lt;br&gt;
SAP Instance    D00&lt;br&gt;
Operating System    Windows client / Linux SAP server&lt;br&gt;
On-premises AD  Not available&lt;br&gt;
SNC Enabled&lt;br&gt;
SAP CommonCryptoLib Present&lt;br&gt;
sapgenpse   Available&lt;br&gt;
SNC PSE Present&lt;br&gt;
Secure Login Client Not identified on tested workstation&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;First Important Check — What SAP Client Is Being Used?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The first step in an SAP SSO project should be identifying the actual client used by end users.&lt;/p&gt;

&lt;p&gt;There is a major difference between:&lt;/p&gt;

&lt;p&gt;SAP GUI for Windows&lt;br&gt;
SAP GUI for HTML&lt;br&gt;
SAP Fiori&lt;br&gt;
SAP web applications&lt;/p&gt;

&lt;p&gt;In this environment, the users are accessing SAP through:&lt;/p&gt;

&lt;p&gt;SAP GUI for Windows 7.70&lt;/p&gt;

&lt;p&gt;Therefore, the authentication architecture needs to support the SAP GUI connection to the SAP ABAP backend.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SAML 2.0 vs SAP GUI Authentication&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Microsoft Entra ID supports SAML 2.0 integration with applicable SAP NetWeaver web authentication scenarios.&lt;/p&gt;

&lt;p&gt;However, SAP GUI desktop authentication is different.&lt;/p&gt;

&lt;p&gt;SAP GUI communicates with the SAP ABAP backend using Secure Network Communication (SNC) when SNC is configured.&lt;/p&gt;

&lt;p&gt;Therefore, the following should not be assumed to be the same:&lt;/p&gt;

&lt;p&gt;Browser SAP SSO&lt;br&gt;
        ↓&lt;br&gt;
SAML 2.0&lt;/p&gt;

&lt;p&gt;and:&lt;/p&gt;

&lt;p&gt;SAP GUI SSO&lt;br&gt;
        ↓&lt;br&gt;
SNC&lt;br&gt;
        ↓&lt;br&gt;
X.509 / Kerberos&lt;/p&gt;

&lt;p&gt;This was the key architectural finding during the assessment.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Checking the SAP Backend&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The SAP server configuration was reviewed to determine whether SNC was already configured.&lt;/p&gt;

&lt;p&gt;The following configuration was identified:&lt;/p&gt;

&lt;p&gt;snc/enable = 1&lt;/p&gt;

&lt;p&gt;This confirms that SNC is enabled on the SAP application server.&lt;/p&gt;

&lt;p&gt;The configured SNC identity was also identified:&lt;/p&gt;

&lt;p&gt;p:CN=MSP&lt;/p&gt;

&lt;p&gt;This indicates that the SAP server already has an SNC identity configured.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SAP Cryptographic Components&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The SAP server was also checked for the required cryptographic components.&lt;/p&gt;

&lt;p&gt;The following were identified:&lt;/p&gt;

&lt;p&gt;libsapcrypto.so&lt;br&gt;
sapgenpse&lt;/p&gt;

&lt;p&gt;SAP CommonCryptoLib provides cryptographic functionality used by SAP SNC.&lt;/p&gt;

&lt;p&gt;The presence of these components was a positive finding because the SAP backend already has the underlying SNC cryptographic capability.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SNC PSE&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;An SAP SNC PSE was also identified:&lt;/p&gt;

&lt;p&gt;SAPSNCS.pse&lt;/p&gt;

&lt;p&gt;The PSE contains the cryptographic identity used by the SAP server.&lt;/p&gt;

&lt;p&gt;A certificate associated with the SAP SNC configuration was also identified.&lt;/p&gt;

&lt;p&gt;However, an important distinction needs to be made:&lt;/p&gt;

&lt;p&gt;The SAP server's SNC certificate is not the same as an individual user's SSO certificate.&lt;/p&gt;

&lt;p&gt;Having a server-side SNC PSE does not automatically provide SSO for SAP users.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;User-Level SNC Configuration&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The next important check is the SAP user configuration.&lt;/p&gt;

&lt;p&gt;For certificate-based authentication, the individual SAP user needs to be associated with the appropriate SNC identity.&lt;/p&gt;

&lt;p&gt;This is typically checked through:&lt;/p&gt;

&lt;p&gt;SU01&lt;br&gt;
  ↓&lt;br&gt;
User&lt;br&gt;
  ↓&lt;br&gt;
SNC&lt;/p&gt;

&lt;p&gt;In the assessed environment, the test user did not have the required SNC identity mapping configured.&lt;/p&gt;

&lt;p&gt;Therefore, even though SNC was enabled on the server, the complete user authentication chain was not established.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SAP Secure Login Client Check&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The Windows workstation used for testing was also checked.&lt;/p&gt;

&lt;p&gt;SAP Secure Login Client was not identified on the tested workstation.&lt;/p&gt;

&lt;p&gt;This is significant because an SAP GUI certificate-based SSO architecture may require a client-side Secure Login component to provide the appropriate credential to SAP GUI/SNC.&lt;/p&gt;

&lt;p&gt;The availability and licensing of the required SAP Secure Login components therefore needs to be confirmed with the SAP/Basis team.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Why the Initial SAML Approach Could Not Proceed&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The initial assumption was:&lt;/p&gt;

&lt;p&gt;Microsoft Entra ID&lt;br&gt;
        ↓&lt;br&gt;
SAML 2.0&lt;br&gt;
        ↓&lt;br&gt;
SAP GUI&lt;/p&gt;

&lt;p&gt;However, SAP GUI does not simply consume a SAML assertion as its direct authentication mechanism to the ABAP backend.&lt;/p&gt;

&lt;p&gt;The relevant authentication path is based on SNC.&lt;/p&gt;

&lt;p&gt;A certificate-based architecture would instead involve a flow similar to:&lt;/p&gt;

&lt;p&gt;Microsoft Entra ID&lt;br&gt;
        ↓&lt;br&gt;
Authentication / Identity Layer&lt;br&gt;
        ↓&lt;br&gt;
X.509 User Certificate&lt;br&gt;
        ↓&lt;br&gt;
SAP Secure Login Client&lt;br&gt;
        ↓&lt;br&gt;
SAP GUI&lt;br&gt;
        ↓&lt;br&gt;
SNC&lt;br&gt;
        ↓&lt;br&gt;
SAP ABAP&lt;/p&gt;

&lt;p&gt;The exact components in this architecture must be validated against the customer's SAP version, licensing and available services.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Current Blockers&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Based on the assessment, the following blockers were identified.&lt;/p&gt;

&lt;p&gt;Blocker 1 — Secure Login Component&lt;/p&gt;

&lt;p&gt;The required SAP Secure Login component/service referenced during the assessment is not currently available/confirmed.&lt;/p&gt;

&lt;p&gt;Blocker 2 — Secure Login Client&lt;/p&gt;

&lt;p&gt;SAP Secure Login Client was not identified on the tested SAP GUI workstation.&lt;/p&gt;

&lt;p&gt;Blocker 3 — User Certificate&lt;/p&gt;

&lt;p&gt;No established mechanism for issuing individual X.509 authentication certificates to SAP GUI users was identified.&lt;/p&gt;

&lt;p&gt;Blocker 4 — SAP User Mapping&lt;/p&gt;

&lt;p&gt;The test SAP user does not currently have the required SNC identity mapping.&lt;/p&gt;

&lt;p&gt;Blocker 5 — No On-Premises Active Directory&lt;/p&gt;

&lt;p&gt;The customer does not have on-premises Active Directory.&lt;/p&gt;

&lt;p&gt;Therefore, a traditional AD/Kerberos-based SAP GUI SSO architecture cannot be assumed for this environment.&lt;/p&gt;

&lt;p&gt;Blocker 6 — SAP Licensing / Service Availability&lt;/p&gt;

&lt;p&gt;The availability and licensing of the required SAP Secure Login/SAP SSO components have not yet been confirmed.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Important Clarification&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The finding should not be interpreted as:&lt;/p&gt;

&lt;p&gt;SAP does not support SAML 2.0.&lt;/p&gt;

&lt;p&gt;That statement would be too broad.&lt;/p&gt;

&lt;p&gt;The correct interpretation is:&lt;/p&gt;

&lt;p&gt;SAP supports SAML 2.0 for applicable authentication scenarios, including supported SAP web-based scenarios. However, SAP GUI desktop authentication to the SAP ABAP backend follows the SNC authentication path.&lt;/p&gt;

&lt;p&gt;Therefore, Microsoft Entra ID SAML configuration by itself does not complete the SAP GUI SSO implementation.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What Is Already Available?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The assessment did identify several useful components in the existing environment.&lt;/p&gt;

&lt;p&gt;Available&lt;br&gt;
SAP GUI 7.70&lt;br&gt;
SAP ABAP backend&lt;br&gt;
SNC enabled&lt;br&gt;
SAP CommonCryptoLib&lt;br&gt;
sapgenpse&lt;br&gt;
SAP SNC PSE&lt;br&gt;
SAP server SNC identity&lt;br&gt;
Not Available / Not Confirmed&lt;br&gt;
SAP Secure Login Client&lt;br&gt;
User X.509 certificate mechanism&lt;br&gt;
SAP user SNC identity mapping&lt;br&gt;
Enterprise PKI/CA&lt;br&gt;
SAP Secure Login Service availability&lt;br&gt;
SAP SSO licensing&lt;br&gt;
Complete user certificate authentication flow&lt;/p&gt;

&lt;p&gt;This means the SAP backend is not starting from zero.&lt;/p&gt;

&lt;p&gt;The existing SNC infrastructure can be investigated further once the missing components and requirements are confirmed.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Information Required From the SAP/Basis Team&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Before any production configuration changes are made, the following should be confirmed with the SAP team:&lt;/p&gt;

&lt;p&gt;Exact SAP ABAP/NetWeaver version.&lt;br&gt;
Exact SAP kernel version.&lt;br&gt;
Whether the current SAP version supports the required X.509/SNC SSO architecture.&lt;br&gt;
Whether SAP Secure Login Service is available.&lt;br&gt;
Whether SAP Single Sign-On 3.0 is licensed.&lt;br&gt;
Whether SAP Secure Login Client is required.&lt;br&gt;
Whether SAP Secure Login Client is supported with SAP GUI 7.70.&lt;br&gt;
Whether an enterprise PKI/CA is available.&lt;br&gt;
Who issues user authentication certificates.&lt;br&gt;
Required certificate format.&lt;br&gt;
Required certificate Subject/SAN.&lt;br&gt;
Required SNC name format.&lt;br&gt;
How the X.509 identity should be mapped to the SAP user.&lt;br&gt;
Whether the existing SAP SNC PSE can be reused.&lt;br&gt;
Whether any additional SAP components or licenses are required.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Recommended Validation Flow&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Once the SAP-side prerequisites are confirmed, the implementation should be validated using a single test user.&lt;/p&gt;

&lt;p&gt;The validation flow should be:&lt;/p&gt;

&lt;p&gt;Microsoft Entra ID&lt;br&gt;
        ↓&lt;br&gt;
User Authentication&lt;br&gt;
        ↓&lt;br&gt;
Certificate / Secure Login&lt;br&gt;
        ↓&lt;br&gt;
SAP GUI&lt;br&gt;
        ↓&lt;br&gt;
SNC&lt;br&gt;
        ↓&lt;br&gt;
SAP ABAP&lt;br&gt;
        ↓&lt;br&gt;
SAP User Mapping&lt;/p&gt;

&lt;p&gt;The first objective should be to prove SSO for one test user before considering wider deployment.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Troubleshooting Checklist&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For future SAP GUI SSO troubleshooting, validate the following in order:&lt;/p&gt;

&lt;p&gt;[ ] Confirm SAP GUI version&lt;br&gt;
[ ] Confirm SAP backend version&lt;br&gt;
[ ] Confirm SAP GUI vs browser access&lt;br&gt;
[ ] Check snc/enable&lt;br&gt;
[ ] Check snc/identity/as&lt;br&gt;
[ ] Check CommonCryptoLib&lt;br&gt;
[ ] Check SAP SNC PSE&lt;br&gt;
[ ] Check server certificate&lt;br&gt;
[ ] Check SAP user SNC mapping&lt;br&gt;
[ ] Check client SNC configuration&lt;br&gt;
[ ] Check Secure Login Client&lt;br&gt;
[ ] Check user certificate&lt;br&gt;
[ ] Check certificate trust&lt;br&gt;
[ ] Check PKI/CA&lt;br&gt;
[ ] Check SAP licensing&lt;br&gt;
[ ] Perform single-user pilot&lt;/p&gt;

&lt;p&gt;This sequence helps avoid spending time configuring Microsoft Entra SAML before confirming that the SAP GUI authentication path is ready.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Security Considerations&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;SAP environments contain highly sensitive infrastructure information.&lt;/p&gt;

&lt;p&gt;When troubleshooting or documenting SAP SSO, avoid publishing:&lt;/p&gt;

&lt;p&gt;SAP usernames&lt;br&gt;
Internal IP addresses&lt;br&gt;
Internal hostnames&lt;br&gt;
SAP system passwords&lt;br&gt;
PSE passwords&lt;br&gt;
Private keys&lt;br&gt;
Certificate private material&lt;br&gt;
Customer tenant identifiers&lt;br&gt;
Internal URLs&lt;br&gt;
Production configuration secrets&lt;/p&gt;

&lt;p&gt;If screenshots are used in documentation, sensitive customer information should be removed or blurred.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Key Lessons
Lesson 1 — Identify the SAP client first&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Always determine whether users are accessing SAP through SAP GUI, Fiori, SAP GUI for HTML, or another web interface.&lt;/p&gt;

&lt;p&gt;Lesson 2 — Do not assume SAML solves every SAP SSO scenario&lt;/p&gt;

&lt;p&gt;The identity provider may support SAML while the SAP client uses a different authentication protocol.&lt;/p&gt;

&lt;p&gt;Lesson 3 — Server SNC is not user SSO&lt;/p&gt;

&lt;p&gt;An SNC PSE on the SAP server establishes server-side cryptographic identity.&lt;/p&gt;

&lt;p&gt;It does not automatically create user-level SSO.&lt;/p&gt;

&lt;p&gt;Lesson 4 — User mapping is critical&lt;/p&gt;

&lt;p&gt;Certificate-based authentication requires the certificate identity to be correctly associated with the SAP user.&lt;/p&gt;

&lt;p&gt;Lesson 5 — Validate before changing production&lt;/p&gt;

&lt;p&gt;Existing SAP SNC and PSE configurations should be understood before making production changes.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Conclusion&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The assessment demonstrated that the customer already has an SNC-enabled SAP backend with SAP CommonCryptoLib, sapgenpse, an SNC PSE and a configured SAP server identity.&lt;/p&gt;

&lt;p&gt;However, the complete user authentication path required for SAP GUI SSO is not currently established.&lt;/p&gt;

&lt;p&gt;The key finding is:&lt;/p&gt;

&lt;p&gt;Microsoft Entra ID SAML 2.0 configuration alone is not sufficient to provide SSO to the existing SAP GUI desktop client.&lt;/p&gt;

&lt;p&gt;For SAP GUI, the authentication architecture needs to account for SNC and an appropriate user authentication credential, such as an X.509 certificate or another supported mechanism.&lt;/p&gt;

&lt;p&gt;The availability of SAP Secure Login components, PKI, licensing and SAP-side user mapping must therefore be validated before the implementation can proceed.&lt;/p&gt;

&lt;p&gt;Official References&lt;br&gt;
Microsoft Learn — Configure SAP NetWeaver for Single Sign-On with Microsoft Entra ID&lt;br&gt;
SAP Help — SAP Secure Login Service for SAP GUI&lt;br&gt;
SAP Help — SNC and X.509 certificate authentication&lt;br&gt;
SAP Help — SAP user SNC identity mapping&lt;/p&gt;

</description>
      <category>ai</category>
      <category>beginners</category>
      <category>security</category>
      <category>microsoft365</category>
    </item>
  </channel>
</rss>
