> ## Documentation Index
> Fetch the complete documentation index at: https://help.allthenticate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up Entra ID certificate sign-in for Windows

> Path B: users on Entra ID-joined computers sign in with a certificate on their phone, issued by Allthenticate and checked by Entra ID certificate-based authentication.

Entra ID checks the certificate with [certificate-based authentication](https://learn.microsoft.com/en-us/entra/identity/authentication/concept-certificate-based-authentication), and after the first sign-in the computer can unlock as the user walks up. Allthenticate issues the certificates from its own certification authority (CA), one per organization, so you don't need Active Directory, AD CS, a domain controller or the Domain Controller Bridge.

> [!NOTE]
>
> **Is this the right guide?** It's for Entra ID users, cloud-only or synced from Active Directory with [Entra Connect](https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/whatis-azure-ad-connect), on computers joined **only** to Entra ID (`dsregcmd /status` shows `AzureAdJoined : YES` and `DomainJoined : NO`). Go by how the computer is joined, not by `whoami`. Domain-joined and hybrid computers use [Active Directory and hybrid](https://help.allthenticate.com/windows/active-directory.md). If your sign-in domain is federated or you're on a trial, use [passkeys](https://help.allthenticate.com/windows/entra/passkeys.md).

## Setup at a glance

1. Check the requirements below.
2. Add Microsoft Graph permissions to the Microsoft SSO integration.
3. Create an Entra ID policy for a pilot group in the Allthenticate admin portal.
4. Download the CA certificate and CRL URL.
5. Upload the CA and turn on certificate-based authentication in Entra ID.
6. Run **Check tenant setup** until every required check passes.
7. Sign in on a pilot computer, then roll out to everyone else.

## Requirements

| Requirement | How to check |
| - | - |
| An Allthenticate business organization on a **paid plan** | Trial and personal organizations can't create an Entra ID policy: the admin portal shows `Entra ID certificate policies need a paid business organization`. |
| An admin portal account with the **Super Admin** role | Creating or deleting a policy is confirmed on your phone. |
| The **Microsoft SSO integration** syncing the users who will get certificates | Admin portal > **Integrations**. Allthenticate matches each certificate to the Entra ID user this integration synced, so users it hasn't synced get no certificate. |
| User principal names (UPNs) on a verified domain that **receives email** | The integration invites each user with their UPN as their email address. A UPN on a domain that can't receive email (for example `*.onmicrosoft.com` without Exchange Online) isn't invited and gets no certificate. |
| A **managed** sign-in domain | [Entra admin center](https://entra.microsoft.com) > **Entra ID** > **Domain names**. The domain in the users' UPNs must not be marked **Federated**. Entra ID sends federated users to the other identity provider, so it never checks their certificate. A federated domain works only for users that Microsoft's [Staged Rollout](https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-staged-rollout) has moved to managed authentication. |
| An **Entra admin** | Someone who can upload a CA and change the certificate-based authentication policy, such as a Global Administrator. |
| Entra ID's **default username binding** | It maps the certificate's **PrincipalName** to **userPrincipalName**. Every tenant has it unless someone changed it; **Check tenant setup** reports it. |
| Computers **joined only to Entra ID** | Run `dsregcmd /status` on a pilot computer. |
| A supported **Windows version** | Run `winver`. You need a current release of Windows 11, or an earlier Windows 10 or 11 release with the September 2022 cumulative update or later ([Microsoft's list](https://learn.microsoft.com/en-us/entra/identity/authentication/concept-certificate-based-authentication-smartcard)). |
| **Phones** signed in to your organization | Each phone has the Allthenticator app and is paired with the computer for **Business** use. |

For users synced from Active Directory, the UPN in Entra ID must be on a verified domain that receives email (for example `jdoe@contoso.com`), not a non-routable suffix such as `.local`. Entra Connect replaces a non-routable suffix with `*.onmicrosoft.com`, and those users get no certificate. Their domain must use password hash sync or pass-through authentication, not federation.

> [!WARNING]
>
> **The Microsoft SSO integration isn't SAML single sign-on.** Despite its name, it only syncs your Entra ID users and groups to Allthenticate. It doesn't change how users sign in to Microsoft 365 and doesn't federate your domain. Don't set up Allthenticate as the SAML identity provider for Microsoft 365 for these users: that changes the domain to **Federated**, and certificate sign-in then stops working.

If any Conditional Access policy requires multifactor authentication or an authentication strength, do step 5's binding rule so Entra ID counts the certificate as multifactor. Otherwise users sign in to Windows and are then asked for a second factor in Microsoft 365.

## Set it up

**1. Connect the Microsoft SSO integration and add Graph permissions**

If the integration isn't connected yet, add it in the admin portal under **Integrations**, following only the [Set up scheduled user syncing](https://help.allthenticate.com/help/sso/apps/microsoft-online.md#set-up-scheduled-user-syncing) section of the Microsoft 365 guide. Note when the app registration's client secret expires: after that, syncing and **Check tenant setup** stop until you replace it.

Then, in the [Microsoft Entra admin center](https://entra.microsoft.com):

1. Go to **Entra ID** > **App registrations** > **All applications** and open the app registration the integration uses.
2. Select **API permissions** > **Add a permission** > **Microsoft Graph** > **Application permissions**.
3. Select `User.Read.All`, `Policy.Read.AuthenticationMethod`, `PublicKeyInfrastructure.Read.All`, `Organization.Read.All` and `GroupMember.Read.All`, then **Add permissions**.
4. Select **Grant admin consent for** your tenant.

> [!TIP]
>
> Each permission's status shows **Granted**.

`User.Read.All` is used by the sync. The others are read-only and used by **Check tenant setup**.

**2. Create the Entra ID policy**

In the admin portal:

1. Open **DC Bridging** > **Certificate Generation Policies** and select **Create Policy**. The policies are listed under DC Bridging, but this setup doesn't use a bridge.
2. Set **Certificates From** to **Entra ID (this organization's own CA)**.
3. Choose the **User Group** whose members get certificates, such as **Entra Users**, the group the Microsoft SSO integration creates, or one of its subgroups. For a pilot, choose a small group of users who already have the Allthenticator app and a paired computer.
4. Select **Save** and approve the confirmation on your phone.

![Create Certificate Generation Policy dialog with Certificates From set to Entra ID (this organization's own CA)](https://mintcdn.com/allthenticate-e69095b0/QzFhddoLFn1n7huD/images/windows/cert-policy-dialog.png?fit=max\&auto=format\&n=QzFhddoLFn1n7huD\&q=85\&s=268db4d773ef77e4d704b9d888c59c4f)

> [!TIP]
>
> The policy appears as **Allthenticate Entra ID** with **Entra ID CA · \<group> · RSA 2048**.

Each user group can have one Entra ID policy. The first policy creates your organization's CA.

**3. Download the CA certificate and CRL URL**

On **Certificate Generation Policies**, select **Entra ID CA Certificate** to download `allthenticate-entra-id-ca.cer`. Copy the CRL URL from the **Entra ID setup** box below the header.

![Certificate Generation Policies page with the Entra ID CA Certificate button, the Entra ID setup box showing the CRL URL, and the Allthenticate Entra ID policy](https://mintcdn.com/allthenticate-e69095b0/QzFhddoLFn1n7huD/images/windows/cert-policies.png?fit=max\&auto=format\&n=QzFhddoLFn1n7huD\&q=85\&s=44340bc64b8036287ff170cfee9f9aab)

**4. Upload the CA to Entra ID**

In the Entra admin center, go to **Entra ID** > **Certificate authorities** (titled **Security | Certificate authorities (classic)**) and select **Upload**. Choose `allthenticate-entra-id-ca.cer`, leave **Is root CA certificate** at **Yes**, set **Certificate Revocation List URL** to the CRL URL, and select **Add**.

![Entra admin center Upload certificate file panel with Is root CA certificate set to Yes and a Certificate Revocation List URL field](https://mintcdn.com/allthenticate-e69095b0/QzFhddoLFn1n7huD/images/windows/entra-ca-upload.png?fit=max\&auto=format\&n=QzFhddoLFn1n7huD\&q=85\&s=954adf0b0377be7e811426c85aaaad39)

A CA added under **Public key infrastructure** instead also works.

**5. Turn on certificate-based authentication**

Go to **Entra ID** > **Authentication methods** > **Policies** and open **Certificate-based authentication**.

1. On **Enable and Target**, turn on **Enable**. Under **Include**, choose **Select groups** and add your pilot group. Microsoft advises against **All users**: include only users who have a certificate.
2. On **Configure**, check **Require CRL validation (recommended)**, and don't add the Allthenticate CA under **Exempt CAs from CRL validation**. Without CRL validation, Entra ID keeps accepting revoked certificates.
3. To have Entra ID count the certificate as multifactor, add a rule under **Authentication binding**: select **Add rule** > **Certificate issuer**, choose the Allthenticate CA, set **Authentication strength** to **Multifactor authentication** and **Affinity binding** to **Low**, then select **Add** and **I Acknowledge**. Sign-in fails with **High**, because the PrincipalName username binding is low affinity.
4. Select **Save**.

   ![Certificate-based authentication settings, Configure tab, with Require CRL validation checked and the Authentication binding section](https://mintcdn.com/allthenticate-e69095b0/QzFhddoLFn1n7huD/images/windows/entra-cba-configure.png?fit=max\&auto=format\&n=QzFhddoLFn1n7huD\&q=85\&s=e0a6a2b98e6b0e47cc20372b9086f892)

Leave the tenant-wide **Protection level** at **Single-factor authentication** unless you want certificates from every CA in your tenant counted as multifactor. If a Conditional Access policy uses a custom [authentication strength](https://learn.microsoft.com/en-us/entra/identity/authentication/concept-authentication-strengths), add **Certificate-based authentication (multifactor)** to it. Microsoft's full reference: [How to configure certificate-based authentication](https://learn.microsoft.com/en-us/entra/identity/authentication/how-to-certificate-based-authentication).

**6. Check tenant setup**

In the admin portal's **Entra ID setup** box, select **Check tenant setup**. Allthenticate reads your tenant through the Microsoft SSO integration and changes nothing.

| Result | Meaning |
| - | - |
| ✅ | Passed |
| ❌ | Required and missing: sign-in won't work until you fix it |
| ⚠️ | Recommended and missing |
| ❔ | Couldn't be checked, usually a missing Graph permission |

![Entra ID setup box after Check tenant setup, listing the Microsoft Entra ID integration check with its result](https://mintcdn.com/allthenticate-e69095b0/QzFhddoLFn1n7huD/images/windows/tenant-check.png?fit=max\&auto=format\&n=QzFhddoLFn1n7huD\&q=85\&s=a0f224f81b3f6098fc2bc065a2cc24c8)

> [!TIP]
>
> Every required check passes. If not, see [Fix tenant check results](#fix-tenant-check-results).

**7. Sign in on a pilot computer**

1. Make sure the user is signed in to your organization in the Allthenticator app with the app open and online. Their certificate usually arrives within a few minutes. Select the policy to see each user's requests: **Certificate Distributed** means the phone has it.
2. Install the desktop app on the Entra ID-joined computer and pair the phone for **Business** use. See [Install and pair](https://help.allthenticate.com/windows/install-and-pair.md).
3. With the computer online, lock it or sign out. Select the user (or **Other user**), select **Sign-in options**, then the Allthenticate tile.
4. Approve on the phone.

> [!TIP]
>
> Windows signs in through Entra ID with no password or PIN. In the Entra admin center under **Entra ID** > **Monitoring & health** > **Sign-in logs**, the user's sign-in shows the certificate under **Authentication Details**, and whether it counted as single-factor or multifactor.

**8. Roll out**

Keep a working password or other sign-in method for each pilot user, and a local administrator account, until the pilot works. Then create a policy for each remaining group (step 2) and add those groups to certificate-based authentication (step 5).

For certificate renewal, revocation, lost phones and limits, see [How certificates work](https://help.allthenticate.com/windows/entra/certificate-lifecycle.md).

## Fix tenant check results

| Check | Message | What to do |
| - | - | - |
| Microsoft Entra ID integration | `Set up the Microsoft Entra ID integration so the tenant can be checked` | Add the **Microsoft SSO** integration under **Integrations**. Without it, users also get no certificates. |
| Microsoft Entra ID integration | `Entra ID refused the integration's app credentials; update its client secret` | The app registration's client secret expired or changed. Create a new one in Entra ID and update the integration. |
| CA certificate uploaded | `Upload the CA certificate in the Entra admin center under Entra ID → Security → Certificate authorities` | Do step 4 with the file from **Entra ID CA Certificate**. An upload of a different CA doesn't count. |
| CA certificate uploaded | `Not found in the stores that could be read. Grant the app registration …` | Grant the named permission (`PublicKeyInfrastructure.Read.All` or `Organization.Read.All`) with admin consent, then check again. |
| CRL URL set on the CA | `Set the CA's CRL URL to … (currently …)` | Edit the uploaded CA in Entra ID and set its CRL URL to exactly the URL shown. |
| Certificate-based authentication enabled | `Enable Certificate-based authentication under Entra ID → Authentication methods → Policies` | Do step 5. |
| Username binding | `Add a username binding from PrincipalName to userPrincipalName (currently …)` | Under **Certificate-based authentication** > **Configure** > **Username binding**, add or edit the rule so **PrincipalName** binds to **userPrincipalName**, then **Save**. |
| Users enabled for certificate-based authentication | `Add a group to Certificate-based authentication`, or `N of M users with an Entra ID policy cannot use certificate-based authentication: …` | Include the listed users' groups on the method's **Include** tab, and remove them from any **Exclude** group. |
| CRL validation required (recommended) | `Turn on Require CRL validation`, or `Remove the CA from the CRL validation exemptions` | Do as it says. Until then, Entra ID accepts revoked certificates. |
| Any check | `Grant the app registration <permission>` | Add that Microsoft Graph application permission and grant admin consent. |
| Any check | `Graph answered <code> (…); check again later` | Microsoft Graph had a temporary problem. Check again later. |

## Other problems

> [accordion] A request shows: No Entra ID user is synced to \<email>
>
> The full message is `No Entra ID user is synced to <email>; Entra ID certificates need the organization's Microsoft Entra ID integration`. The Microsoft SSO integration hasn't synced that user, or synced them with a different address. Fix the integration's group selection, wait for its next sync, then select **Retry** on the error.

> [accordion] No request appears for a user
>
> The phone has to be online with the app open, the user has to be an active member of the policy's group, and the integration has to have synced them.

> [accordion] No Allthenticate tile on the sign-in screen
>
> Check that the computer is Entra ID-joined (`dsregcmd /status`), that the phone is connected, and that the request shows **Certificate Distributed**. A computer joined to no directory gets no certificate tile.

> [accordion] The tile appears, but Windows refuses the sign-in
>
> Run **Check tenant setup** again. A failing required check, most often the username binding or the users included in certificate-based authentication, makes Entra ID refuse the certificate. If every check passes, confirm the users' domain isn't federated and that the Windows version is supported.

> [accordion] Users sign in to Windows, then get asked for MFA in Microsoft 365
>
> Entra ID is counting the certificate as single-factor. Add the authentication binding rule in step 5. If a Conditional Access policy uses a custom authentication strength, add **Certificate-based authentication (multifactor)** to it.

For anything else, email [help@allthenticate.com](mailto:help@allthenticate.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.