Unknown HTTP error while retrieving PRT token with smart-card logon

Eric Bus 0 Reputation points
2024-11-21T13:44:12.7933333+00:00

We are currently migrating our proprietary smart-card logon system to Entra ID in combination with Entra CBA. Our machines are (successfully) Hybrid Joined. We have the single sign-on system working for password-based logons on the PC. The user gets a PRT and dsregcmd /status shows a working configuration.

This is not the case when a user signs in with his smart-card. The user get access to the machine, but for some reason the retrieval of the PRT fails with an error that I cannot find anywhere online:

+----------------------------------------------------------------------+
| SSO State                                                            |
+----------------------------------------------------------------------+

                AzureAdPrt : NO
       AzureAdPrtAuthority :
     AcquirePrtDiagnostics : PRESENT
      Previous Prt Attempt : 2024-11-21 10:41:42.574 UTC
            Attempt Status : 0xc0090027
             User Identity : my.user@my-domain.tld
           Credential Type : Certificate
            Correlation ID : <GUID>
              Endpoint URI : https://login.microsoftonline.com/<GUID>/oauth2/token
               HTTP Method :
                HTTP Error : 0x80090027
               HTTP status : 0
         Server Error Code :
  Server Error Description :
             EnterprisePrt : NO
    EnterprisePrtAuthority :

I cannot find anything related for both the attempt status and HTTP error codes. They are also not mentioned in the Troubleshooting page on https://learn.microsoft.com/en-us/entra/identity/devices/troubleshoot-hybrid-join-windows-current#step-3-troubleshoot-further-based-on-the-found-error-code

The user identity correctly shows the UPN of my account (which is the same in Entra ID). I've removed the Correlation ID, but it shows a GUID. When I compare the output of the status command between a password-login and a smart-card login, the only difference is in this block. All other blocks are exactly the same.

When I try a interactive login via the browser and supply my certificate as the first-factor, I can succesfully login to the Entra account with my smart-card certificate, so the CBA system seems to work correctly.

I've been digging in the AAD logs in Event Viewer, both the Operation and Analytic logs. But I can't find anything verbose enough to determine the issue.

How can I debug this issue, as this is the only thing holding back a successfull deployment.

Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,146 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,266 questions
0 comments No comments
{count} votes

Your answer

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