CMG Status Stuck at " Starting"

Pawan Bhasin 1 Reputation point
2021-09-17T18:05:02.73+00:00

We are facing issue with CMG in our ConfigMgr Environment. It is stuck at “Starting” status since 2 weeks. Also not able to start stop CMG Service..... Please help

133221-error-1.jpg

133231-error-2.jpg

133212-error-3.jpg

Thanks,
Pawan

Microsoft Configuration Manager
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Rahul Jindal [MVP] 9,241 Reputation points MVP
    2021-09-17T22:12:05.93+00:00

    Did you check the activity logs on azure side for your resource group hosting the cmg service? Also anything in smsadminui log?

    0 comments No comments

  2. AllenLiu-MSFT 40,806 Reputation points Microsoft Vendor
    2021-09-20T07:38:43.45+00:00

    Hi, @Pawan Bhasin
    Thank you for posting in Microsoft Q&A forum.

    The ConfigMgr CMG was stuck in starting state might because the secret key had expired for the server app. The secret key expiry (UTC) is shown next to server app. You should find the AAD applications under Administration\Overview\Cloud Services\Azure Active Directory Tenants. Right click the server app and click Renew Secret Key.

    You may refer to the article for more details:
    https://www.prajwaldesai.com/configmgr-cmg-stuck-in-starting-state/
    (Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Pawan Bhasin 1 Reputation point
    2021-09-20T13:03:08.987+00:00

    Hello @AllenLiu,

    I have already done that...... that did not resolve the issue.

    Also, State of the CMG Service is 4 in my case ( screenshot above )

    I also tried stopping the CMG Service forcefully using the PS script ( Get-CMCloudManagementGateway -Name "xxx.cloudapp.net" | Stop-CMCloudManagementGateway), but that also did not help.

    https://www.prajwaldesai.com/configmgr-cmg-stuck-in-starting-state/ : is talking about different error in CloudMgr.log file, mine is different. Please refer to the images I sent earlier.

    Pawan.


  4. Rahul Jindal [MVP] 9,241 Reputation points MVP
    2021-09-20T21:14:15.38+00:00

    Did you look into my initial comment?

    0 comments No comments