Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED Creade a device collection based on security group in ad

  • Thread starter Thread starter micdam
  • Start date Start date
  • Replies Replies 9
  • Views Views 4K

micdam

Well-Known Member
Messages
99
Reaction score
1
Points
8
Hy
is it possible to create a device collectin based on a security group in AD?
i tried to do it ma it didn't work?
this is ad

1566481851558.png


and this is the query on sccm


1566482093746.png
 
Hi,

Make sure that the Active Directory Groups Discovery is enabled (Administration > Overview > Hierarchy Configuration > Discovery Methods) and the Security groups are discovered.

In the query, change the Value to VDI_SCCM_Console then update the membership of the collection.
 
Can you check the adsgdis.log log file if there are any error?
On the console, check if you can find the VDI_SCCM_Console on the All users and groups collection.
 
and what about heartbeat discovery? ad discovery will do nothing if the devices already exit in sccm.
 
Hy,
the log is ok, i delete and re-create the security group and now it works.
probably it depends on that the security goup was renamed and also if i changed the query it didn't work
 
Hy,
the log is ok, i delete and re-create the security group and now it works.
probably it depends on that the security goup was renamed and also if i changed the query it didn't work
dont forget its still a WQL query. if you renamed the group and didnt change the group name in your collection query, obviously it wont work.

On your query, click on the show query language to understand what the query actually does.
 
Back
Top