Forum Discussion
jbchasseris
Aug 15, 2023Copper Contributor
Populate a dynamic device group with devices owned by members of a assigned 365 type group
Hello.
I'm trying to get some BYOD devices set up in groups corresponding to student classrooms, i could do it manually but it's pretty tedious work, and needs to be rechecked as students enroll their devices.
I have read this article Rules for dynamically populated groups membership - Microsoft Entra | Microsoft Learn
but can only find out how to add devices based on some attributes of the owner where groups the owner is member of is not included.
Does anyone have some tips or other resources i could use to accomplish this?
Thanks
- Jens
- rahuljindal-MVPBronze ContributorWhat are your requirements for grouping?
- jbchasserisCopper ContributorThe devices for the new device group needs to be owned by a user of a specific user group.
- rahuljindal-MVPBronze ContributorThe closest I have got to is listing devices against a particular user guid - device.devicePhysicalIDs -any _ -contains "[USER-GID]:<User object id goes here>"
What is the end goal? Is this for policy assignment in Intune? If yes, then maybe consider using Device filters over dynamic groups to ensure efficient policy assignments.