,

Microsoft Cloud PKI in Intune: SCEP Certificates for Managed Endpoints

Platforms
Windows 11macOSiOS/iPadOSAndroid
Products
IntuneMicrosoft Cloud PKI
Result
Every managed device gets a certificate for Wi-Fi, VPN and app sign-in, with no on-premises PKI servers to run
Microsoft Cloud PKI cover: a cloud with certificates sends certificates to a Windows laptop, a Mac, an iPad, an iPhone and an Android phone for Wi-Fi, VPN, 802.1X LAN and app sign-in

Overview

Microsoft Cloud PKI runs a complete two-tier certificate authority inside Intune. The Root CA, the Issuing CA, the SCEP service, the CRL and the reports run as a service, so there is no server to install, patch or publish to the internet. Since July 2026 it’s included in Microsoft 365 E5 and E7. This guide builds the whole chain and delivers device certificates to Windows 11, macOS, iOS/iPadOS and Android Enterprise, with one subject and SAN pattern on every platform.

Microsoft Cloud PKI is a certificate authority that Microsoft runs for you inside Intune:

  • No servers: the CAs, the SCEP service, and the CRL and AIA endpoints run in Intune. There is nothing to install, patch or publish to the internet.
  • Two-tier CA: a Root CA and an Issuing CA, created in the Intune admin center, with keys in an Azure Managed HSM.
  • Standard SCEP profiles: devices get trusted certificate profiles and a SCEP certificate profile, like any SCEP certificate in Intune. The SCEP URL points to the Cloud PKI Issuing CA.
  • Built-in CRL and reports: Intune shows active, expired and revoked certificates in one place.
  • Bring your own CA: an Issuing CA in Cloud PKI can also chain to your existing Root CA, for example AD CS.

How Cloud PKI issues a certificate

Cloud PKI has two parts: the Cloud PKI service with the Root and Issuing CA, and a registration authority with a SCEP service and a SCEP validation service. Intune only delivers the profiles:

Microsoft Cloud PKI architecture: Intune delivers the profiles, the device sends a CSR to the SCEP service, the validation service checks it, the Issuing CA signs the certificate and the SCEP service returns it to the device
  1. The device checks in and receives the trusted certificate profiles and the SCEP certificate profile.
  2. The device creates the key pair and a certificate signing request (CSR), and sends it with the SCEP challenge to the SCEP URI. The private key never leaves the device.
  3. The SCEP validation service checks the CSR against the challenge: the request has to come from an enrolled device and match the profile.
  4. The validation service asks the Issuing CA to sign the CSR.
  5. The signed certificate goes back to the device.

Feature status (November 2026)

Feature Status Source
Cloud PKI Root CA and Issuing CA GA Overview
Bring your own CA (Issuing CA chained to your Root CA) GA BYOCA
Issuing CA renewal with a staged test URI GA Renew a CA
Revocation check with OCSP No No OCSP URL in AIA
ECC keys No Overview

Revocation works only through the CRL. The CRL is valid for seven days and is republished every 3.5 days and after every revocation, so a RADIUS server or VPN gateway can accept a revoked certificate until it downloads the new CRL. Keys are RSA only, with 2048, 3072 or 4096 bits.

Design decisions before you configure

Plan around these limits before you create the first CA:

Limit What it means for you
A CA can’t be edited EKU, key size, hash and validity are final once the CA exists.
Three CAs per tenant Root, Issuing and BYOCA Issuing CAs count together, so a second Root and Issuing CA don’t fit next to the first pair.
Windows TPM 4096-bit keys work only with the software key provider, where the key can be exported. This guide keeps a 2048-bit key in the TPM.
WPA3-Enterprise Compatible. No special certificate rules, so this SHA-512 chain meets the requirements. On Windows, deploy the Wi-Fi profile as imported XML, because the Intune template has no WPA3 option.
WPA3-Enterprise 192-bit Not per specification. The spec requires SHA-384 and RSA 3072 bits or more on every certificate. Some RADIUS servers accept other chains, so test with yours.
Trial A CA created during an Intune Suite or Cloud PKI trial has software keys, so treat it as a test CA.

