Computer Group Syncing

Brass Contributor

We are using Computer Group Syncing to synchronize our AD Group memberships into Log Analytics. It looks like the data here is incomplete, it is only capturing a portion of the systems that are a member of the AD group.


We have the agent installed on 60 or so systems and log analytics reports its syncing membership for 29 systems.


Are there any secrets to get this reliably working?

3 Replies



So the Microsoft Managment Agent is deployed on 60 machines, but you get results from 27.  Do you have any records in the Heartbeat table for the 33?

| summarize arg_max(TimeGenerated, *), count() by Computer

 You may need to add a Line #2 to the above, e.g.  if the 60 have "AD" in their name, this may help

| where Computer contains "AD"
//| where Computer startswith "abc"
//| where Computer endswith "xzy"
| summarize arg_max(TimeGenerated, *), count() by Computer

 If we know you have Agent data reported to Heartbeat that rules out issues such as Firewalls etc...

See here for more help:



Running the heartbeat query, 61 records are returned


If I run the below query, I only receive 31 records.

| where GroupSource == "ActiveDirectory"
| distinct Computer


It doesn't appear to be an agent communication issue since all of our systems are sending heartbeats. 



...and are all 60 in ComputerGroup if you remove

| where GroupSource == "ActiveDirectory"

If not, then we have 60 working systems, but only some make it into the ComputerGroup...