Forum Discussion

MrTunnel's avatar
MrTunnel
Copper Contributor
Nov 18, 2026

Intune Enrolement Not Working For Some Devices

Hi everyone

 

We have a lots of Windows 11 devices split across to subnets. For example, one set is on a 1.1.xx.xx and another lot is on 2.2.xx.xx.

We are also running the current branch of Microsoft Configuation Manager and co-management is enabled.

All the devices are Hybrid-Joined and there is no issue with this.

The Auto-Enrolement GPO is set correct.

All endpoints are reachable. SSL inspection is not blocked. I even set a policy to allow some test device straight out of the firewall but that didn't resolve things.

From what I can tell, everything is set correct in Group Policy, Intune, Entra and Intune. I've pasted screenshots of everything in to Co-Pilot and that confirms the settings are all ok.

The problem I have is the devices on network 1.1.xx.xx enrole in to Intune no problem at all. The devices on 2.2.xx.xx will not enrole. There are no errors in the Event logs, the schreduled task job is there but if you re-run it nothing happens. 


I have literally tried everything I can think of but I just can't get these devices to enrole. If the 2.2.xx.xx devices enrole ok, surely the 1.1.xx.xx devices should as they are using the same settings. I can force them in to Intune using Configuration Manager cloud attach but they never check-in.

 

Any ideas as to what is going on? I'm all log filed out and Co-Pilot can't seem to find anything wrong.

 

Thanks in advance.