These are the choices this guide makes:

Cloud PKI chain with design decisions: Root CA with HSM keys, Client authentication, RSA-4096 and SHA-512 for 25 years; Issuing CA inherits key and EKU, valid 4 years; SCEP profiles use the Entra device ID, 1 year, RSA-2048 in the TPM on Windows and RSA-4096 on macOS, iOS/iPadOS and Android

Every variable in the subject name must exist on the Entra user or device object, otherwise the certificate isn’t issued.

Why 2048 in the TPM and not 4096 on Windows. Windows can use a 4096-bit key only with the software key storage provider. The TPM and Windows Hello for Business don’t support it. A key in software can be copied off the device by anyone with admin rights or malware running as an admin. A key created in the TPM is marked as not exportable and never leaves the chip, so the certificate can’t be used on another device. A 2048-bit key that can’t be stolen protects Wi-Fi and VPN access better than a 4096-bit key that can.

Why the Entra device ID in the SAN and not the device name. RADIUS servers and VPN gateways usually match the DNS name in the SAN, not the subject, so the SAN has to be there and has to stay right:

  • The device name isn’t always a valid DNS name. A Mac is called “User’s MacBook Pro” out of the box. With {{DeviceName}} in the SAN, the Mac got a certificate with no SAN at all.
  • The device name changes. Companies rename devices, on macOS usually with a script, because a naming template applies only when a device enrolls as new. The SAN keeps the old name until the certificate renews.
  • The order isn’t guaranteed. The certificate can arrive during enrollment, before the rename script runs, and then carries the factory name.
  • The Entra device ID fits every case. It is unique, never changes, uses only letters, digits and hyphens, so one SAN pattern and one rule on the RADIUS server cover every platform.

Why only Client Authentication on the Root CA. The Issuing CA and every SCEP profile can only use EKUs that the Root CA has, and you can’t add one later. There are two ways to choose:

  • Choice A: Only what you use now (this guide). The certificates sign devices in to Wi-Fi and VPN, which needs Client Authentication and nothing else. A Root CA with one EKU can’t be used to issue certificates for any other purpose.
  • Choice B: Every EKU you might need later. You avoid building a new chain when a new use case comes up, at the cost of a broader Root CA. Any Purpose is blocked either way.

If you later need an EKU the Root CA doesn’t have, you need a new Root CA and Issuing CA. That pair doesn’t fit next to the old one under the limit of three CAs, so you retire the old chain first.

Apart from the key size, every SCEP profile in this guide uses the same settings:

Setting This guide Why
Certificate type Device Works before sign-in and on shared devices
Validity and renewal 1 year, renew at 20% 20% is the recommended threshold, renewal starts with about 73 days left
Key usage Digital signature, Key encipherment Allows key exchange with a signed or an encrypted key
Extended key usage Client Authentication The only EKU the Issuing CA has
SCEP server URL One URI from the Issuing CA Never mix two PKIs in one profile
Assigned to Device groups The same groups as the trusted certificate profiles

What Cloud PKI doesn’t replace

Cloud PKI issues SCEP certificates to devices enrolled in Intune, and nothing else. Keep the certificate connector or another PKI for:

  • PKCS and imported PFX certificates, for example S/MIME encryption keys.
  • Server certificates for RADIUS, VPN gateways, web servers and domain controllers.
  • Devices that aren’t enrolled in Intune, including devices with app protection policies only.

Prerequisites

Before you start, check that you have the following. Learn still lists older Windows versions, but Windows 10 is out of support, so this guide covers Windows 11 only.

What you need

checked 11/2026

