azure ad key-credential

testuser7 271 Reputation points
2022-08-12T19:12:24.38+00:00

Hello

I have two quick question.

When we add a KeyCredential of type AsymmetricX509Cert in any application-object through graph-api,

Can I add just a public-key OR I have to add the full-x509 certificate ?

If latter is true, then do I have to add the whole chain of certificate OR just my own certificate without worrying about who signed it ?

Thanks.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,456 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cristian SPIRIDON 4,471 Reputation points
    2022-08-13T04:33:16.667+00:00

    Hi

    Following post details what you need:

    https://blogs.aaddevsup.xyz/2020/08/using-powershell-to-configure-a-signing-certificate-for-a-saml-based-sso-enterprise-application

    You need both the cert file and the pfx.

    Hope this helps