Skip to main content
ConfigMgr / MECMdecimal -2016411134

Fix Intune Error 0x87D00202

The Configuration Manager client service was shutting down while the app action ran, so the deployment could not complete.

Open the log below first. It is the quickest way to confirm which of the causes applies before you change anything.

CcmExec.log

Folder: C:\Windows\CCM\Logs\

Also check: AppEnforce.log · AppDiscovery.log

Root causes

  • The SMS Agent Host service stopped or restarted while the deployment was running, for example during a client restart or a service crash.
  • The client is being reinstalled or repaired, so the service is briefly unavailable when the deployment runs.
  • A restart pending from another install or update stops the service mid-deployment.

Step-by-step remediation

  1. On the device open CcmExec.log and confirm the SMS Agent Host service stopped around the failure time.
  2. Check the SMS Agent Host service is running (services.msc, or Get-Service CcmExec) and restart it if it is stopped.
  3. If the service stops again, look for the reason in CcmExec.log and check for a pending restart or a client reinstall in progress.
  4. Once the service is stable, run the Machine Policy Retrieval cycle and retry the deployment on a pilot device.