MECM client over CMG

%3CLINGO-SUB%20id%3D%22lingo-sub-1479934%22%20slang%3D%22en-US%22%3EMECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1479934%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20have%20recently%20upgraded%20from%20MECM%201910%20to%202002.%26nbsp%3B%20the%20client%20is%20deploying%20ok%20to%20intranet%20based%20devices%2C%20but%20no%20devices%20on%20CMG%20are%20getting%20the%20new%20client.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EWhere%20do%20I%20go%20to%20troubleshoot%20this%3F%3C%2FP%3E%3CP%3EHow%20can%20I%20force%20an%20install%20to%20a%20cmg%20connected%20device%20to%20test%20if%20that%20part%20works%3F%3C%2FP%3E%3CP%3ENote%20that%20I%20had%20CMG%20issues%20as%20part%20of%20the%202002%20upgrade%20as%20per%20this%20post.%26nbsp%3B%20%26nbsp%3B-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsystem-center%2Fcmg-broken-after-upgrade-to-mecm-2002-resolved%2Fm-p%2F1472925%3Fsearch-action-id%3D194926503841%26amp%3Bsearch-result-uid%3D1472925%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fsystem-center%2Fcmg-broken-after-upgrade-to-mecm-2002-resolved%2Fm-p%2F1472925%3Fsearch-action-id%3D194926503841%26amp%3Bsearch-result-uid%3D1472925%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ealso%20note%20that%20I%20had%20to%20redo%20the%20remove%20%2F%20re-add%20of%20the%20roles%20a%20second%20time%20after%20CMG%20stopped%20working%20again%20the%20night%20I%20did%20this%20fix.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EPoint%20being%2C%20maybe%20my%20original%20issues%20are%20the%20cause%20of%20my%20client%20install%20issues.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1479934%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECloud-attached%20management%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1480199%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1480199%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F304933%22%20target%3D%22_blank%22%3E%40PaulKlerkx%3C%2FA%3E%26nbsp%3BFor%20automatic%20client%20upgrades%20to%20work%20over%20the%20CMG%2C%20you'll%20need%20to%20allow%20it%20to%20serve%20content%20to%20clients%20by%20enabling%20the%20%3CA%20title%3D%22Settings%3A%20Allow%20CMG%20to%20function%20as%20a%20cloud%20distribution%20point%20and%20serve%20content%20from%20Azure%20storage%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fmanage%2Fcmg%2Fsetup-cloud-management-gateway%23settings%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAllow%20CMG%20to%20function%20as%20a%20cloud%20distribution%20point%20and%20serve%20content%20from%20Azure%20storage%3C%2FA%3E%20option.%20You'll%20also%20need%20to%20enable%20the%20%3CA%20title%3D%22Client%20Settings%3A%20Allow%20access%20to%20cloud%20distribution%20point%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fdeploy%2Fabout-client-settings%23allow-access-to-cloud-distribution-point%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAllow%20access%20to%20cloud%20distribution%20point%3C%2FA%3E%20option%20in%20the%20client%20settings%20for%20the%20affected%20clients.%20Without%20these%20two%20options%2C%20CMG%20connected%20clients%20won't%20be%20able%20to%20download%20the%20client%20upgrade%20package%20they%20need%20in%20order%20to%20perform%20the%20automatic%20upgrade.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1482287%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1482287%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241578%22%20target%3D%22_blank%22%3E%40Michiel%20Overweel%3C%2FA%3E%26nbsp%3B.%20thanks%20for%20the%20information.%26nbsp%3B%20we%20do%20have%20the%20cmg%20configured%20as%20a%20distribution%20point.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3ECMG%20distro%20was%20up%20and%20working%20prior%20to%20the%20upgrade%2C%20however%20this%20would%20be%20the%20first%20time%20a%20client%20upgrade%20would%20have%20happened%20over%20cmg.%26nbsp%3B%20we%20now%20have%20around%2020%20devices%20with%20a%20client%2C%20however%20I%20believe%20these%20were%20likely%20devices%20that%20came%20back%20on%20the%20intranet%20and%20got%20the%20client%20while%20onsite.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EClient%20settings%2C%20under%20cloud%20services%2C%20all%20are%20enabled%20-%20distro%2C%20register%20with%20AAD%20and%20enable%20CMG%20for%20clients.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EI%20verified%20the%20new%20client%20package%20appears%20under%20content%20tab%20in%20properties%20for%20the%20CMG.%3C%2FP%3E%3CP%3Eon%20the%20cmg%20connected%20device%20in%20configuration%20manager%20applet%2C%20network%20tab%2C%20the%20internet%20based%20management%20point%20is%20configured%2C%20none%20of%20the%20proxy%20options%20have%20entries.%26nbsp%3B%20(if%20this%20refers%20to%20a%20standard%20proxy%2C%20we%20don't%20use%20one%20so%20that%20is%20OK%2C%20if%20it%20refers%20to%20cmg%20as%20the%20proxy%2C%20then%20wondering%20if%20anything%20maybe%20should%20be%20in%20there.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ein%20Ccmsetup.log%20on%20a%20cmg%20connected%20device%2C%20the%20log%20finishes%20with%20the%20following%20(only%20thing%20changed%20is%20I%20changed%20our%20cmg%20name%20and%20site%20code.%26nbsp%3B%20)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20width%3D%222056%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ECreated%20connection%20on%20port%20443%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EEnabled%20SSL%20revocation%20check.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ETrying%20without%20proxy.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EReceived%20a%20proxy%20error(0x2ee7)%2C%20recycling%20the%20request%20object%20and%20will%20try%20another%20proxy%20type%2C%20if%20available.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EMapNLMCostDataToCCMCost()%20returning%20Cost%200x1%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EEnabled%20SSL%20revocation%20check.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EQuerying%20proxy%20information%20as%20'S-1-5-18'%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EPerforming%20proxy%20auto-detection.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EUsing%20fast%20DNS%20for%20Auto%20proxy%20detection.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EDNS%20detection%20was%20not%20successful.%20Using%20DHCP%20for%20Auto%20proxy%20detection.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EProxy%20auto%20detection%20was%20not%20successful.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EFailed%20to%20retrieve%20proxy%20information.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ENo%20proxy%20was%20found.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EFailed%20to%20get%20CMG%20metadata%200x80004005%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ENo%20MP%20or%20source%20location%20has%20been%20explicitly%20specified.%26nbsp%3B%20Trying%20to%20discover%20a%20valid%20content%20location...%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ELooking%20for%20MPs%20from%20AD...%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EUnexpected%20row%20count%20(0)%20retrieved%20from%20AD.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EGetADInstallParams%20failed%20with%200x80004005%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ECouldn't%20find%20an%20MP%20source%20through%20AD.%20Error%200x80004005%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ENo%20valid%20source%20or%20MP%20locations%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ESending%20state%20'322'...%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EUpdating%20MDM_ConfigSetting.ClientDeploymentErrorCode%20with%20value%202147500037%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3E%5B5.00.8913.1012%5D%20Params%20to%20send%20'5.0.8913.1013%20Deployment%20%22C%3A%5CWINDOWS%5Cccmsetup%5Cccmsetup.exe%22%20%2Frunservice%26nbsp%3B%20AADCLIENTAPPID%3D%2209770777-410a-4b8e-9df6-a1a60c11438d%22%20AADRESOURCEURI%3D%22%3CA%20href%3D%22https%3A%2F%2FConfigMgrService%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2FConfigMgrService%3C%2FA%3E%22%20CCMHOSTNAME%3D%22OURCMG.FQDNREMOVED%2Fccm_proxy_mutualAuth%2F72057594038008067%22%20SMSSITECODE%3D%22XXX%22'%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3E%3CCLIENTDEPLOYMENTMESSAGE%20errorcode%3D%22%26quot%3B-2147467259%26quot%3B%22%3E%3CCLIENT%20baseline%3D%22%26quot%3B1%26quot%3B%22%20baselinecookie%3D%22%26quot%3B%26quot%3B%22%20platform%3D%22%26quot%3B2%26quot%3B%22%20langs%3D%22%26quot%3B%26quot%3B%2F%22%3E%3C%2FCLIENT%3E%3C%2FCLIENTDEPLOYMENTMESSAGE%3E%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ERaised%20pending%20client%20deployment%20state%20message.%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ESending%20state%20'301'...%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3EUpdating%20MDM_ConfigSetting.ClientDeploymentErrorCode%20with%20value%202147500037%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%222056%22%3E%3CP%3ECcmSetup%20failed%20with%20error%20code%200x80004005%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1491931%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1491931%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F304933%22%20target%3D%22_blank%22%3E%40PaulKlerkx%3C%2FA%3E%26nbsp%3BThe%20only%20thing%20I%20can%20think%20of%20right%20now%20is%20based%20on%20the%20fact%20that%20an%200x2ee7%20(ERROR_WINHTTP_NAME_NOT_RESOLVED)%20error%20is%20generated%20when%20the%20client%20tries%20to%20retrieve%20the%20CMG%20metadata.%20Are%20you%20sure%20the%20CMG%20FQDN%20can%20be%20resolved%20by%20clients%20while%20they%20are%20on%20the%20Internet%3F%20You%20might%20want%20to%20disconnect%20a%20client%20from%20the%20corporate%20network%20and%20try%20to%20resolve%20the%20CMG%20FQDN%20to%20make%20sure.%20Maybe%20the%20CNAME%20record%20was%20deleted%20from%20your%20public%20DNS%20zone%20or%20something%20like%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1572200%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1572200%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241578%22%20target%3D%22_blank%22%3E%40Michiel%20Overweel%3C%2FA%3E%26nbsp%3B-%20sorry%20for%20not%20replying%20soon%2C%20got%20a%20bit%20busy.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhen%20you%20say%20%22%3CSPAN%3Etry%20to%20resolve%20the%20CMG%20FQDN%22%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EIf%20i%20type%20in%20the%20ProxyServiceFQDN%2C%20it%20returns%20an%20ip%20and%20alias%2C%20if%20that%20is%20what%20you%20meant%20then%20yes%20that%20works.%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1572208%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1572208%22%20slang%3D%22en-US%22%3E%3CP%3E%40%20forgot%20to%20mention%2C%20that%20was%20with%20NSLookup%2C%20assuming%20that%20was%20the%20requirement.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1590372%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1590372%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F304933%22%20target%3D%22_blank%22%3E%40PaulKlerkx%3C%2FA%3E%26nbsp%3Byou%20can%20use%20standalone%20SCCM%20client%20package%20to%20upgrade%20the%20Client%20version.%20Use%20the%20following%20SCCM%20client%20installation%20parameter%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%22C%3A%5Cwindows%5Cccmsetup%5Cccmsetup.exe%22%20%2Fnocrlcheck%20%2Fmp%3A%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcmg.cloudapp.net%2FCCM_Proxy_MutualAuth%2F6257556037928694%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%3CSPAN%3Ehttps%3A%2F%2FCMG.CLOUDAPP.NET%2FCCM_Proxy_MutualAuth%2F6257556037928694%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3BCCMHTTPSSTATE%3D31%20CCMHOSTNAME%3DCMG.CLOUDAPP.NET%2FCCM_Proxy_MutualAuth%2F62057556037928694%20SMSSiteCode%3DPS1%20AADTENANTID%3D5004305e-6764-4e6b-b9a4-c4d5ccfd1524%20AADCLIENTAPPID%3D3C6a28b2-9d0a-484d-8553-7cb0d4897512%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1592141%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1592141%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F760368%22%20target%3D%22_blank%22%3E%40Anandkumar%3C%2FA%3E%26nbsp%3BThanks%20for%20that%20info%2C%26nbsp%3B%20I'll%20try%20to%20take%20a%20look%20tomorrow.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20thing%20I%20thought%20of%2C%20since%20I%20configured%20CMG%2C%20I%20haven't%20modified%20the%20Client%20Push%20installation%20properties%20for%20our%20site.%26nbsp%3B%20Should%20I%20have%3F%26nbsp%3B%20We%20currently%20only%20have%20the%20SMSSITECODE%20property%20in%20there.%26nbsp%3B%20(could%20this%20be%20the%20reason%20for%20the%20CMG%20client%20install%20failures%3F%3F)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E*************************************************************************%3C%2FP%3E%3CP%3EI%20had%20quick%20look%20at%20the%20command%20line%20you%20posted%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22CCMHTTPSSTATE%3D31%22%20-%20the%20documentation%20doesn't%20seem%20to%20mention%20this.%26nbsp%3B%20I%20have%20looked%20at%20the%20logs%20of%20an%20internal%20machine%20and%20it%20has%26nbsp%3B%20CCMHTTPSSTATE%3D%221472%22%20%2C%20any%20idea%20what%20the%20different%20numbers%20equate%20to%20or%20what%20the%20purpose%20of%20the%20property%20is%3F%26nbsp%3B%20the%20only%20google%20results%20I%20can%20find%20don't%20have%20much%20information%20on%20it.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fdeploy%2Fabout-client-installation-properties%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fdeploy%2Fabout-client-installation-properties%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fdeploy%2Fdeploy-clients-cmg-azure%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fdeploy%2Fdeploy-clients-cmg-azure%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1609880%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1609880%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F304933%22%20target%3D%22_blank%22%3E%40PaulKlerkx%3C%2FA%3E%26nbsp%3BThere's%20no%20need%20to%20add%20anything%20to%20the%20Client%20Push%20Installation%20properties.%20Client%20Push%2C%20by%20definition%2C%20can%20be%20used%20on%20the%20intranet%20only.%20After%20the%20agent%20is%20installed%2C%20the%20client%20will%20receive%20the%20CMG%20location(s)%20as%20part%20of%20its%20policy.%3C%2FP%3E%0A%3CP%3EUsing%20the%20client%20package%20with%20a%20command%20line%2C%20as%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F760368%22%20target%3D%22_blank%22%3E%40Anandkumar%3C%2FA%3E%26nbsp%3Bsuggested%2C%20will%20probably%20work%2C%20but%20it%20shouldn't%20be%20necessary%20in%20my%20opinion.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1612225%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1612225%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241578%22%20target%3D%22_blank%22%3E%40Michiel%20Overweel%3C%2FA%3E%26nbsp%3Bthanks%20for%20the%20reply.%26nbsp%3B%20we%20have%20had%20issues%20with%20our%20server%20infrastructure%20and%20I%20am%20currently%20in%20the%20process%20of%20migrating%20to%20new%20hardware.%26nbsp%3B%20as%20part%20of%20that%2C%20I%20had%20to%20uninstall%20our%20CMG%2C%20so%20once%20I%20tidy%20up%2C%20I'll%20reinstall%20the%20CMG%20and%20get%20back%20to%20sorting%20this%20out.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1705450%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1705450%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241578%22%20target%3D%22_blank%22%3E%40Michiel%20Overweel%3C%2FA%3E%26nbsp%3Bthankyou%20for%20the%20assistance%2C%20after%20restoring%20MECM%20to%20new%20hardware%2C%20CMG%20was%20completely%20dead%20and%20we%20had%20to%20remove%20from%20both%20MECM%20and%20Azure%20and%20completely%20recreate.%26nbsp%3B%20Two%20days%20after%20doing%20this%20I%20have%20found%20that%20all%20our%20internet%20connected%20devices%20are%20on%20the%20latest%20client%2C%20so%20I'm%20making%20the%20assumption%20that%20this%20has%20resolved%20our%20problem.%26nbsp%3B%20We%20have%20the%202006%20upgrade%20scheduled%20for%20about%204%20weeks%20from%20now%2C%20so%20I%20guess%20I'll%20know%20for%20sure%20after%20that%2C%20but%20for%20now%2C%20issue%20resolved%2C%20thanks%20again.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2000809%22%20slang%3D%22en-US%22%3ERe%3A%20MECM%20client%20over%20CMG%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2000809%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F304933%22%20target%3D%22_blank%22%3E%40PaulKlerkx%3C%2FA%3E%26nbsp%3BCan%20you%20please%20update%20on%20this%3F%20Is%20your%20issue%20resolved%20and%20have%20you%20use%20SCCM%20package%20to%20upgrade%20the%20SCCM%20client%20version%20or%20SCCM%20client%20auto%20upgrade%20option%20worked%20for%20you%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi,

