How It Works
Intune generates a unique, single-use challenge for each device and seals it inside the SCEP request. Infisical asks Intune to confirm the challenge, issues the certificate, and reports the outcome back to Intune so the certificate appears against the device record. Every step happens inside a single request. Intune has no pending state, so anything that prevents Infisical from issuing immediately is reported to Intune as a failed enrollment rather than left waiting for a later decision.Prerequisites
- A Microsoft Entra ID tenant with Microsoft Intune enabled, and permission to grant admin consent
- An Infisical internal CA and a certificate profile using it
- An Application with that profile attached
- One or more devices enrolled in Intune
Guide
Register an application in Microsoft Entra ID
Collect the Directory (tenant) ID, Application (client) ID, and Client Secret.Create the Microsoft Intune App Connection
Configure SCEP enrollment in Infisical
Add the SCEP enrollment method and set:-
Challenge Type:
Microsoft Intune - Microsoft Intune connection: the connection created above
-
Sign RA certificate with the CA: enabled
Download the CA certificate
cert.pem. Intune’s upload field expects a .cer extension, so rename the file to cert.cer before uploading it.
Create the Trusted certificate profile in Intune
-
In the Microsoft Intune admin center, go to Devices > Configuration and click Create > New Policy.
-
Select your Platform, set Profile type to Templates, then choose Trusted certificate. The screenshots here use macOS, and the same steps apply to Windows and the other platforms.
-
Give the profile a name, for example
Infisical Issuing CA. - On Apple platforms, set Deployment Channel. Select Device Channel to install the certificate for every user on the device, and User Channel only where the certificate must be scoped to a single user. Microsoft’s requirement is that this profile be assigned to the same groups as the SCEP profile, so align the assignments rather than the channels.
-
Upload the
.cerfile from the previous step. - Assign the profile to the device or user groups that will receive certificates, then create it.

Create the SCEP certificate profile in Intune
- Go to Devices > Configuration and click Create > New Policy again.
-
Select the same Platform, set Profile type to Templates, then choose SCEP certificate.
- Set the two values this integration depends on:

Assign and create the profile

Verify certificate issuance
- In Intune, open the SCEP profile and confirm Device and user check-in status reports Succeeded.
- Open the Certificates report on that profile to see each issued certificate with its thumbprint, serial number, and subject.
-
On the device, confirm the certificate is installed. On Windows use
certlm.mscorcertmgr.msc, and on macOS use Keychain Access. -
In Infisical, open your Application and confirm the same certificates appear in the certificate list.
Troubleshooting
Enrollment fails immediately with a validation error
Enrollment fails immediately with a validation error
- The Entra application is missing
scep_challenge_provider, or admin consent was never granted - The client secret has expired
- The request came from a device that Intune does not consider enrolled, or the profile was not actually assigned to it
Enrollment returns a failure even though the challenge was accepted
Enrollment returns a failure even though the challenge was accepted
The device receives a certificate but does not trust it
The device receives a certificate but does not trust it
FAQ
How do certificates renew?
How do certificates renew?
Do I need separate profiles for each device platform?
Do I need separate profiles for each device platform?
Can I change the Deployment Channel on a profile I already deployed?
Can I change the Deployment Channel on a profile I already deployed?
Can one Infisical profile serve both Intune devices and other SCEP clients?
Can one Infisical profile serve both Intune devices and other SCEP clients?