However, after you renew the certificate of any root certification authority (CA) or issuing CA, SCEP certificate deployment fails, then this post will help you resolve it. There are multiple ways to find out if the error has occurred:

Deployment status in the Intune portalOn the Windows 10 device, event 32 and 307 are logged in Admin logs.Event 30 is logged in CAPI2 log,

The reason behind that the certificates are because certificates that are issued CA still refer to the old CA certificate. This, in return, results in an error as they are no longer trusted.

SCEP deployment to Windows 10 devices fails after you renew the CA certificate

NDES ( Network Device Enrollment Service) is a service from Microsoft which allows devices running without domain credentials to obtain certificates based on the SCEP. According to Microsoft, you need to reinstall both the NDES server role and Microsoft Intune Connector on the NDES server. During the reinstallation,  certificates will be reissued, and the issue will be resolved. The reinstallation method is a three-step process that includes installing the NDES server, configuring the NDES server, and creating the SCEP profile in the Intune portal. During the installation,  NDES will perform the following steps to get the certificate.

Generates and provides one-time enrollment passwords to administratorsSubmits enrollment requests to the CARetrieves enrolled certificates from the CA and forward them to the network device.

It is interesting to note that the problem is specific to Windows devices and does not happen on Android and iOS devices. So if you have a problem, all you need to do is reinstall them, it will resolve itself.

SCEP deployment to Windows 10 fails after you renew CA certificate - 74SCEP deployment to Windows 10 fails after you renew CA certificate - 10