SOLVED

SCCM Client Deployment detection failing

%3CLINGO-SUB%20id%3D%22lingo-sub-1502910%22%20slang%3D%22en-US%22%3ESCCM%20Client%20Deployment%20detection%20failing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1502910%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20All.%26nbsp%3B%20I'm%20using%20Intune%20with%20AutoPilot%2C%20and%20I've%20gotten%20everything%20working%20well%2C%20even%20HAADJ%20over%20VPN.%20(Thanks%20for%20the%20VPN%20support!!!)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20only%20problem%20I%20seem%20to%20be%20having%20at%20the%20moment%20is%20that%20I'm%20deploying%20the%20SCCM%20client%20via%20Intune%20in%20the%20User%20Scope%2C%20and%20it%20installs%20fine.%26nbsp%3B%20Intune%20recognizes%20that%20the%20device%20is%20now%20being%20co-managed%2C%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20no%20matter%20what%20I've%20tried%2C%20the%20detection%20rule%20for%20the%20SCCM%20client%20continues%20to%20fail%2C%20marking%20it%20as%20a%20failed%20deployment.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20tried%20MSI%20using%20the%20Product%20GUID%2C%20detecting%20the%20ccmexec.exe%20with%20Version%2C%20a%20custom%20detection%20rule%20that%20looks%20for%20various%20files%2Ffolders%2Fregistry%20keys%2C%20but%20nothing%20will%20identify%20the%20deployment%20of%20the%20client%20as%20successful.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20client%20is%20deployed%20as%20a%20Win32%20app.%26nbsp%3B%20The%20Windows%20version%20is%201909.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20reviewed%20the%20Intune%20Management%20Extension%20logs%2C%20and%20other%20than%20saying%20that%20the%20detection%20rule%20failed%2C%20I%20don't%20see%20anything%20else%20helpful.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%20would%20be%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1502910%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1503004%22%20slang%3D%22en-US%22%3ERe%3A%20SCCM%20Client%20Deployment%20detection%20failing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1503004%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F306136%22%20target%3D%22_blank%22%3E%40relRGB%3C%2FA%3E%26nbsp%3BHi%2C%20I'm%20struggeling%20with%20the%20same%20problem%20but%20I%20am%20not%20even%20that%20far%20I%20think.%3C%2FP%3E%3CP%3EI%20receive%20receive%20errors%20regarding%20AAD%20token%20request%20failed%20when%20I%20want%20to%20install%20using%20Winapp32.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMay%20I%20ask%20which%20method%20and%20command%20line%20you%20are%20using%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1504077%22%20slang%3D%22en-US%22%3ERe%3A%20SCCM%20Client%20Deployment%20detection%20failing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1504077%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F668551%22%20target%3D%22_blank%22%3E%40Matthias_Hei%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F306136%22%20target%3D%22_blank%22%3E%40relRGB%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHi%2C%20we%20had%20the%20same%20issue.%20We%C2%B4re%20using%20an%20regkey%20as%20detection.%20I%C2%B4ve%20attached%20a%20PDF%20how%20we%20do%20it%20(german).%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHope%20that%20helps.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUpdate%3A%20cant%20upload%20files.%20I%20will%20send%20both%20of%20you%20an%20link.%3C%2FP%3E%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ETim%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1505187%22%20slang%3D%22en-US%22%3ERe%3A%20SCCM%20Client%20Deployment%20detection%20failing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1505187%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F668551%22%20target%3D%22_blank%22%3E%40Matthias_Hei%3C%2FA%3E%26nbsp%3BI%20got%20the%20command%20line%20from%20the%20SCCM%20Console.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGo%20to%20Administration%2FCloud%20Services%2FCo-management%3C%2FP%3E%3CP%3ERight-click%20on%20CoMgmtSettingsProd%3C%2FP%3E%3CP%3EChoose%20Properties%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20the%20Enablement%20tab%2C%20you%20can%20see%20at%20the%20bottom%20of%20the%20screen%20the%20command%20line%20arguments%20to%20use%20to%20install.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1506042%22%20slang%3D%22en-US%22%3ERe%3A%20SCCM%20Client%20Deployment%20detection%20failing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1506042%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F306136%22%20target%3D%22_blank%22%3E%40relRGB%3C%2FA%3E%26nbsp%3BTry%20to%20use%20a%20key%20under%26nbsp%3B%3CSPAN%3ERegistry%20HKEY_LOCAL_MACHINE%5CSOFTWARE%5CMicrosoft%5CCCMSetup%3C%2FSPAN%3E%3CBR%20%2F%3EOther%20keys%20like%20CCM%20are%20not%20yet%20available%20at%20the%20moment%20the%20detection%20is%20performed%2C%20they%60re%20added%20short%20after%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1620249%22%20slang%3D%22en-US%22%3ERe%3A%20SCCM%20Client%20Deployment%20detection%20failing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1620249%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F3194%22%20target%3D%22_blank%22%3E%40Peter%20Klapwijk%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20ever%20get%20this%20working.%20I%20am%20still%20having%20the%20same%20issue.%20It%20installs%2C%20but%20indicates%20failure%20on%20every%20detection%20type.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1620251%22%20slang%3D%22en-US%22%3ERe%3A%20SCCM%20Client%20Deployment%20detection%20failing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1620251%22%20slang%3D%22en-US%22%3EDid%20you%20figure%20it%20out.%20I%20am%20still%20having%20the%20issue.%20The%20client%20installs%2C%20but%20always%20detected%20as%20failed.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1621477%22%20slang%3D%22en-US%22%3ERe%3A%20SCCM%20Client%20Deployment%20detection%20failing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1621477%22%20slang%3D%22en-US%22%3EI%20found%20another%20blog%20that%20explained%20why%20the%20detection%20methods%20dont%20work.%20I%20run%20ccmsetup%20%2Fnoservice%20and%20it%20works%20great.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1622382%22%20slang%3D%22en-US%22%3ERe%3A%20SCCM%20Client%20Deployment%20detection%20failing%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1622382%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242855%22%20target%3D%22_blank%22%3E%40Ronald%20Lawrimore%3C%2FA%3E%26nbsp%3BFor%20reference%20for%20other%20users%20who%20read%20this%2C%20here%20is%20a%20post%20with%20that%20information%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsecureinfra.blog%2F2020%2F06%2F10%2Fdeploy-configuration-manager-client-through-intune-namely-autopilot%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsecureinfra.blog%2F2020%2F06%2F10%2Fdeploy-configuration-manager-client-through-intune-namely-autopilot%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello, All.  I'm using Intune with AutoPilot, and I've gotten everything working well, even HAADJ over VPN. (Thanks for the VPN support!!!)

 

