question

PawanBhasin-4828 avatar image
0 Votes"
PawanBhasin-4828 asked AllenLiu-MSFT commented

CMG Status Stuck at " Starting"

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

mem-cm-general
error-1.jpg (81.4 KiB)
error-2.jpg (337.4 KiB)
error-3.jpg (81.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RahulJindal-2267 avatar image
0 Votes"
RahulJindal-2267 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AllenLiu-MSFT avatar image
0 Votes"
AllenLiu-MSFT answered

Hi, @PawanBhasin-4828
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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

PawanBhasin-4828 avatar image
0 Votes"
PawanBhasin-4828 answered AllenLiu-MSFT commented

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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Did you check the activity logs and smsadminui log like RahulJindal-2267 suggested?

0 Votes 0 ·
RahulJindal-2267 avatar image
0 Votes"
RahulJindal-2267 answered

Did you look into my initial comment?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.