I have recently upgraded from MECM 1910 to 2002.  the client is deploying ok to intranet based devices, but no devices on CMG are getting the new client.  

Where do I go to troubleshoot this?

How can I force an install to a cmg connected device to test if that part works?

Note that I had CMG issues as part of the 2002 upgrade as per this post.   - https://techcommunity.microsoft.com/t5/system-center/cmg-broken-after-upgrade-to-mecm-2002-resolved/... 

also note that I had to redo the remove / re-add of the roles a second time after CMG stopped working again the night I did this fix.  

Point being, maybe my original issues are the cause of my client install issues.  

10 Replies

@PaulKlerkx For automatic client upgrades to work over the CMG, you'll need to allow it to serve content to clients by enabling the Allow CMG to function as a cloud distribution point and serve content from Azure storage option. You'll also need to enable the Allow access to cloud distribution point option in the client settings for the affected clients. Without these two options, CMG connected clients won't be able to download the client upgrade package they need in order to perform the automatic upgrade.

@Michiel Overweel . thanks for the information.  we do have the cmg configured as a distribution point.  

CMG distro was up and working prior to the upgrade, however this would be the first time a client upgrade would have happened over cmg.  we now have around 20 devices with a client, however I believe these were likely devices that came back on the intranet and got the client while onsite.  

