IntuneHow-to

Intune SCEP with third-party CAs (DigiCert, Entrust, Sectigo, SCEPman): setup and errors

Issue Intune SCEP certificates from DigiCert, Entrust, GlobalSign, Sectigo, SCEPman or another partner CA: the Entra app, profiles, challenge validation, Wi-Fi/VPN linkage and errors.

When a partner certification authority such as DigiCert, Entrust, GlobalSign, Sectigo or SCEPman issues your device certificates, Intune still runs the SCEP profile, but there's no NDES server or Certificate Connector in the path. Instead, the partner's SCEP server asks Intune to validate every request. In this post I'll set up that trust end to end, link it to Wi-Fi and VPN profiles, and show where to look when a certificate isn't issued.

Errors this guide fixes

  • IntuneScepServiceExceptionThird-party SCEP server log
  • AADSTS7000215: Invalid client secret provided.Third-party CA log (Entra token request)+1 more guide
  • AADSTS7000222: The provided client secret keys for app '...' are expired.Third-party CA log (Entra token request)
  • AADSTS700016: Application with identifier '...' was not found in the directoryThird-party CA log (Entra token request)
How this guide is organised: How it works → Prerequisites → Step-by-step → Verify → Errors and what they mean → Tips and gotchasFlow diagram of the article's sections in reading order: 1. How it works. 2. Prerequisites. 3. Step-by-step (5 steps: Register the app the CA will use; Configure the partner CA; Deploy the trust chain; Create the SCEP certificate profile; Link Wi-Fi and VPN profiles). 4. Verify. 5. Errors and what they mean. 6. Tips and gotchas. Toolbox: AADSTS7000215, AADSTS7000222, AADSTS700016, certlm.msc, certmgr.msc.1How it works2Prerequisites3Step-by-step1Register the appthe CA will use2Configure thepartner CA3Deploy the trustchain4Create the SCEPcertificate profile5Link Wi-Fi and VPNprofiles4Verify5Errors and what they mean6Tips and gotchasTOOLBOXAADSTS7000215AADSTS7000222AADSTS700016certlm.msccertmgr.mscHow this guide is organised: How it works → Prerequisites → Step-by-step → Verify → Errors and what they mean → Tips and gotchasFlow diagram of the article's sections in reading order: 1. How it works. 2. Prerequisites. 3. Step-by-step (5 steps: Register the app the CA will use; Configure the partner CA; Deploy the trust chain; Create the SCEP certificate profile; Link Wi-Fi and VPN profiles). 4. Verify. 5. Errors and what they mean. 6. Tips and gotchas. Toolbox: AADSTS7000215, AADSTS7000222, AADSTS700016, certlm.msc, certmgr.msc.1How it works2Prerequisites3Step-by-step1Register the app the CA will use2Configure the partner CA3Deploy the trust chain4Create the SCEP certificate profile5Link Wi-Fi and VPN profiles4Verify5Errors and what they mean6Tips and gotchasTOOLBOXAADSTS7000215AADSTS7000222AADSTS700016certlm.msccertmgr.msc
At a glance: how this guide is organised · 5 steps · 5 key settings and tools

How it works#

  1. When a device with an assigned SCEP profile checks in, Intune creates a unique, encrypted and signed challenge holding the expected subject, SAN and an expiry time.
  2. The device creates a key pair and a certificate signing request (CSR) and sends both CSR and challenge to the partner's SCEP URL.
  3. The partner's server passes both to Intune through Microsoft's open-source Intune SCEP API (the Microsoft/Intune-Resource-Access repository on GitHub).
  4. Intune checks that the signature is valid, the challenge is active and unexpired, the profile is still assigned to the device, and the CSR matches what it expected.
  5. Only if validation succeeds does the CA issue the certificate. It then reports success (thumbprint, serial number, expiry, issuer) or failure back to Intune.

Microsoft's partner list currently names AWS Private Certificate Authority, Cogito Group, DigiCert, EasyScep, EJBCA, Entrust, EverTrust, GlobalSign, HID Global, IDnomic, Keyfactor Command, KeyTalk, Keytos, Nexus Certificate Manager, SCEPman, Sectigo, SecureW2, Splashtop and Venafi.

Prerequisites#

  • A CA product on Microsoft's list, or one its vendor confirms supports Intune SCEP validation.
  • Rights to register an application and grant admin consent in Microsoft Entra ID.
  • An HTTPS SCEP URL if you target Android Enterprise (device owner, corporate-owned work profile or personally-owned work profile).
  • The partner's root certificate, and any issuing CA certificates, exported as .cer files.

Step-by-step#

1. Register the app the CA will use#

  1. In the Microsoft Entra admin center or the Azure portal, open App registrations › New registration. Give it a clear name, choose Accounts in any organizational directory, keep Web for the redirect URI and enter the sign-on URL your CA vendor specifies.
  2. Copy the Application (client) ID.
  3. Under Certificates & secrets, create a client secret and copy its Value immediately. It's shown only once, and the Secret ID next to it is not the secret.
  4. Under API permissions, add Intune › Application permissions › scep_challenge_provider (SCEP challenge validation), then Microsoft Graph › Application permissions › Application.Read.All, and select Grant admin consent.

