Forum Discussion

MTSBob's avatar
MTSBob
Steel Contributor
Oct 05, 2018

Intune auto MDM enrollment for devices already Azure AD joined?

I have a client whose fleet of Windows 10 PC's are already joined to their organizational AAD (company-ownership), without any MDM, but now would like to start using Intune. They've upgraded their licenses to AAD premium and EMS, so that they could use Intune MDM for these devices - and take advantage of MDM auto-enrollment going forward. However, is it possible to get their existing non-MDM devices to "auto enroll" into Intune, even though they are already AAD joined (prior to them getting Intune)? I can only find auto-enrollment scenarios working at AAD join time, not after the fact.
    • José Luiz Schenardie's avatar
      José Luiz Schenardie
      Brass Contributor

      Hi Oliver,

       

      so what should companies which are long using AAD joined devices and want to start using Intune leveraging the Intune Management Extension do??  since the extension is only installed once MDM is Auto Enrolled and the MDM cannot be auto enrolled because the client is already joined to Azure AD.

       

      Whats the best solution for that?

       

      Thanks

      • Claytonlopes's avatar
        Claytonlopes
        Copper Contributor
        I have the same issue , did you find a solution
  • Hi,

    may you PM me some more details about how many devices are blocked by this and some more details. This would be helpful for MS.

     

    best,

    Oliver

  • I have similiar case here. We have around 40 laptop users using O365 and devices are connected to Azure AD. Now I want to deploy M365 and Intune for them. I have upgraded users subscription to M365 and Windows version has been upgraded automatically to Windows 10 business as should. Computers won't pop-up automatically to Intune… I have read that I should cut the current connection to Azure AD from each Workstation and re-join devices again manually to Azure AD. I have tested this and computers will pop-up in Intune. This will do the trick, but isn't there a simpler way?

    • José Luiz Schenardie's avatar
      José Luiz Schenardie
      Brass Contributor

      Hi Kaya,

      thanks for your reply but that doest work because the devices are currently not managed by Intune 

       

      "For this blog I have the following assumptions;

      • You have Windows AutoPilot already up and running in your Azure tenant like described in my previous blog
      • You have Windows 10 devices in use that are currently managed by Microsoft Intune but are not registered with Windows AutoPilot."

      Imagine a following scenario, a company which is cloud only and all the devices (hundreds) are joined to Azure AD. They never seem the benefits of Intune before so the MDM was never configured. Now they are getting into the idea of managing these devices via Intune only and leverage the App Distribution provided by Intune (which requires Intune Management Extension). The only way the Management Extension is installed automatic is when the device is joined to Azure AD. So for this company be enabled with Intune and the Mgmt Extension they need to manually re-join all its devices to Azure AD.

       

      That is Sadly the only way it currently works.

       

       

    • lyonheart14's avatar
      lyonheart14
      Copper Contributor

      This would require a reset to implement for intune enrollment, probably out of the OP's scope.

      • BENT17's avatar
        BENT17
        Brass Contributor

        I have hundreds of laptops which I need to enrol to intune. I have set up the gpo to auto enrol but all they appear is under Azure AD Devices and not under All devices. I need them under all devices so that I can manage them. If I download the company portal and follow the steps then the laptop gets enrolled however I want this to be transparent and automatically enrolled. Any help??

  • JWilkinson's avatar
    JWilkinson
    Copper Contributor

    I am running into this exact same scenario. The previous director of IT only enrolled in the office 365 plan with Azure Active Directory, and we now want to use MDM with InTune and its turning out that we can't because everyone is already signed into Azure Active Directory 

    • José Luiz Schenardie's avatar
      José Luiz Schenardie
      Brass Contributor
      Welcome to the club mate. Only way to get it to work is unenroll from azure (make sure you know the local admin account pwd and the account is active) reboot and re-enrol.
      • Claytonlopes's avatar
        Claytonlopes
        Copper Contributor
        2nd that , completed my site doing the above. You don’t lose user profiles . Everything stays the same when you remove and add them back in
  • wombat39's avatar
    wombat39
    Copper Contributor

    MTSBob,

    The easiest way is to just got to the "Access Work or School" setting, and then click "Connect" again, and sign in again. This will apply the MDM policy as long as the user you're using has that license applied to them. 

     

    I'm doing this now as we're deploying MDM on an Azure AD environment. It's still manual, but it's not that bad. Users could also do this if they have an MDM license. 

    • jackfight's avatar
      jackfight
      Brass Contributor

      wombat39This got the device into Intune, however it looks like it adds the device as BYOD device (personal) and not a corporate device. 

      • Paul Mitchell's avatar
        Paul Mitchell
        Brass Contributor

        We have on premise AD using AD connect to sync details to AAD, all users are using M365. 

        We have followed the instructions to auto enrol

        https://docs.microsoft.com/en-us/mem/intune/enrollment/windows-enroll

        but so far, none of our test clients are enrolling.

        User 1 – Domain joined on local prem DC

        AzureAdJoined: YES

        EnterpriseJoined: NO

        DomainJoined: YES

        User 2 – Device joined to Azure AD

         

        As other’s have mentioned, we would like to minimise the disruption to end users, hence why we were looking to use the auto enrolment option.

    • jjgage's avatar
      jjgage
      Brass Contributor

      wombat39 

       

      That won't work - it will come up with a message saying 'This device is already joined to Azure Active Directory'.

       

      And it will do the same if you go to 'portal.manage.microsoft.com' and click the device to enrol.

    • jjgage's avatar
      jjgage
      Brass Contributor
      So annoying! I thought it wad bad enough having no migration path from Hybrid AAD Joined to AAD Joined.

      But to not have option to just enroll an AAD Joined device is crazy.
      • Orion-Skol's avatar
        Orion-Skol
        Brass Contributor
        i was in same situation. But dig more on schedule with intune. found following command and added some parameters. All my devices are in Intune now.
        here is the command i ran
        c:\windows\system32\deviceenroller.exe /c /AutoEnrollMDM

        not sure if this works for you guys, but give it try
  • Bobvdwoude's avatar
    Bobvdwoude
    Copper Contributor

    Hi, so we are in the same situation and use azure doman join machines but i managed to get the devices in Intune. We use a device managemen system Quest to run scripts on the machines.

     

    1. give the user rights to enroll in intune


    2. we are already using LGPO utility to push local policy's to everymachine (because they are not managed by intune yet). so we adjust the policy with the "Computer policy\administrative templates\windows components\MDM with the settings Enabled and User Credentials"


    3. When applying the GPO it must be applied with admin rights under a Office365 user with admin rights in the O365 tenant. Because our Quest system can not run under a Office365 account we start a script with PSEXEC64 . example:

    psexec64 -c lgporunner.cmd -u user@azuredomain.com -p password /accepteula


    4. lgporunner.cmd consist of:

    START /MIN LGPO.exe /g (directorywith LGPO settings)
    START /MIN Gpupdate /force

    call c:\windows\system32\deviceenroller.exe /c /AutoEnrollMDM

     

    5. after this the device is enrolled in our Intune.

     

    Update:

    after that the solution from this site is working to add the devices to autopilot:

    https://www.robinhobo.com/automatic-add-existing-windows-10-devices-to-windows-autopilot/

  • MrDavo-SC's avatar
    MrDavo-SC
    Copper Contributor

    MTSBob 
    I too have just run into this. After 2days of troubleshooting with my own machine (admin), and one other, I came across this thread.

    I have only about 15 machines, but many of them are remote, but I can remote to them. 

     

    If there have been any changes, would love to hear them.

     

    Wish me luck.

Resources