Issue reported:

While create Cloud Management Gateway in Azure.  I am running ConfigMgr 1702 with the latest roll-up (KB4019926).  When I try to create a Cloud Management Gateway, the process gets stuck at Provisioning and never progresses any further

Error:

ProxyService_IN_0: RestartingRole
Unhandled Exception: Could not load file or assembly ‘interop.COMAdmin, Version=5.0.8498.1711, Culture=neutral, PublicKeyToken=31bf3856ad364e35’
or one of its dependencies. The located assembly’s manifest definition
does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Microsoft.ConfigurationManager.AzureRoles.ProxyService.
WebRole.ConfigureBGBServer() at Microsoft.ConfigurationManager.AzureRoles.ProxyService.
WebRole.OnStart() at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.
InitializeRoleInternal(RoleType roleTypeEnum) at Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader
.RoleRuntimeBridge.b__0() at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() [2017-06-14T18:21:31Z] Last exit time: [2017/07/14, 20:21:33.086]. Last exit code: 0.

Solutions:

Step 1: Verify CloudMgr.log continues to say: Deployment instance status for service **CMGName** is CyclingRole

Step 2:  Download Technical Preview of ConfigMgr (1703) and and extract the contents you will find the following folder: C:\SC_Configmgr_SCEP_TechPreview1703\SMSSETUP\CloudServices. You will see below two files.

2

Step 3: Replace this two file on your installed existing configuration manager directory it will fix Creating Cloud Management Gateway installations.  it will work as normal.  Below is screen shot for reference.

3

Note: Microsoft has release Hotfix for reported issue: Click Here

Happy Learning!!!

Thanks & Regards,
Haresh Hirani
Email: hiraniconfigmgr@outlook.com
Follow me: Twitter @hirravi1
linkedin: https://www.linkedin.com/in/hiraniconfigmgr

Advertisements