Area What you need Docs
Licence Microsoft 365 E5 or E7: Included since July 2026.
Microsoft 365 E3, Intune Plan 1 or Plan 2: Not included, add Intune Suite or Cloud PKI.
Trial: 90 days, up to 250 users.
Trial
Admin role Intune Administrator, or a custom Intune role with Read CAs, Create certificate authorities and Revoke issued leaf certificates. Roles
Device Windows 11, macOS, iOS/iPadOS or Android Enterprise, enrolled in Intune. App protection only isn’t enough. Requirements
Entra ID Every attribute used in the subject name, such as the email address, is filled in on the user or device object. SCEP profile
CA capacity Two free CA slots out of three: one Root CA and one Issuing CA. Limits
Network Devices reach the Intune endpoints. RADIUS servers and VPN gateways reach the Cloud PKI CRL and trust both CA certificates. Endpoints

Configuration

We build the chain from the top down. The Root CA comes first, because the Issuing CA is signed by it. The Issuing CA comes next, because it signs the device certificates and gives us the SCEP URI. Devices must trust both CA certificates before they accept a certificate signed by them, so the trusted certificate profiles go out before the SCEP profiles. The SCEP profiles come last, one per platform.

Create the Root CA

Go to Tenant administration > Cloud PKI and select Create. On Basics, give the CA a name that matches its common name, for example Hmaslowski Cloud Root CA.

Cloud PKI list in the Intune admin center with the Create button, the Root CA and the Issuing CA with their issuance and expiration dates

On Configuration settings:

Root CA configuration with CA type, validity period, HSM CA keys and Extended Key Usages
  1. CA type: Root CA.
  2. Validity period: 25 years, the maximum. When a Root CA expires, you build a new chain and new profiles.
  3. CA keys: Hardware security module (HSM). The wizard selects Software keys by default.
  4. Extended Key Usages: Client authentication. This is the choice that matters most here: you can’t add an EKU later, and the Issuing CA and every SCEP profile can only use the EKUs you select now.

Scroll down to the subject and the key:

Key size and algorithm list with RSA-4096 and SHA-512 selected for the Root CA
  1. Common name (CN): required. I also added Organization (O) IT Consulting HM and Country (C) Poland.
  2. Key size and algorithm: RSA-4096 and SHA-512.

Check everything on Review + create before you select Create. The banner on that page says it plainly: a CA can’t be edited after it’s created.

Review and create page with the banner that a CA can't be edited after it is created

The Root CA appears in the list with the status Active after a few seconds.

Create the Issuing CA

In Tenant administration > Cloud PKI, select Create again and name the CA, for example Hmaslowski Cloud Issuing CA. On Configuration settings:

Issuing CA configuration with CA type Issuing CA, Root CA source Intune and the Root CA selected
  1. CA type: Issuing CA.
  2. Root CA source: Intune.
  3. Root CA: the Root CA you just created. If the list shows No matching CAs found, close the wizard, reload the page and start again: a Root CA created in the same browser session doesn’t show up until the page reloads.
  4. Validity period: 4 years. An Issuing CA can be renewed in place once it reaches half of its validity, without changing the SCEP profiles.
  5. CA keys: HSM, the same as the Root CA.
Extended Key Usages list of the Issuing CA with only Client authentication available

In Extended Key Usages only the EKUs of the Root CA can be selected, so Client authentication is the only option here. Fill in the same subject attributes as on the Root CA.

Key size and algorithm of the Issuing CA greyed out and inherited from the Root CA

Key size and algorithm is greyed out: the Issuing CA inherits RSA-4096 and SHA-512 from the Root CA. Review and create the CA.

Open the Issuing CA. Its Properties page has the two things the profiles need:

Issuing CA properties with the CRL and AIA endpoints, the SCEP URI and the Download button for the CA certificate
  1. SCEP URI: copy it for the SCEP profiles. Leave the {{CloudPKIFQDN}} placeholder as it is: Intune replaces it on the device.
  2. Download: saves the Issuing CA certificate as a .cer file. Open the Root CA and download its certificate too.

Deploy the Trusted Certificate Profiles

Every device that gets a SCEP profile needs two trusted certificate profiles: one with the Root CA certificate and one with the Issuing CA certificate. Assign them to the same groups as the SCEP profile of that platform. The SCEP profile points to the Root CA profile, and a device without it never gets a certificate.

