|
| 1 | +--- |
| 2 | +title: CMG Maintenance Task Fails to Update After Installaing KB32851084 |
| 3 | +description: Troubleshoot the CMG Maintenance Task failure caused by Availability Zone conflicts in Public IP Resource updates for Configuration Manager version 2503. |
| 4 | +ms.service: configuration-manager |
| 5 | +ms.topic: troubleshooting |
| 6 | +ms.manager: dcscontentpm |
| 7 | +audience: itpro |
| 8 | +ms.date: 11/11/2025 |
| 9 | +ms.reviewer: kaushika, payur |
| 10 | +ms.custom: sap:Cloud Services\Cloud Management Gateway (CMG) |
| 11 | +--- |
| 12 | +# CMG maintenance task fails to update public IP resource after installing KB32851084 |
| 13 | + |
| 14 | +*Applies to*: Configuration Manager (current branch) |
| 15 | + |
| 16 | +## Symptoms |
| 17 | + |
| 18 | +After you install the [Update Rollup for Microsoft Configuration Manager version 2503 (KB32851084)](/intune/configmgr/hotfix/2503/32851084), CloudMgr.log on the Service Connection Point might display the following error message: |
| 19 | + |
| 20 | +```output |
| 21 | +Resource Manager - Creating Public IP Address <Name of CMG> with deployment CreatePublicIPAddressXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX~~ |
| 22 | +ERROR: Exception occured for service <Name of CMG> : System.AggregateException: One or more errors occurred. |
| 23 | +---> Azure.RequestFailedException: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.~~Status: 200 (OK)~~ErrorCode: DeploymentFailed~~~~Service request succeeded. Response content and headers are not included to avoid logging sensitive data.~~~~ |
| 24 | +at Azure.Core.OperationInternal`1.GetResponseFromState(OperationState`1 state)~~ |
| 25 | +at Azure.Core.OperationInternal`1.<UpdateStatusAsync>d__20.MoveNext()~~--- End of stack trace from previous location where exception was thrown ---~~ |
| 26 | +at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()~~ |
| 27 | +at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)~~ |
| 28 | +at Azure.Core.OperationInternalBase.<UpdateStatusAsync>d__13.MoveNext()~~--- End of stack trace from previous location where exception was thrown ---~~ |
| 29 | +at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()~~ |
| 30 | +at Azure.Core.OperationPoller.<WaitForCompletionAsync>d__11.MoveNext()~~--- End of stack trace from previous location where exception was thrown ---~~ |
| 31 | +at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()~~ |
| 32 | +at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)~~ |
| 33 | +at Azure.Core.OperationInternalBase.<WaitForCompletionResponseAsync>d__19.MoveNext()~~--- End of stack trace from previous location where exception was thrown ---~~ |
| 34 | +at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()~~ |
| 35 | +at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)~~ |
| 36 | +at Azure.Core.OperationInternal`1.<WaitForCompletionAsync>d__19.MoveNext()~~--- End of stack trace from previous location where exception was thrown ---~~ |
| 37 | +at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()~~ |
| 38 | +at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)~~ |
| 39 | +at System.Threading.Tasks.ValueTask`1.get_Result()~~ |
| 40 | +at Azure.Core.OperationInternal`1.<WaitForCompletionAsync>d__15.MoveNext()~~--- End of stack trace from previous location where exception was thrown ---~~ |
| 41 | +at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()~~ |
| 42 | +at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)~~ |
| 43 | +at Azure.ResourceManager.Resources.ArmDeploymentCollection.<CreateOrUpdateAsync>d__4.MoveNext()~~ |
| 44 | +--- End of inner exception stack trace ---~~ |
| 45 | +at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)~~ |
| 46 | +at Microsoft.ConfigurationManager.AzureManagement.ResourceManager.StartAndMonitorDeployment(String resourceGroupName, String deploymentName, ArmDeploymentContent deploymentContent, Int32 secondsToWait, Int32 timeoutInMinutes)~~ |
| 47 | +at Microsoft.ConfigurationManager.AzureManagement.Resource |
| 48 | +
|
| 49 | +TaskManager: Task [Deployment Maintenance for service <Name of CMG>] status is Faulted~~ |
| 50 | +
|
| 51 | +ERROR: TaskManager: Task [Deployment Maintenance for service <Name of CMG>] has failed. Exception Azure.RequestFailedException, At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.~~Status: 200 (OK)~~ErrorCode: DeploymentFailed~~~~Service request succeeded. Response content and headers are not included to avoid logging sensitive data.~~.~~ |
| 52 | +
|
| 53 | +TaskManager: Scheduling task [Deployment Maintenance for service <Name of CMG>] for retry.~~ |
| 54 | +``` |
| 55 | + |
| 56 | +In the Azure portal, the Activity log of the Resource Group that contains the resources of the CMG displays the following error message: |
| 57 | + |
| 58 | +```output |
| 59 | +Operation Name: Create or Update Public Ip Address |
| 60 | +
|
| 61 | +Summary - Message; Resource /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/<Name of CMG Resource Group>/providers/Microsoft.Network/publicIPAddresses/<Name of Public IP Address> has an existing availability zone constraint 1, 2, 3 and the request has availability zone constraint NoZone, which do not match. Zones cannot be added/updated/removed once the resource is created. The resource cannot be updated from regional to zonal or vice-versa. |
| 62 | +``` |
| 63 | + |
| 64 | +The Cloud Management Gateway (CMG) state in the Configuration Manager console might then appear in "Error" status with the detailed information "Failed to perform maintenance" in "Status Description" and flipping back to "Ready" shortly afterwards. |
| 65 | + |
| 66 | +The error messages likely repeat every 20 minutes, aligning with the Deployment Maintenance Task retries. |
| 67 | + |
| 68 | +## Cause |
| 69 | + |
| 70 | +When you install the Update Rollup, it triggers a setup maintenance task for the CMG. This maintenance task launches deployments for CMG Resources in Azure. In the deployment associated to the Public IP Address, the maintenance task attempts to update its "Availability Zone" configuration property to **"No zone"**. If the existing Public IP resource already has "Availability Zone" property configured (for example, to "Zone 1", "Zone 2", or "Zone 3"), the deployment fails. |
| 71 | + |
| 72 | +The issue then affects the Azure regions where [Availability Zones](/azure/reliability/availability-zones-overview?toc=%2Fazure%2Fvirtual-network%2Ftoc.json&tabs=azure-cli) are supported. The current list is available at [Azure regions list](/azure/reliability/regions-list#azure-regions-list-1). |
| 73 | + |
| 74 | +Current Configuration Manager releases don't specify Availability Zone when creating a new Public IP Address Resource for CMG. Hence, this issue doesn't affect new CMG deployments. |
| 75 | + |
| 76 | +## Resolution |
| 77 | + |
| 78 | +At this point, there's no confirmed impact from this behavior, so we recommend that you ignore these errors. |
| 79 | + |
| 80 | +Microsoft plans to resolve this problem in a future release of Microsoft Configuration Manager. |
| 81 | + |
| 82 | +## More information |
| 83 | + |
| 84 | +For more information about CMG monitoring, see [Monitor the CMG](/intune/configmgr/core/clients/manage/cmg/monitor-clients-cloud-management-gateway) |
0 commit comments