Forum Discussion
dynamic membership rule creates group with deleted devices
Also when I use the group to install an app, Install Status reports that the deleted device installed the app. These deleted devices have been deleted from Intune and then rejoined.
I know this has been a few years since you originally made this post. I found your post when I too was running into the same issue. I used this link to fix my issue: https://blog.hametbenoit.info/2022/06/23/azure-ad-new-device-attributes-are-available-for-use-for-dynamic-group-membership/#.Y1lyILbMJD8
We found that by using the devicemanagementappid as a membership rule and having it equal 0000000a-0000-0000-c000-000000000000 (intune management) this got rid of the deleted devices. Hope this helps either you or the next person with this same issue find a resolution.