Go to Devices > Configuration > Create > New policy, pick the platform, set Profile type to Templates and select Trusted certificate.

Upload the .cer file. Windows also asks for the destination store, macOS for the deployment channel:

Windows trusted certificate profile in the Intune admin center with the Root CA .cer file uploaded and Destination store set to Computer certificate store - Root
Windows: Destination store Computer certificate store – Root
macOS trusted certificate profile in the Intune admin center with Deployment Channel set to Device Channel and the Root CA .cer file uploaded
macOS: Deployment Channel Device Channel

Android Enterprise has the Trusted certificate template twice in the list, once per enrollment type, and the two can’t be mixed: a profile from the work profile template doesn’t reach a fully managed device. Check the heading above the template before you select it:

Create a profile pane for Android Enterprise in the Intune admin center with the Trusted certificate template framed in red under the corporate heading and in blue under the Personally-Owned Work Profile heading

Red marks the template for corporate-owned devices (fully managed, dedicated and COPE), blue the one for the BYOD work profile.

Profile Setting Assigned to
Windows Trusted certificate – Cloud PKI Root CA Computer store – Root Windows corporate devices
Windows Trusted certificate – Cloud PKI Issuing CA Computer store – Intermediate Windows corporate devices
macOS Trusted certificate – Cloud PKI Root CA and Issuing CA (2 profiles) Device channel macOS corporate devices
iOS/iPadOS Trusted certificate – Cloud PKI Root CA and Issuing CA (2 profiles) No store to choose iOS/iPadOS corporate devices
Android Enterprise Corporate Trusted certificate – Cloud PKI Root CA and Issuing CA (2 profiles) Corporate template Corporate Android groups
Android Enterprise BYOD Trusted certificate – Cloud PKI Root CA and Issuing CA (2 profiles) Personally owned template BYOD work profile group

That’s ten profiles in total, two per platform and two per Android enrollment type:

Configuration list with the ten Cloud PKI trusted certificate profiles

Create the SCEP Profile for Windows

Go to Devices > Configuration > Create > New policy, select Windows 10 and later, Templates and SCEP certificate. Name it, for example Windows SCEP certificate - Cloud PKI Device.

Windows SCEP profile settings in the Intune admin center: certificate type, subject, DNS SAN, TPM KSP and key size 2048
  1. Certificate type: Device. The certificate identifies the computer, so it works before anyone signs in, for example for Wi-Fi at the sign-in screen.
  2. Subject name format: CN={{AAD_Device_ID}}. The Entra device ID is unique and never changes, unlike the device name.
  3. Subject alternative name: DNS {{AAD_Device_ID}}.hmaslowski.com, the same pattern on every platform.
  4. Key storage provider: Enroll to Trusted Platform Module (TPM) KSP if present, otherwise Software KSP. Key size: 2048, so the key is created in the TPM and can’t be exported.
Windows SCEP profile in the Intune admin center with the Root CA certificate profile, the Any Purpose warning and Client Authentication EKU
  • Root Certificate: Windows Trusted certificate – Cloud PKI Root CA.
  • Extended key usage: Client Authentication (1.3.6.1.5.5.7.3.2). The warning above the field is expected: Any Purpose and Any App Policy can’t be used with Cloud PKI, and an EKU that the Issuing CA doesn’t have breaks the profile.
Windows SCEP profile in the Intune admin center with renewal threshold 20 and the Cloud PKI SCEP server URL
  • Renewal threshold (%): 20, the default. The device renews the certificate when 20% of its validity is left.
  • SCEP Server URLs: the SCEP URI of the Issuing CA, with {{CloudPKIFQDN}} left as it is. Don’t add a second URL from another PKI to the same profile.

Assign the profile to the Windows corporate devices group and create it.

Create the SCEP Profile for macOS

Create a macOS profile from Templates > SCEP certificate, for example macOS SCEP certificate - Cloud PKI Device. Most settings match Windows. These are different:

