Did you run the CMG connection analyzer?
SCCM Cloud attack CMG error after restore
We had a HD fail in our server and restored SCCM from a backup. We are running current branch. The issue is that in the CMGatewayNotificationWorker.log we are getting the error below. It is repeated over and over. Every time the CMGatewayNotificationWorker starts it gets the same error. Is there something I can delete or do to remove this? I have removed the co-management, but can not remote cloud attached. The bgbmgr, CloudMgr, and cloudusersync have no errors and BgbServer only has errors dealing with client machines.
Worker CMGatewayNotificationWorker was triggered by timer. SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:57:35 PM 139 (0x008B)
Triggered CMGatewayNotificationWorker::ExecuteAsync() SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:57:35 PM 139 (0x008B)
Could not retrieve authentication information for service. Cannot continue. SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:57:39 PM 128 (0x0080)
Unexpected exception for worker CMGatewayNotificationWorker SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:57:39 PM 128 (0x0080)
Exception details: SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:57:39 PM 128 (0x0080)
[Critical][CMGatewayNotificationWorker][0][System.ArgumentNullException][0x80004003]
Value cannot be null.
Parameter name: encryptedSecret at Microsoft.ConfigurationManager.ServiceConnector.AdalConfiguration..ctor(IContext context, String clientId, String encryptedSecret, Guid tenantId, String graphEndpoint, String adEndpoint, String gatewayService, String identifierUri)
at Microsoft.ConfigurationManager.ServiceConnector.Utility.<GetAdalConfigurationAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.Utility.<GetAdalConfigurationAsync>d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.AadServiceConnectorWorker.<DoWorkAsync>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.ServiceConnectorWorkerBase.<ExecuteAsync>d__75.MoveNext() SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:57:39 PM 128 (0x0080)
[Attempt: 0] Waiting for 00:00:30 before continuing ... SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:57:39 PM 128 (0x0080)
Worker CMGatewayNotificationWorker failure SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:58:10 PM 139 (0x008B)
Exception details: SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:58:10 PM 139 (0x008B)
[Critical][CMGatewayNotificationWorker][0][System.ArgumentNullException][0x80004003]
Exception of type 'System.ArgumentNullException' was thrown.
Parameter name: encryptedSecret at Microsoft.ConfigurationManager.ServiceConnector.AdalConfiguration..ctor(IContext context, String clientId, String encryptedSecret, Guid tenantId, String graphEndpoint, String adEndpoint, String gatewayService, String identifierUri)
at Microsoft.ConfigurationManager.ServiceConnector.Utility.<GetAdalConfigurationAsync>d__54.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.Utility.<GetAdalConfigurationAsync>d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.AadServiceConnectorWorker.<DoWorkAsync>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.ServiceConnectorWorkerBase.<ExecuteAsync>d__75.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.ConfigurationManager.ServiceConnector.ServiceConnectorWorkerBase.<ExecuteAsync>d__75.MoveNext() SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:58:10 PM 139 (0x008B)
Worker CMGatewayNotificationWorker has finished processing. SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:58:10 PM 139 (0x008B)
Next run time will be at approximately: 06/01/2021 12:59:10 SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 6/1/2021 12:58:10 PM 139 (0x008B)
Thanks for any assistance,
Jesse
Microsoft Security | Intune | Configuration Manager | Other
2 answers
Sort by: Most helpful
-
-
AllenLiu-MSFT 49,316 Reputation points Microsoft External Staff
2021-06-02T06:04:14.177+00:00 Hi, @Jesse M
Thank you for posting in Microsoft Q&A forum.
The below article might helps to troubleshooting:
https://www.anoopcnair.com/sccm-tenant-attach-troubleshooting-issues-via-logs-configmgr/
(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.