Client settings, under cloud services, all are enabled - distro, register with AAD and enable CMG for clients.  

I verified the new client package appears under content tab in properties for the CMG.

on the cmg connected device in configuration manager applet, network tab, the internet based management point is configured, none of the proxy options have entries.  (if this refers to a standard proxy, we don't use one so that is OK, if it refers to cmg as the proxy, then wondering if anything maybe should be in there.  

 

 

in Ccmsetup.log on a cmg connected device, the log finishes with the following (only thing changed is I changed our cmg name and site code.  )

 

Created connection on port 443

Enabled SSL revocation check.

Trying without proxy.

Received a proxy error(0x2ee7), recycling the request object and will try another proxy type, if available.

MapNLMCostDataToCCMCost() returning Cost 0x1

Enabled SSL revocation check.

Querying proxy information as 'S-1-5-18'

Performing proxy auto-detection.

Using fast DNS for Auto proxy detection.

DNS detection was not successful. Using DHCP for Auto proxy detection.

Proxy auto detection was not successful.

Failed to retrieve proxy information.

No proxy was found.

Failed to get CMG metadata 0x80004005

No MP or source location has been explicitly specified.  Trying to discover a valid content location...

Looking for MPs from AD...

Unexpected row count (0) retrieved from AD.

GetADInstallParams failed with 0x80004005

Couldn't find an MP source through AD. Error 0x80004005

No valid source or MP locations

Sending state '322'...

Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147500037

[5.00.8913.1012] Params to send '5.0.8913.1013 Deployment "C:\WINDOWS\ccmsetup\ccmsetup.exe" /runservice  AADCLIENTAPPID="09770777-410a-4b8e-9df6-a1a60c11438d" AADRESOURCEURI="https://ConfigMgrService" CCMHOSTNAME="OURCMG.FQDNREMOVED/ccm_proxy_mutualAuth/72057594038008067" SMSSITECODE="XXX"'

<ClientDeploymentMessage ErrorCode="-2147467259"><Client Baseline="1" BaselineCookie="" Platform="2" Langs=""/></ClientDeploymentMessage>

Raised pending client deployment state message.

Sending state '301'...

Updating MDM_ConfigSetting.ClientDeploymentErrorCode with value 2147500037

CcmSetup failed with error code 0x80004005

 

@PaulKlerkx The only thing I can think of right now is based on the fact that an 0x2ee7 (ERROR_WINHTTP_NAME_NOT_RESOLVED) error is generated when the client tries to retrieve the CMG metadata. Are you sure the CMG FQDN can be resolved by clients while they are on the Internet? You might want to disconnect a client from the corporate network and try to resolve the CMG FQDN to make sure. Maybe the CNAME record was deleted from your public DNS zone or something like that.

@Michiel Overweel - sorry for not replying soon, got a bit busy.  

 

when you say "try to resolve the CMG FQDN" If i type in the ProxyServiceFQDN, it returns an ip and alias, if that is what you meant then yes that works.  

 

@ forgot to mention, that was with NSLookup, assuming that was the requirement.  

@PaulKlerkx you can use standalone SCCM client package to upgrade the Client version. Use the following SCCM client installation parameter 

 

"C:\windows\ccmsetup\ccmsetup.exe" /nocrlcheck /mp:https://CMG.CLOUDAPP.NET/CCM_Proxy_MutualAuth/6257556037928694 CCMHTTPSSTATE=31 CCMHOSTNAME=CMG.CLOUDAPP.NET/CCM_Proxy_MutualAuth/62057556037928694 SMSSiteCode=PS1 AADTENANTID=5004305e-6764-4e6b-b9a4-c4d5ccfd1524 AADCLIENTAPPID=3C6a28b2-9d0a-484d-8553-7cb0d4897512 

@Anandkumar Thanks for that info,  I'll try to take a look tomorrow.  

 

One thing I thought of, since I configured CMG, I haven't modified the Client Push installation properties for our site.  Should I have?  We currently only have the SMSSITECODE property in there.  (could this be the reason for the CMG client install failures??)

 

 

*************************************************************************

I had quick look at the command line you posted

 

"CCMHTTPSSTATE=31" - the documentation doesn't seem to mention this.  I have looked at the logs of an internal machine and it has  CCMHTTPSSTATE="1472" , any idea what the different numbers equate to or what the purpose of the property is?  the only google results I can find don't have much information on it.  

https://docs.microsoft.com/en-us/mem/configmgr/core/clients/deploy/about-client-installation-propert...

https://docs.microsoft.com/en-us/mem/configmgr/core/clients/deploy/deploy-clients-cmg-azure

 

@PaulKlerkx There's no need to add anything to the Client Push Installation properties. Client Push, by definition, can be used on the intranet only. After the agent is installed, the client will receive the CMG location(s) as part of its policy.

Using the client package with a command line, as @Anandkumar suggested, will probably work, but it shouldn't be necessary in my opinion.

@Michiel Overweel thanks for the reply.  we have had issues with our server infrastructure and I am currently in the process of migrating to new hardware.  as part of that, I had to uninstall our CMG, so once I tidy up, I'll reinstall the CMG and get back to sorting this out.  

@Michiel Overweel thankyou for the assistance, after restoring MECM to new hardware, CMG was completely dead and we had to remove from both MECM and Azure and completely recreate.  Two days after doing this I have found that all our internet connected devices are on the latest client, so I'm making the assumption that this has resolved our problem.  We have the 2006 upgrade scheduled for about 4 weeks from now, so I guess I'll know for sure after that, but for now, issue resolved, thanks again.