The only problem I seem to be having at the moment is that I'm deploying the SCCM client via Intune in the User Scope, and it installs fine.  Intune recognizes that the device is now being co-managed, etc.

 

However, no matter what I've tried, the detection rule for the SCCM client continues to fail, marking it as a failed deployment.

 

I've tried MSI using the Product GUID, detecting the ccmexec.exe with Version, a custom detection rule that looks for various files/folders/registry keys, but nothing will identify the deployment of the client as successful. 

 

The client is deployed as a Win32 app.  The Windows version is 1909.

 

I've reviewed the Intune Management Extension logs, and other than saying that the detection rule failed, I don't see anything else helpful.

 

Any ideas would be appreciated.

8 Replies

@relRGB Hi, I'm struggeling with the same problem but I am not even that far I think.

I receive receive errors regarding AAD token request failed when I want to install using Winapp32.

 

May I ask which method and command line you are using?

 

@Matthias_Hei

@relRGB 

 

Hi, we had the same issue. We´re using an regkey as detection. I´ve attached a PDF how we do it (german).

 

Hope that helps.

 

Update: cant upload files. I will send both of you an link.

BR

Tim

@Matthias_Hei I got the command line from the SCCM Console.

 

Go to Administration/Cloud Services/Co-management

Right-click on CoMgmtSettingsProd

Choose Properties

 

On the Enablement tab, you can see at the bottom of the screen the command line arguments to use to install.

 

@relRGB Try to use a key under Registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CCMSetup
Other keys like CCM are not yet available at the moment the detection is performed, they`re added short after that.

@Peter Klapwijk 

 

Did you ever get this working. I am still having the same issue. It installs, but indicates failure on every detection type.

Did you figure it out. I am still having the issue. The client installs, but always detected as failed.
I found another blog that explained why the detection methods dont work. I run ccmsetup /noservice and it works great.
best response confirmed by mobazzari (Microsoft)
Solution

@Ronald Lawrimore For reference for other users who read this, here is a post with that information https://secureinfra.blog/2020/06/10/deploy-configuration-manager-client-through-intune-namely-autopi...