This issue was finally resolved. The CMG was stuck in a provisioning stage, but forcing a stop from the Azure portal and by running the "Stop-CMCloudManagementGateway" PowerShell command before restarting them both again allowed the service to complete the provisioning phase and be ready for use.
Cloud Management Gateway stuck provisioning
I am setting up a Cloud Management Gateway in ConfigMgr, but have hit a problem where the service has been stuck in the "Provisioning - deploying service" stage for ~24 hours now.
Looking in the Azure portal it seems to be up and running, and I am even able to distribute content to it from ConfigMgr. However as it still shows as provisioning in the ConfigMgr console, I can't initialise a syncronisation or anything.
Nothing has happened in the CMGSetup or CMGService logs in 24h. The last entries show "Added or updated endpoint..." and "Certificate xxx found" but nothing since.
The CloudMgr log seems to be looping every minute with the following:
Start to poll cloud service tasks from DB
0 tasks running, 0 tasks waiting to start
Current CMG deployment hash is ***
CreateUpgradeTaskForPackageChange: Triggered to create upgrade task for service type CloudProxyService with current package hash ***
Starting task CloudServicesTaskBuilder
CloudServicesTaskBuilder is running
1 task running, 0 tasks waiting to start
Task CloudServicesTaskBuilder status is RanToCompletion
Removing task CloudServicesTaskBuilder from running tasks
Any thoughts on how to further troubleshoot this would be much appreciated.
Thank you very much for your feedback and sharing. We're glad that the question is solved now. It may help others who have similar issue. If you have any questions in future, we warmly welcome you to post in Microsoft Q&A forum again.
Have a nice day!
Sign in to comment