macOS SCEP profile settings: device channel, subject, DNS SAN and key size 4096
  1. Deployment channel: Device channel, so the certificate goes to the System keychain and is available before sign-in.
  2. Subject name format: CN={{AAD_Device_ID}}, the same as Windows.
  3. Subject alternative name: DNS {{AAD_Device_ID}}.hmaslowski.com, the same as Windows.
  4. Key size: 4096. macOS 11 and later supports it.
macOS SCEP profile with Root CA certificate, EKU, SCEP URL and Allow all apps access to private key
  1. Root Certificate: macOS Trusted certificate – Cloud PKI Root CA.
  2. Extended key usage: Client Authentication. Renewal threshold and SCEP Server URLs: the same as Windows.
  3. Allow all apps access to private key: Not configured. Enable it only when an app that isn’t Apple’s has to use the certificate and can’t get access any other way.

Assign it to the macOS corporate devices group.

Create the SCEP Profile for iOS/iPadOS

Create an iOS/iPadOS profile from Templates > SCEP certificate, for example iOS/iPadOS SCEP certificate - Cloud PKI Device.

Create a profile pane with iOS/iPadOS, Templates and the SCEP certificate template

The settings are the same as on macOS, without the deployment channel:

iOS/iPadOS SCEP profile settings: certificate type, subject, DNS SAN, key usage and key size 4096
  1. Certificate type: Device. The certificate belongs to the iPhone or iPad, not to the user, so it is also valid on shared and userless devices.
  2. Subject name format: CN={{AAD_Device_ID}}.
  3. Subject alternative name: DNS {{AAD_Device_ID}}.hmaslowski.com, the same pattern as Windows and macOS.
  4. Key usage: Digital signature and Key encipherment. Key size: 4096, supported on iOS/iPadOS 14 and later.
  • Root Certificate: iOS/iPadOS Trusted certificate – Cloud PKI Root CA.
  • Extended key usage, Renewal threshold and SCEP Server URLs: the same as Windows.

Assign it to the iOS/iPadOS corporate devices group.

Note: When a Wi-Fi or VPN profile on iOS/iPadOS links to this SCEP profile, the device gets a separate certificate for each linked profile. Several certificates from the same CA on one iPhone are expected.

Create the SCEP Profiles for Android Enterprise

Android Enterprise needs two SCEP profiles, one per enrollment type, the same split as the trusted certificate profiles. Select Android Enterprise and pick SCEP certificate under the right heading:

Create a profile pane for Android Enterprise in the Intune admin center with the SCEP certificate template framed in red under the corporate heading and in blue under the Personally-Owned Work Profile heading
  • Fully Managed, Dedicated, and Corporate-Owned Work Profile (red): Android Enterprise Corporate SCEP certificate - Cloud PKI Device.
  • Personally-Owned Work Profile (blue): Android Enterprise BYOD SCEP certificate - Cloud PKI Device.

The settings are the same in both:

Android Enterprise SCEP profile settings: certificate type, subject, DNS SAN, key size 4096 and hash algorithm
  1. Certificate type: Device.
  2. Subject name format: CN={{AAD_Device_ID}}. On personally owned devices with Android 12 and later, Intune can’t read the serial number or IMEI, so a profile built on those variables fails there. The Entra device ID works on both enrollment types.
  3. Subject alternative name: DNS {{AAD_Device_ID}}.hmaslowski.com, the same pattern as the other platforms.
  4. Key size: 4096.
  5. Hash algorithm: SHA-2.
Android Enterprise corporate SCEP profile with its Root CA certificate profile, EKU, renewal threshold and SCEP URL
  1. Root Certificate: the Root CA profile of the same enrollment type, for example Android Enterprise BYOD Trusted certificate – Cloud PKI Root CA.
  2. Extended key usage: Client Authentication. Renewal threshold and SCEP Server URLs: the same as Windows.

The corporate profile has one more step, Apps. Certificate access decides whether apps need the user’s approval to use the certificate. Keep the default, Require user approval for all apps, unless an app has to use the certificate silently: then choose Grant silently for specific apps and add only that app.

Assign the corporate profile to the corporate Android groups and the BYOD profile to the BYOD work profile group.

