Thursday, June 4, 2026

Cloud Management Gateway in Performing Maintenance mode

Issue Reported:

Cloud Management Gateway was working fine and one fine day its showing as Performing Maintenance and status description as upgrading Service.

Below is screen shot for reference: 

Solution: 

Note: Clients are scanning/receiving policy without any problem, We don’t see any issue from client side. Just the status of the Cloud management gateway in console is showing as Performing Maintenance. No info on this maintenance in the log CloudMgr.log and SMS_CLOUD_PROXYCONNECTOR.log

New Software Updates Deployment reached the clients and New SCEP anti malware policies also reached the client machines. Just the Cloud Management Gateway Status is showing in maintenance mode.

Step 1: Basically modified taskstate ID it comes as normal.

TaskstateID in Azure_CloudServicesTask for the respective taskID

State and StateDetails in Azure_service for respective AzureServiceID

Below is query executed on SQL :

Update Azure_CloudServicesTask

Set TaskStateId = 3

Where TaskId = 1678XXXX

Update Azure_service

Set State = 0, StateDetails = 0

Where AzureServiceId = 16777XXX

Basically this is like reset the CMG settings in SQL.

Note: The taskID and AzureServiceID will be different for each for reference Click Here

Happy Learning!!!

Thanks&regards,
Haresh Hirani
Email: [email protected], [email protected]
Facebook https://www.facebook.com/Hiraniconfigmgr-120189361980772/
Follow us: https://www.linkedin.com/in/hiraniconfigmgr 
Twitter: https://twitter.com/hiraniconfigmgr

Author

  • Hi, I’m Haresh Hirani the mind behind Hiraniconfigmgr.com. I’m a seasoned IT professional with deep expertise in Microsoft technologies, especially in Configuration Manager (ConfigMgr/SCCM). Over the years, I’ve expanded my skill set to cover a broader range of modern device management platforms like Microsoft Intune, Jamf Pro, ManageEngine Endpoint Central, and VMware AirWatch (Workspace ONE UEM), I use this blog to document real-world, tested, working fixes and walkthroughs from my daily technical experiences. The 💡idea is simple: if it helped me, it might help someone like you. My goal is to create a living repository of practical IT solutions for the community. If you find something useful, or if you want to collaborate, feel free to connect with me on LinkedIn or drop a message through the Contact page. Happy to help.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest posts