28.5 C
Ahmedabad
Friday, July 4, 2025

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 Haresh Hirani, I am the person behind this webpage. Welcome to my page, Thank you for visiting the website and my page! My website is all about Microsoft technologies. More about ConfigMgr and all other technologies which are interesting for me. However, larger percentage of my posts are related to SCCM. Normally, like to post the interesting issues which I came across in my day to day tech life. you will find only solutions which comes on my day to day life.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest posts