How can I create a dynamic group in Intune that will only have devices that have completed the Autopilot enrollment process

Engelhardt, Bryan 0 Reputation points
2024-04-17T02:49:29.1933333+00:00

I would like to create a dynamic group that only contains devices that have completed the autopilot enrollment process and went through the ESP successfully. How can I create a query to group those devices?

Windows Autopilot
Windows Autopilot
A collection of Microsoft technologies used to set up and pre-configure new devices and to reset, repurpose, and recover devices.
407 questions
Microsoft Intune Grouping
Microsoft Intune Grouping
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Grouping: The arrangement or formation of people or things in a group or groups.
38 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,344 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Crystal-MSFT 42,961 Reputation points Microsoft Vendor
    2024-04-17T06:20:36.0033333+00:00

    @Engelhardt, Bryan, Thanks for posting in Q&A. Based on my researching, I think you can create a rule which enrollmentProfileName equals to the Windows Autopilot profile name the device enrolled with to automatically added these Autopilot enrolled devices into the group.

    https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership#rules-for-devices

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


  2. Crystal-MSFT 42,961 Reputation points Microsoft Vendor
    2024-04-23T03:09:33.19+00:00

    @Engelhardt, Bryan, Thanks for your reply. After researching more, I find there's a property named device.managementType which is used for enrolled device. You can try to add the following two properties to see if it can work.

    device.managementType -eq "MDM"

    device.enrollmentProfileName -eq "Autopilot profile name"

    If there's any update, feel free to let us know.

    0 comments No comments