Note: For corporate-owned Android devices, Learn lists two limits of SCEP profiles: the certificate report of the profile stays empty, and Intune doesn’t revoke these certificates. Revoke them in the Issuing CA if a device is lost.

Test Results

I checked every platform in two places: the certificate on the device, and the issued certificate in the Intune admin center.

Scenario Where I checked Result
Windows 11 certlm.msc, Personal Pass RSA-2048 in the TPM, SAN = device ID
macOS Keychain Access, System Pass RSA-4096, SAN = device ID
macOS with {{DeviceName}} in SAN Keychain Access, System Fail Certificate without a SAN: “User’s MacBook Pro” has a space and an apostrophe, so it isn’t a valid DNS name
iOS/iPadOS Settings, Management profile Pass RSA-4096, SAN = device ID
Old certificates after a SCEP profile change CRL of the Issuing CA Pass Revoked 73 minutes after reissue, admin center still shows Active
Android Enterprise, personally owned work profile X509 Certificate Viewer Tool in the work profile Pass RSA-4096, subject = device ID

The certificates on all four platforms came from Hmaslowski Cloud Issuing CA, were signed with SHA-512, are valid for one year and carry Client Authentication.

Windows 11

The certificate is in certlm.msc under Personal > Certificates:

Windows certificate General tab issued to the Entra device ID by Hmaslowski Cloud Issuing CA with a private key
Windows certificate Details tab with RSA 2048 public key and the DNS subject alternative name built from the Entra device ID

certlm.msc doesn’t show where the key lives. certutil does. Run it in a terminal started as administrator: the private key of a computer certificate is readable only by SYSTEM and Administrators, so a normal user gets Encryption test FAILED even when everything is fine.

certutil -store -v My

The lines that matter, from WIN11CLIENT01:

Issuer:  CN=Hmaslowski Cloud Issuing CA, O=IT Consulting HM, C=PL
Subject: CN=e05d72dc-c1ce-4932-983e-363fa0d04679
Signature Algorithm: sha512RSA
Public Key Length: 2048 bits
Subject Alternative Name: DNS Name=e05d72dc-c1ce-4932-983e-363fa0d04679.hmaslowski.com
Enhanced Key Usage: Client Authentication (1.3.6.1.5.5.7.3.2)
Provider = Microsoft Platform Crypto Provider
Private key is NOT exportable
Encryption test passed

Microsoft Platform Crypto Provider is the TPM. Together with Private key is NOT exportable, it proves the 2048-bit key was created in the chip and can’t be copied off the device. Encryption test passed shows the key works.

The subject is the Entra device ID of the computer. The same ID is on the device in Intune under Devices > All devices > WIN11CLIENT01 > Hardware, so a certificate always points to exactly one device.

macOS

The certificate is in Keychain Access in the System keychain:

macOS Keychain Access certificate details with the Entra device ID as common name, SHA-512 signature and 4096-bit key
macOS certificate extensions with Client Authentication EKU and the DNS subject alternative name

On the Mac, two more certificates appear in the System keychain next to the device certificate: one whose name ends in _Ra, the registration authority of the Issuing CA, and MDM SCEP SIGNER. Both came with the SCEP profile. The first Mac certificate, issued while the SAN still used {{DeviceName}}, stays in the keychain, revoked, until it expires.

iOS/iPadOS

The certificate is in Settings > General > VPN & Device Management, in the management profile:

iPhone certificate details with the Entra device ID as common name and Hmaslowski Cloud Issuing CA as issuer
iPhone certificate details with the DNS subject alternative name and Client Authentication purpose

Android Enterprise

To read the certificate inside the work profile, I installed the free X509 Certificate Viewer Tool from Managed Google Play. It shows the Entra device ID as the subject, the issuer, the 4096-bit key and the one-year validity:

Android work profile certificate in X509 Certificate Viewer with the Entra device ID as subject name, issued by Hmaslowski Cloud Issuing CA
Android work profile certificate in X509 Certificate Viewer with the issuer subject, an RSA 4096 key and the one-year validity period