The CA needs three values: the application ID, the secret value and your tenant ID. Microsoft's example uses the name.onmicrosoft.com form; use whatever format your vendor asks for.

2. Configure the partner CA#

Enter those values in the CA's Intune integration settings, set up the certificate template or profile behind the SCEP endpoint (key usage, Client Authentication EKU, validity) and note the SCEP server URL it gives you. Its logs will be your main diagnostic later.

3. Deploy the trust chain#

In the Intune admin center go to Devices › Manage devices › Configuration › Create › New policy, pick the platform and the Trusted certificate template, and upload the partner's root certificate. Add another trusted certificate profile for an issuing CA if your vendor's chain needs it on the device.

4. Create the SCEP certificate profile#

Same path, SCEP certificate template. The settings that matter most here:

SettingWhat to set
Certificate typeUser or Device, matching the groups you assign to
Subject name and SANFor example CN={{UserPrincipalName}} with a UPN SAN for user certificates, or CN={{AAD_Device_ID}} for device certificates. These values are sent to the third-party CA.
Key usage, key size, hash, EKUMust be allowed by the CA's template; Client Authentication (1.3.6.1.5.5.7.3.2) for Wi-Fi and VPN
Root CertificateThe trusted certificate profile from step 3
SCEP Server URLsThe partner's URL (HTTPS for Android Enterprise)

Assign the trusted certificate profile and the SCEP profile to the same groups.

In an EAP-TLS Wi-Fi profile or a certificate-based VPN profile, pick the SCEP profile as the client certificate and the trusted certificate profiles for server validation. If the RADIUS or VPN server's certificate comes from another CA, deploy that root too; the server itself must trust the partner CA's chain. Intune installs a linked Wi-Fi or VPN profile only after the certificate is on the device, so a Pending Wi-Fi profile usually means the SCEP profile hasn't finished (see this certificate chain guide; for third-party VPN clients, this one).

Verify#

  • Intune: the trusted certificate, SCEP and Wi-Fi/VPN profiles show Succeeded for a test device, and the certificate is listed in the admin center once the CA has sent its success notification.
  • Windows: in Event Viewer › Applications and Services Logs › Microsoft › Windows › DeviceManagement-Enterprise-Diagnostics-Provider › Admin, the log records the SCEP policy arriving and the certificate request; Microsoft's SCEP delivery guide says a successful install is event 39, SCEP: Certificate installed successfully. In certlm.msc (device) or certmgr.msc (user) the issuer must be the partner CA and the subject and SAN must match the profile.
  • Apple: on iOS/iPadOS the certificate appears in the management profile under Settings › General › VPN & Device Management; on a Mac, Keychain Access shows device certificates in the System keychain and user certificates in the login keychain.
  • Android Enterprise: installation is silent; use a certificate viewer app to confirm it.
  • The CA: its log shows a successful Intune validation and an issued certificate for the same request.

Errors and what they mean#

ErrorWhereMeaning and fix
IntuneScepServiceExceptionCA / SCEP server logIntune rejected the validation, and the CA must not issue. The exception details say why: bad signature, expired challenge, profile no longer assigned to the device, or a CSR that doesn't match. Confirm the assignment, sync the device for a fresh challenge and compare subject and SAN with the profile.
AADSTS7000215: Invalid client secret provided.CA log (token request)The CA sends a wrong secret, for example the Secret ID instead of the Value. Create a new secret and update the CA. An expired secret shows as AADSTS7000222: The provided client secret keys for app '...' are expired. instead; the fix is the same.
AADSTS700016: Application with identifier '...' was not found in the directoryCA log (token request)Wrong application ID or tenant ID in the CA, or the app registration was deleted. Recheck the three values.
Authorization failure when the CA calls IntuneCA logscep_challenge_provider or Application.Read.All is missing, or admin consent wasn't granted.

Tips and gotchas#

  • Plan for secret expiry. When the client secret lapses, the CA can no longer validate requests, so new and renewing devices stop getting certificates. Note the date, rotate early and update the key in the CA; see managing expiring app secrets.
  • Revocation depends on the vendor. After a device is unenrolled or wiped, Intune removes the certificate from it and queues it for revocation; whether the CA actually revokes it depends on the vendor's implementation.
  • Prefer a Microsoft-hosted CA? See Microsoft Cloud PKI for Wi-Fi and VPN.

References#

Revision history: Oct 2026 — re-checked against Microsoft Learn and the vendors' documentation: 1 correction; 1 detail reworded or labelled as reported by admins.

Written and checked against current Microsoft Learn documentation and the vendor documentation linked in the references. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

Intune Subject Matter Expert in Cairo, Egypt, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)