So just recently at my customer we were seeing random failures in one of our environments with imaging. After checking the smsts.log we noticed a failure “Failed to wait for ccmexec service to be fully operational” on each of the application installation steps after the Setup Windows and ConfigMgr step. A quick workaround to get my customer going while i can research this further and identify if this is indeed a known bug or needs a case opened was to place a Start-Sleep command in directly after the Setup Windows and ConfigMgr step. This allows the client to fully initialize and work as expected. Below is the command and a screenshot for anyone that might find this useful.
Type: Run Command Line
Name: Initialize ConfigMgr Client
Description: Pause to allow the ConfigMgr Client to fully initialize.
Command Line: Powershell.exe -ExecutionPolicy Bypass -Command “Start-Sleep -s 120”