Issued certificates in the Intune admin center

  • Issuing CA dashboard: Tenant administration > Cloud PKI, open the Issuing CA. The dashboard counts active, expired and revoked certificates, and View all certificates lists every certificate the CA has issued.
  • All CAs: Devices > Monitor > Certificates lists the issued certificates from every CA in the tenant.
  • Per profile: open the SCEP profile and select Certificates.

The certificate reaches the device within minutes of the check-in, but the reports can take up to 24 hours to show it. Check the device first.

Issued leaf certificates of the Issuing CA in the Intune admin center with revoked and active certificates for the Mac, WIN11CLIENT01, WIN11CLIENT02, HP24, iPhone and Android work profile, including the new WIN11CLIENT02 certificate issued after the manual revoke
Tenant administration > Cloud PKI > Hmaslowski Cloud Issuing CA > Monitor > View all certificates

The old certificates of the Mac and the Windows devices, replaced after a change to the SCEP profile, show as Revoked next to the current ones. WIN11CLIENT02 has three: the one replaced after the profile change, the one revoked by hand, and the new one it got afterwards. The list is a report that Intune updates every 24 hours, so for most of a day the old certificates still showed as Active, and the dashboard counted 0 revoked while the CRL already had four entries.

Revoke a certificate

To revoke a single certificate, for example from a lost device:

  1. Go to Tenant administration > Cloud PKI and open the Issuing CA.
  2. On the Monitor tab, select View all certificates.
  3. Select the certificate, then select Revoke in Leaf certificate properties.
  4. Confirm with Revoke.
Leaf certificate properties in the Intune admin center with the Revoke button framed in red
Revoke certificate confirmation dialog warning that the device stays targeted by the certificate profile and gets a new certificate at renewal

Revoking doesn’t take the device out of the SCEP profile. While the profile is still assigned, the device requests a new certificate at a later check-in and gets one, without any action. A manual sync right after the revoke didn’t trigger it: WIN11CLIENT02 got the new certificate about 4.5 h later. The dialog mentions renewal, but the device doesn’t wait for the renewal threshold. To cut a device off for good, remove it from the SCEP profile assignment first.

To see whether a certificate is really revoked, read the CRL, not the list. Copy the address from CRL distribution point on the Issuing CA Properties page. The CRL is public and needs no sign-in, so a RADIUS server can download it too. On Windows 11, both tools are built in:

curl.exe -o current.crl <CRL distribution point>
certutil -dump current.crl

The lines that matter, for the old WIN11CLIENT01 certificate that Intune revoked after the SCEP profile change:

 ThisUpdate: 11/29/2026 2:38 PM
 NextUpdate: 12/6/2026 2:38 PM
CRL Entries: 4
  Serial Number: 933945e0b44e6f76ca349e4134b6c58b
   Revocation Date: 11/29/2026 2:38 PM
    CRL Reason Code
        Cessation of Operation (5)

On macOS, Terminal has both tools and shows the same list:

curl -o current.crl <CRL distribution point>
openssl crl -inform DER -in current.crl -noout -text

Intune revoked all four old certificates (Mac, WIN11CLIENT01, WIN11CLIENT02 and HP24) 73 minutes after the new ones were issued, with the reason Cessation Of Operation, and published the new CRL 11 seconds later. The list shows the same serial number with a leading 00. So a profile change does revoke the old certificate, as Learn says.

The first CRL address lags. Every certificate lists two CRL distribution points. The first is a CDN that caches the CRL for up to four hours, the second goes straight to the Issuing CA. After the manual revoke on WIN11CLIENT02, the serial number was in the CRL from the second address 11 seconds later, while the CDN served the previous CRL for between one and two hours. Windows used the CDN copy, so during that time certutil -urlfetch -verify still reported the revocation check as passed. To see the current list, download the CRL from the second address.

Once the CDN served the new CRL, the same check on WIN11CLIENT02 reported the certificate as revoked:

