Jul 14 2020 06:39 AM
Jul 14 2020 07:44 AM
@Stephane Lalancette Are you sure all prerequisites have been met? In a nutshell:
See Enable tenant attach for detailed information.
Jul 14 2020 10:17 AM
@Michiel Overweel yes all the prereqs have been met.
It,s the same issue that was reported here:
https://github.com/MicrosoftDocs/SCCMdocs/issues/2292
Jul 15 2020 12:55 AM
@Stephane Lalancette It would help if you could post the relevant portion of your CMGatewayNotificationWorker.log. Feel free to remove any GUID's and/or other ID's that you do not wish to disclose.
Jul 20 2020 08:17 AM
@Michiel Overweel sorry for the late reply.
Here's the cleaned logs like you've requested. Can't attach log files here
<![LOG[Worker CMGatewayNotificationWorker was triggered by timer.]LOG]!><time="15:48:09.1477941" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5491" file="">
<![LOG[Worker CMGatewayNotificationWorker was triggered by timer.]LOG]!><time="16:11:34.3443746" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="88" file="">
<![LOG[Triggered CMGatewayNotificationWorker::ExecuteAsync()]LOG]!><time="16:11:34.3443746" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="88" file="">
<![LOG[Using location service to look up URL base]LOG]!><time="16:11:35.3574610" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Got cached location https://us.gateway.configmgr.manage.microsoft.com/api/gateway/Available for endpoint Available and scenario HelpDesk (2)]LOG]!><time="16:11:35.3574610" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Using proxy server 'http:///' to connect to URL 'https://us.gateway.configmgr.manage.microsoft.com/api/gateway/Available'. Anonymous=True]LOG]!><time="16:11:35.3584623" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Creating web request to: https://us.gateway.configmgr.manage.microsoft.com/api/gateway/Available]LOG]!><time="16:11:35.359462..." date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Authenticating with web service at: https://us.gateway.configmgr.manage.microsoft.com/api/gateway/Available]LOG]!><time="16:11:35.359462..." date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Using proxy for ADAL]LOG]!><time="16:11:35.3594620" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Response status code: 200 (OK) Activity ID: ]LOG]!><time="16:11:35.8594994" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5463" file="">
<![LOG[Service version 2007 detected]LOG]!><time="16:11:35.8594994" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5463" file="">
<![LOG[Verifying tenant is on-boarded to feature(s) HelpDesk]LOG]!><time="16:11:35.8594994" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5463" file="">
<![LOG[No unprocessed HelpDesk onboarding task.]LOG]!><time="16:11:35.8614985" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Refreshing AdminService location]LOG]!><time="16:11:35.8614985" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Refreshing Admin Service FQDN]LOG]!><time="16:11:35.8614985" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Completed running stored procedure to find provider location]LOG]!><time="16:11:35.8614985" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Using location service to look up URL base]LOG]!><time="16:11:35.8614985" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Got cached location https://us.gateway.configmgr.manage.microsoft.com/api/gateway/Notification for endpoint Notification and scenario HelpDesk (2)]LOG]!><time="16:11:35.8614985" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Got service endpoint url https://us.gateway.configmgr.manage.microsoft.com/api/gateway/Notification from location service]LOG]!><time="16:11:35.8624988" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Using location service to look up URL base]LOG]!><time="16:11:35.8624988" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Got cached location https://us.gateway.configmgr.manage.microsoft.com/api/gateway/NotificationResult for endpoint NotificationResult and scenario HelpDesk (2)]LOG]!><time="16:11:35.8624988" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Got result endpoint url https://us.gateway.configmgr.manage.microsoft.com/api/gateway/NotificationResult from location service]LOG]!><time="16:11:35.8624988" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Got current hierarchy ID =]LOG]!><time="16:11:35.8624988" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Using proxy server 'http:///' to connect to URL 'https://us.gateway.configmgr.manage.microsoft.com/api/gateway/Notification'. Anonymous=True]LOG]!><time="16:11:35.8634997" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Authenticating with web service at: https://us.gateway.configmgr.manage.microsoft.com/api/gateway/Notification]LOG]!><time="16:11:35.863..." date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Using proxy for ADAL]LOG]!><time="16:11:35.8634997" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Getting web response from https://us.gateway.configmgr.manage.microsoft.com/api/gateway/Notification for new notifications...]LOG]!><time="16:11:35.8664990" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5444" file="">
<![LOG[Response status code: 400 (BadRequest) Activity ID: ]LOG]!><time="16:11:36.5815595" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="5463" file="">
<![LOG[Web exception when getting new notification: System.Net.WebException: The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- 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.ExtensionMethods.<GetResponseAsync>d__3.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.CMGatewayNotificationWorker.<DoWorkAsync>d__5.MoveNext()]LOG]!><time="16:11:36.5825596" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="3" thread="5463" file="">
<![LOG[Response in the web exception: {"Message":"An error has occurred.","ExceptionMessage":"Recipient = is detected for getting new notification already","ExceptionType":"Microsoft.Management.S]LOG]!><time="16:11:36.5835593" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="3" thread="5463" file="">
<![LOG[Worker CMGatewayNotificationWorker is finished processing.]LOG]!><time="16:11:36.5835593" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="88" file="">
<![LOG[Next run time will be at approximately: 07/20/2020 16:12:36]LOG]!><time="16:11:36.5835593" date="7-20-2020" component="SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker" context="" type="1" thread="88" file="">
Thank you for your help
Jul 22 2020 02:52 AM
@Stephane Lalancette This would seem to be a bug. If you need to know for sure, you're going to have to raise a Support Request with Microsoft Support.
Aug 17 2021 05:01 AM
@Stephane Lalancette hate to necro-post, but I'm having this same issue. Did you ever get this resolved?
Aug 31 2021 07:25 AM
@mbukawhiteDid you solved this? I have the same issue
Aug 31 2021 07:30 AM
@Michael140 No we still have not resolved this issue. I have a support case open with Microsoft but they can't seem to figure it out either. I've been through the Intune team and the Configuration Manager team and no one knows what's going on.
Sep 21 2021 02:51 PM
Mar 27 2023 03:19 PM
@DxR Same issue here with 2203. Tried offboarding and removing enterprise app, intune connector, etc.
Same issue when I re-enroll.