9 Replies

  • Since devices on subnet 1.1.x.x enroll successfully but 2.2.x.x do not, I'd focus on network-specific differences rather than rebuilding your Intune configuration.

     

    I'd check these first:

     

    1. Proxy/firewall: Compare outbound HTTPS (TCP 443) connectivity to Microsoft Entra and Intune endpoints from both subnets.

    2. DNS: Compare DNS resolution for Microsoft enrollment and MDM endpoints.

    3. Conditional Access: Check sign-in logs in Entra ID for failed or blocked enrollment attempts from affected devices.

    4. Scheduled task: Check `Task Scheduler > Microsoft > Windows > EnterpriseMgmt` and verify whether the enrollment task actually executes.

    5. Device logs: Check Event Viewer under: `Applications and Services Logs > Microsoft > Windows > DeviceManagement-Enterprise-Diagnostics-Provider`.

     

    My biggest suspicion: A subnet-specific firewall, proxy, DNS, or Conditional Access difference.

     

    One useful test: Take a failing device from subnet 2.2.x.x and temporarily move it to subnet 1.1.x.x. If enrollment succeeds, you've narrowed the problem to network configuration rather than Intune or GPO.

     

    Also compare `dsregcmd /status` between one working and one failing device.

  • Since devices on subnet 1.1.x.x enrol successfully but 2.2.x.x devices don't, I'd investigate network-specific connectivity or proxy differences, rather than changing your GPO or Intune configuration.

     

    Check these first:

     

    1. DNS: Compare DNS resolution between working and failing devices.

    2. Proxy/firewall: Check outbound access to Microsoft Intune and Entra endpoints (especially `login.microsoftonline.com` and `*.manage.microsoft.com`).

    3. TLS inspection: Verify both subnets have identical SSL inspection and certificate handling.

    4. Device registration: Run `dsregcmd /status` and compare both devices.

    5. Enrollment logs: Check Event Viewer → Applications and Services Logs → Microsoft → Windows → DeviceManagement-Enterprise-Diagnostics-Provider → Admin.

     

    Useful test: Run `Test-NetConnection login.microsoftonline.com -Port 443` on one working and one failing device.

    My suspicion

     

    Something specific to subnet 2.2.x.x is preventing the enrollment process or subsequent Intune check-in.

     

    Don't change multiple policies until you've compared the network results.

  • Your latest result may be the real clue. The proxy and endpoint checks all pass, yet you still see DeviceAuthStatus FAILED with 0xd000023c, so I would look at the device object and hybrid join state on the 2.2 devices rather than the network. As far as I know, GPO auto-enrollment uses the device credential, so if the device cannot authenticate to Entra, the scheduled task has nothing to enroll with and just does nothing.

    What I would compare on one failing device and one working device: (a) run dsregcmd /status as SYSTEM (PsExec -s) and as the user, and compare AzureAdJoined, DomainJoined, DeviceId and the Device Auth section. (b) In the Entra admin center, search the failing device by name. Is it there once or twice, is it Pending instead of Registered, is it enabled, and does it show as Hybrid joined? (c) Check whether the 2.2 devices sit in a different OU or AD site than the 1.1 ones. If that OU is outside the Entra Connect sync scope, you would get exactly this split.

    Also check the Microsoft-Windows-User Device Registration/Admin log on a failing device for the join result and error code, and look for duplicate or stale device objects with the same name if these machines were cloned or reimaged. Can you post the dsregcmd /status output (device name removed) from one device of each subnet, plus the OS build?

    • MrTunnel's avatar
      MrTunnel
      Copper Contributor

      Hi ya, I've sent you a message because it's not posting the output on here for some reason.

  • MrTunnel's avatar
    MrTunnel
    Copper Contributor

    Hi everyone. I ran a PowerShell script that I found that checks all the endpoints from the official site itself. This was the result. Here is the URL for reference: https://joymalya.com/easily-check-required-connectivity-for-intune-from-within-customer-network/

    Everything passed:

    Checking winHTTP proxy settings...

    Access Type : DIRECT

    Starting Connectivity Check...

    Checking Category: ... M365 Common

    Connection to account.activedirectory.windowsazure.com .............. Succeeded.

    Connection to accounts.accesscontrol.windows.net .............. Succeeded.

    Connection to adminwebservice.microsoftonline.com .............. Succeeded.

    Connection to api.passwordreset.microsoftonline.com .............. Succeeded.

    Connection to auth.microsoft.com .............. Succeeded.

    Connection to autologon.microsoftazuread-sso.com .............. Succeeded.

    Connection to ccs.login.microsoftonline.com .............. Succeeded.

    Connection to clientconfig.microsoftonline-p.net .............. Succeeded.

    Connection to companymanager.microsoftonline.com .............. Succeeded.

    Connection to device.login.microsoftonline.com .............. Succeeded.

    Connection to graph.microsoft.com .............. Succeeded.

    Connection to graph.windows.net .............. Succeeded.

    Connection to login.microsoft.com .............. Succeeded.

    Connection to login.microsoftonline.com .............. Succeeded.

    Connection to login.microsoftonline-p.com .............. Succeeded.

    Connection to login.windows.net .............. Succeeded.

    Connection to logincert.microsoftonline.com .............. Succeeded.

    Connection to loginex.microsoftonline.com .............. Succeeded.

    Connection to login-us.microsoftonline.com .............. Succeeded.

    Connection to msftidentity.com .............. Succeeded.

    Connection to nexus.microsoftonline-p.com .............. Succeeded.

    Connection to passwordreset.microsoftonline.com .............. Succeeded.

    Checking Category: ... M365 Common

    Connection to enterpriseregistration.windows.net .............. Succeeded.

    Connection to hip.live.com .............. Succeeded.

    Connection to microsoftonline.com .............. Succeeded.

    Connection to microsoftonline-p.com .............. Succeeded.

    Connection to msauth.net .............. Succeeded.

    Connection to msauthimages.net .............. Succeeded.

    Connection to msecnd.net .............. Succeeded.

    Connection to msftauth.net .............. Succeeded.

    Connection to msftauthimages.net .............. Succeeded.

    Connection to phonefactor.net .............. Succeeded.

    Checking Category: ... M365 Common

    Connection to microsoft.com .............. Succeeded.

    Connection to msocdn.com .............. Succeeded.

    Connection to onmicrosoft.com .............. Succeeded.

    Checking Category: ... M365 Common

    Connection to activation.sls.microsoft.com .............. Succeeded.

    Checking Category: ... M365 Common

    Connection to crl.microsoft.com .............. Succeeded.

    Checking Category: ... M365 Common

    Connection to cacerts.digicert.com .............. Succeeded.

    Connection to cert.int-x3.letsencrypt.org .............. Succeeded.

    Connection to crl.globalsign.com .............. Succeeded.

    Connection to crl.globalsign.net .............. Succeeded.

    Connection to crl.identrust.com .............. Succeeded.

    Connection to crl3.digicert.com .............. Succeeded.

    Connection to crl4.digicert.com .............. Succeeded.

    Connection to entrust.net .............. Succeeded.

    Connection to geotrust.com .............. Succeeded.

    Connection to mscrl.microsoft.com .............. Succeeded.

    Connection to ocsp.digicert.com .............. Succeeded.

    Connection to ocsp.globalsign.com .............. Succeeded.

    Connection to ocsp2.globalsign.com .............. Succeeded.

    Connection to ocspx.digicert.com .............. Succeeded.

    Connection to omniroot.com .............. Succeeded.

    Connection to oneocsp.microsoft.com .............. Succeeded.

    Connection to public-trust.com .............. Succeeded.

    Connection to secure.globalsign.com .............. Succeeded.

    Connection to symcb.com .............. Succeeded.

    Connection to symcd.com .............. Succeeded.

    Connection to verisign.com .............. Succeeded.

    Connection to verisign.net .............. Succeeded.

    Connection to www.digicert.com .............. Succeeded.

    Connection to www.microsoft.com .............. Succeeded.

    Checking Category: ... M365 Common

    Connection to activity.windows.com .............. Succeeded.

    Checking Category: ... Global

    Connection to manage.microsoft.com .............. Succeeded.

    Checking Category: ... Delivery Optimization

    Connection to adl.windows.com .............. Succeeded.

    Connection to dl.delivery.mp.microsoft.com .............. Succeeded.

    Connection to do.dsp.mp.microsoft.com .............. Succeeded.

    Connection to tsfe.trafficshaping.dsp.mp.microsoft.com .............. Succeeded.

    Connection to update.microsoft.com .............. Succeeded.

    Connection to windowsupdate.com .............. Succeeded.

    Checking Category: ... NTP Sync

    Connection to time.windows.com .............. Succeeded.

    Checking Category: ... Windows Notifications & Store

    Connection to clientconfig.passport.net .............. Succeeded.

    Connection to s-microsoft.com .............. Succeeded.

    Connection to windowsphone.com .............. Succeeded.

    Checking Category: ... Scripts & Win32 Apps

    Connection to approdimedatahotfix.azureedge.net .............. Succeeded (needed for Asia & Pacific tenants only).

    Connection to approdimedatapri.azureedge.net .............. Succeeded (needed for Asia & Pacific tenants only).

    Connection to approdimedatasec.azureedge.net .............. Succeeded (needed for Asia & Pacific tenants only).

    Connection to euprodimedatahotfix.azureedge.net .............. Succeeded (needed for Europe tenants only).

    Connection to euprodimedatapri.azureedge.net .............. Succeeded (needed for Europe tenants only).

    Connection to euprodimedatasec.azureedge.net .............. Succeeded (needed for Europe tenants only).

    Connection to naprodimedatahotfix.azureedge.net .............. Succeeded (needed for North America tenants only).

    Connection to naprodimedatapri.azureedge.net .............. Succeeded (needed for North America tenants only).

    Connection to naprodimedatasec.azureedge.net .............. Succeeded (needed for North America tenants only).

    Connection to swda01-mscdn.azureedge.net .............. Succeeded.

    Connection to swda02-mscdn.azureedge.net .............. Succeeded.

    Connection to swdb01-mscdn.azureedge.net .............. Succeeded.

    Connection to swdb02-mscdn.azureedge.net .............. Succeeded.

    Connection to swdc01-mscdn.azureedge.net .............. Succeeded.

    Connection to swdc02-mscdn.azureedge.net .............. Succeeded.

    Connection to swdd01-mscdn.azureedge.net .............. Succeeded.

    Connection to swdd02-mscdn.azureedge.net .............. Succeeded.

    Connection to swdin01-mscdn.azureedge.net .............. Succeeded.

    Connection to swdin02-mscdn.azureedge.net .............. Succeeded.

    Checking Category: ... Push Notifications

    Connection to notify.windows.com .............. Succeeded.

    Connection to wns.windows.com .............. Succeeded.

    Checking Category: ... Autopilot Self-deploy

    Connection to ekcert.spserv.microsoft.com .............. Succeeded.

    Connection to ekop.intel.com .............. Succeeded.

    Connection to ftpm.amd.com .............. Succeeded.

    Checking Category: ... Collect Diagnostics

    Connection to lgmsapeweu.blob.core.windows.net .............. Succeeded.

    Checking Category: ... Microsoft Azure attestation - Windows 11 only

    Connection to intunemaape1.eus.attest.azure.net .............. Succeeded (needed for North America tenants only).

    Connection to intunemaape10.weu.attest.azure.net .............. Succeeded (needed for Europe tenants only).

    Connection to intunemaape11.weu.attest.azure.net .............. Succeeded (needed for Europe tenants only).

    Connection to intunemaape12.weu.attest.azure.net .............. Succeeded (needed for Europe tenants only).

    Connection to intunemaape13.jpe.attest.azure.net .............. Succeeded (needed for Asia & Pacific tenants only).

    Connection to intunemaape17.jpe.attest.azure.net .............. Succeeded (needed for Asia & Pacific tenants only).

    Connection to intunemaape18.jpe.attest.azure.net .............. Succeeded (needed for Asia & Pacific tenants only).

    Connection to intunemaape19.jpe.attest.azure.net .............. Succeeded (needed for Asia & Pacific tenants only).

    Connection to intunemaape2.eus2.attest.azure.net .............. Succeeded (needed for North America tenants only).

    Connection to intunemaape3.cus.attest.azure.net .............. Succeeded (needed for North America tenants only).

    Connection to intunemaape4.wus.attest.azure.net .............. Succeeded (needed for North America tenants only).

    Connection to intunemaape5.scus.attest.azure.net .............. Succeeded (needed for North America tenants only).

    Connection to intunemaape7.neu.attest.azure.net .............. Succeeded (needed for Europe tenants only).

    Connection to intunemaape8.neu.attest.azure.net .............. Succeeded (needed for Europe tenants only).

    Connection to intunemaape9.neu.attest.azure.net .............. Succeeded (needed for Europe tenants only).

    Test-DeviceIntuneConnectivity completed successfully.

    I also checked this:

    AzureAdPrt : YES

    There was this error though:

    DeviceAuthStatus : FAILED. Error: 0xd000023c


    I've also had a look for those error codes in the event viewer and there isn't any showing.

  • David and Rahul are on the right track — this smells like a proxy problem, but there's a subtlety worth pinning down: the browser test doesn't prove anything here, because enrollment runs in the system context, not the user's. The enrollment task runs as SYSTEM, so it uses the WinHTTP proxy, not the proxy your browser is using, and if the 2.2 subnet needs a proxy that only the signed-in user has, the task just sits there silently — which matches the 'scheduled task exists, re-run does nothing, no errors' symptom exactly.

     

    The cleanest way to prove it is Microsoft's own connectivity test. The Intune network endpoints documentation includes a diagnostics script that checks DNS, outbound ports 80 and 443 and HTTPS to the Intune service, and it has an option to run it as SYSTEM through PsExec — run it as SYSTEM on a failing 2.2 device and on a working 1.1 device and compare. If it fails as SYSTEM but passes as the user, you've found it.

     

    While you're at it, the endpoints that have to be reachable from the system are the ones in that same documentation — manage.microsoft.com, enterpriseenrollment.manage.microsoft.com and the *.dm.microsoft.com wildcard, plus login.microsoftonline.com for the sign-in side. Two things from that doc that trip people up: Intune needs unauthenticated proxy access to manage.microsoft.com, and SSL inspection isn't supported on those endpoints, so if the 2.2 path inspects traffic where the 1.1 path doesn't, enrollment will fail the same silent way.

     

    And the 'forced in via cloud attach but never checks in' bit actually confirms it rather than contradicting it — check-in uses the same channel, so a device that can't reach the service as SYSTEM will get forced in and then never talk to Intune again.

  • davidbro8's avatar
    davidbro8
    Brass Contributor

    My strongest suspicion is a network-specific issue, particularly DNS, proxy, or authentication.

     

    I'd try these three things first:

     

    1. Move one failing 2.2.xx.xx device onto the working 1.1.xx.xx subnet. If it enrols, you've isolated the problem to the network path.

    2. Run `dsregcmd /status` on both a working and failing device. Compare `AzureAdPrt` — ideally both should show `YES`.

    3. Check these event logs on a failing device:

    - `DeviceManagement-Enterprise-Diagnostics-Provider > Admin` (Events 75 and 76).

    - `TaskScheduler > Operational` (Events 107 and 102).

     

    Also compare proxy settings:

     

    cmd

     

    ```cmd

    netsh winhttp show proxy

     

    That single test could eliminate a lot of unnecessary troubleshooting.

  • rahuljindal's avatar
    rahuljindal
    Bronze Contributor

    Any winhttp proxy? The endpoints need to be reachable in system context and not the user. 

    • MrTunnel's avatar
      MrTunnel
      Copper Contributor

      Hi there

       

      Thanks for your input I've checked and there is no WinHTTP proxy set as I receive 

      Direct access (no proxy server)