Recently setup Intune with SCCM integration. Now I would like to setup device collections based what division of the company that the device works for. Looking for some help on creating a query to sort the devices registered in Intune into device collections based on an ad group that the device owner is a member of.
Example.
User A is a member of AD Group - Company A. User's A's mobile device should be in collection A
User B is a member of AD Group - Company B. User's B's mobile device should be in collection B