Provisioning not completed when creating a Cloud Management Gateway in System Center Configuration Manager version 1702

Applies to: System Center Configuration Manager (current branch - version 1702)

Symptoms


Consider that you have the Update rollup for Configuration Manager current branch version 1702 installed. When you try to create a new Cloud Management Gateway (CMG)  in the Configuration Manager console, the provisioning cannot be completed. The status displayed in the console remains as "Provisioning."

If you check the cloud service status from the Azure Portal, you find that the service keeps being provisioned. You will also see an error message for the cloud service assembly that resembles the following:

Waiting for role to start... 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() [date time] Last exit time: date time]. Last exit code: 0.

Hotfix information for System Center Configuration Manager current branch version 1702


Microsoft Download Center

This hotfix is available for download from the Microsoft Download Center:

Download this hotfix now.

For installation instructions, see the following article:

Use the Update Registration Tool to import hotfixes to System Center Configuration Manager

Then, follow these steps:

  1. For the remote SCP (Service Connection Point) role, make sure that the new Cloudproxyservice.cab file was copied over by the post-update actions performed by the site component manager.

  2. Delete the failed Cloud Management Gateway that was created after the Update rollup for Configuration Manager current branch version 1702 was installed in the Configuration Manager console.

  3. For the old CMG, run the following SQL script on the top-most site database to update all of the CMGs:

    EXEC dbo.spInsertAzureCloudServiceUpgradeTask N'CloudProxyService'
  4. Now create the new Cloud Management Gateway.

Prerequisites

You must have Update rollup for Configuration Manager current branch version 1702 installed before you install this hotfix.

Restart information

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any previously released hotfix.

File information