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>d48.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>d16.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>d75.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>d54.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>d48.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>d16.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>d75.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