Cloud-Attach is not enabled

IntuneUser 176 Reputation points
2023-11-26T18:04:48.95+00:00

I have enabled cloud-attach in SCCM console to sync a Device Collection to IntuneUser's image

However, my connector status is showing as Unhealthy since few hours now:User's image

My ConfigMgr App has the following permissions:User's image

I can see the following in my CMGatewayNotificationWorker logs:

[LocationRequest (unauthenticated)] Creating web request to: https://gateway.configmgr.manage.microsoft.com/api/gateway/LocationService Method: HEAD Activity ID: 35a1992e-d149-42ae-a573-c4633f021cd5 Timeout: 00:02:00 SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 26-11-2023 17:47:24 148 (0x0094)

[LocationRequest (unauthenticated)] Response from https://gateway.configmgr.manage.microsoft.com/api/gateway/LocationService is: 401 (Unauthorized) SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 26-11-2023 17:47:24 143 (0x008F)

Response status code: 401 (Unauthorized) Activity ID: 5263f78c-2af0-4ff6-94c8-0188032cc875 SMS_SERVICE_CONNECTOR_CMGatewayNotificationWorker 26-11-2023 17:47:24 143 (0x008F)

User's image

Note: I used a Global Admin account is purely a Cloud Account(and not an AD-Synced account) to authenticate while setting up Cloud-Attach.

Need to understand what permissions am I missing.

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
1,069 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
2,074 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,569 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Simon Ren-MSFT 40,411 Reputation points Microsoft External Staff
    2023-11-27T07:43:54.28+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    1,Are your Azure App's setup correctly? Refer to the official article:

    https://docs.microsoft.com/en-us/mem/configmgr/cloud-attach/enable

    2,Ensure Grant admin consent for Tenant is selected for the Microsoft Entra application. For more information, see Grant admin consent in App registrations

    3,If possible, we could disable cloud attach, remove the app registration, and then re-enable cloud attach to have a try.

    Thanks for your time. Have a nice day!

    Best regards,

    Simon


    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

  2. Simon Ren-MSFT 40,411 Reputation points Microsoft External Staff
    2023-12-01T09:31:38.86+00:00

    Hi,

    Just checking in to see if there is any update. We haven't heard from you for a few days and would like to know the current status of the problem. Is the problem solved? Do you need any further assistance? Look forward to hearing from you.

    Thanks for your time.

    Best regards,

    Simon

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.