Remove device from dynamic group after autopilot process is finished

Alessandro Zola 101 Reputation points
2022-05-24T08:26:48.98+00:00

Hi all I'd like to create a dynamic group to use only during the autopilot process where I can apply autopilot profiles and apps installation
After the process is finished the device should exit from this group.
Is it possible?
Thanks

Microsoft Security | Intune | Other
{count} vote

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 54,211 Reputation points Microsoft External Staff
    2022-05-25T01:53:56.817+00:00

    @Alessandro Zola , Based as I know, we create Autopilot dynamic group based on the attribute like devicePhysicalIDs. For the dynamic group, it manages the membership according to the rule configured on it. It will only remove the member when it doesn't meet the rule. For the device which has finished Autopilot enrollment, the device attribute is still there and the device still meet the rule. The membership is controlled by the rule. So we can't remove the device manually.
    https://learn.microsoft.com/en-us/mem/autopilot/enrollment-autopilot

    If you want to deploy policy or app to these already enrolled devices, you can consider to create new group for them.

    Hope it 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.


Your answer

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