EEID to Entra ID OIDC federation with private_key_jwt not client_secret

RoryB 705 Reputation points
2026-05-07T23:08:30.7266667+00:00

You can now federate EEID with Entra ID via OIDC not via guest: 

https://learn.microsoft.com/en-us/entra/external-id/customers/how-to-entra-id-federation-customers

I have this working with client_secret, but cannot get it to work with the private_key_jwt option in the EEID custom OIDC provider.

I have retrieved the certificate from the EEID JWKS endpoint and uploaded it to the Entra ID app registration.

The error in the sign-in logs is:

Sign-in error code

700027

Failure reason

Client assertion failed signature validation.

Microsoft Security | Microsoft Entra | Microsoft Entra External ID

Answer recommended by moderator
RoryB 705 Reputation points
2026-05-08T03:42:41.62+00:00

In desperation, I uploaded every "sig" certificate in the JWKS endpoint, and it worked. 

Surely, there must be an easier way?

 

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Oldest
  1. Sridevi Machavarapu 33,820 Reputation points Microsoft External Staff Moderator
    2026-05-08T19:26:38.0066667+00:00

    Hello RoryB,

    At the moment, there does not appear to be a documented way to determine beforehand which signing key EEID will use for private_key_jwt. Since the JWT generation and exchange happen entirely cloud-side, you do not get visibility into the JWT header or selected kid.

    If uploading all certificates with "use":"sig" resolved the issue, that indicates EEID was signing with a different key than the first certificate uploaded.

    In practice, uploading all active signing certificates from the JWKS endpoint is currently the safest and most reliable approach, especially when multiple signing keys or key rotation are involved.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.