cancel
Showing results for 
Search instead for 
Did you mean: 

Authenticating Users in The Power Platform (Entra ID) with SAP using X.509 Certificates

msft-tbrazelton
Discoverer
0 Kudos

Hello everyone,

I'm currently in the process of drafting an internal proposal to introduce X.509 SSO functionality to the SAP ERP Connector within Power Platform (Apps & Automate), and I've managed to get the following Proof of Concept up and running.

msfttbrazelton_0-1712262205356.png

However, I've hit a bit of a snag at step 2 of the process. As it stands, I manually generate the client certificate for my user (authtest01) without a clear understanding of how this step would fit into typical enterprise environment. It's my understanding that most large organizations have a PKI in place capable of issuing these types of certificates. My question to the community is: how can I, in a practical manner, retrieve these certificates on behalf of my users to facilitate their authentication with SAP? Would it be an okay assumption that the certificates would be available in a customer's Azure Key Vault? Or would they possibly be exposed on a claim for the user in Entra ID?

Here is how I first envisioned it working, however was told by a previous SAP expert that assuming companies would put their customers certs into Azure Key Vault might be a stray assumption. Thus, I wanted to check in here with the community.

msfttbrazelton_1-1712262685317.png

I'd really appreciate any insights, advice, or suggestions you could offer to help refine this aspect of the SAP ERP connector for the Power Platform. Your input will be invaluable in shaping its development.

Diagrams:
Power Automate access SAP via X.509 Certificate Mermaid Sequence Diagram
Power Automate with Auth to Entra ID access SAP via X.509 Certificates Mermaid Sequence Diagram

 

Accepted Solutions (0)

Answers (1)

Answers (1)

WolfgangJanzen
Product and Topic Expert
Product and Topic Expert
0 Kudos

This will not work - since you do not only require the certificate but also the corresponding private key (which should never be disclosed).

You seem to be seeking for a Principal Propagation mechanism (in a system-to-system communication).
Maybe OAuth 2.0 (with Authorization Code Grant and PKCE) would be more appropriate.

drasener
Newcomer
0 Kudos

> Maybe OAuth 2.0 (with Authorization Code Grant and PKCE) would be more appropriate.

The system needs to integrate with RFC over CPIC. (i.e. with the .NET SDK: NCo) Is the flow you suggest appropriate for that?

msft-tbrazelton
Discoverer
0 Kudos
Thanks for the suggestion @WolfgangJanzen!