CRL 04:
 ThisUpdate: 11/29/2026 10:43 PM
 NextUpdate: 12/6/2026 10:43 PM
Certificate is REVOKED
Leaf certificate is REVOKED (Reason=5)

Common problems

The device never gets a certificate

CauseThe SCEP profile and the trusted certificate profile it links to don’t reach the same object, for example the SCEP profile goes to devices and the Root CA profile only to users. Or Root Certificate in the SCEP profile points to the Issuing CA profile.

FixAssign both profiles to the same groups and select the Root CA profile of the same chain. To check, go to Troubleshooting + support > Troubleshoot and set Assignments to Configuration profiles.

The SCEP profile report shows an error

CauseA variable in the subject name has no value on the Entra user or device object, for example an email address the user doesn’t have. The same happens with an EKU the Issuing CA doesn’t have, or Any Purpose.

FixUse CN={{AAD_Device_ID}}, which always has a value, and only the EKUs of the Issuing CA.

How to check that the SCEP profile reached a Windows device

Open Event Viewer and go to Applications and Services Logs > Microsoft > Windows > DeviceManagement-Enterprise-Diagnostics-Provider > Admin. Event 306 is logged when the SCEP profile arrives. The code 0x2ab0003 means the request was accepted for processing. Any other code points to the problem.

I revoked a certificate and the device got a new one

CauseThe SCEP profile is still assigned. The device requests a new certificate at a later check-in, not at the next manual sync: my test Windows 11 device got it about 4.5 h after the revoke.

FixTake the device out of the SCEP profile assignment, or retire it, and only then revoke what is left.

Which actions revoke a certificate automatically

On Windows, macOS and iOS/iPadOS, Intune revokes and removes the SCEP certificate when the device unenrolls, when you retire it, when it leaves the assigned group, or when you remove the profile assignment. A wipe does the same on Windows and iOS/iPadOS. The certificate stays valid when the user loses the Intune licence or is deleted from Entra ID, so retire the device before you delete the user.

After I edited the SCEP profile, every device got a new certificate

CauseA change to a SCEP profile makes every device request a new certificate at the next check-in. Intune revokes the old ones in the CRL, but the admin center can show them as Active for up to 24 hours.

FixPlan the subject, SAN and key settings before the first assignment, and make changes when a full round of reissue is acceptable.

A revoked certificate still works on Wi-Fi

CauseThe RADIUS server or VPN gateway still uses the CRL it downloaded earlier. The first CRL address in the certificate is a CDN copy that can lag the Issuing CA by a few hours.

FixCount the CDN delay on top of the server’s own CRL cache when you plan how fast a revoke takes effect.

The RADIUS server rejects the device certificate

CauseThe server doesn’t trust the Cloud PKI Root CA and Issuing CA.

FixImport both certificates, the same two .cer files the trusted certificate profiles use. The server’s own certificate has to come from another CA: Cloud PKI issues certificates only to devices enrolled in Intune.

The certificate on the Mac has no SAN

CauseThe SAN uses {{DeviceName}}, and the default name “User’s MacBook Pro” isn’t a valid DNS name.

FixSwitch the SAN to {{AAD_Device_ID}}.yourdomain. The device gets a new certificate at the next check-in.

I can’t delete the Root CA

CauseAn Issuing CA anchored to it still exists.

FixDelete every Issuing CA first, and remove the SCEP profiles before that: revoking an Issuing CA revokes all its active certificates. Pausing can be undone, revoking and deleting can’t.

Summary

Microsoft Cloud PKI provides a two-tier certificate authority as a cloud service in Intune. The Root and Issuing CA reach devices through trusted certificate profiles, and SCEP profiles issue device certificates to Windows 11, macOS, iOS/iPadOS and Android without any on-premises infrastructure. Because CA settings can’t be changed after creation, plan them first: HSM-backed keys, Client authentication as the only extended key usage, RSA-4096 for the Root CA, and a subject and SAN based on the Entra device ID. For device certificates, keep the key in the TPM at 2048 bits on Windows and use 4096 bits on Apple and Android devices.

Sources