Device group to include Intune device only

Iron Contributor


When we create a dynamic device group in Intune, it is indeed a AAD group.

It often includes devices that are already deleted from Intune, but still exist in AAD.


What attribute can I use to include only the devices that exist in Intune?


I have tried (device.managementType -eq "MDM"), that doesn't seem to work.

The other alternative is to use filters, which is specifically designed with Intune device attributes.


I just want nice looking AAD groups that include Intune devices.


Any suggestions?


1 Reply
best response confirmed by wangjueliang (Iron Contributor)
1 best response

Accepted Solutions