Issue with Change Tracking and Inventory

GarethBeaumont-8270 0 Reputation points
2025-02-11T16:49:42.0766667+00:00

I think I have found a bug in Azure Arc for Change Tracking and Inventory

When you view Windows Services (for example) of an Arc-enabled machine the services are all displayed as expected

However, when you try to drill into that service to view all machines where that service is you are returned with an empty result set.

After troubleshooting, I have captured the KQL sent by the browser to return the result set and have worked out what is going on.

The query does a JOIN on the ConfigurationData and Heartbeat tables ON the Computer field

The issue arises because ConfigurationData stores the machine name as onboarded into Arc. Heartbeat contains the FQDN of the computer. So if the machine is onboarded using only the hostname (as per default Azure Arc onboarding behaviour mentioned in point 4 in the below article) then you will see this issue

If the query used _ResourceId instead then this would not be an issue

I have a support call raised but I wanted to raise it here as well for visibility of the issue.

I don't want to have to onboard all of our devices again using the FQDN as that is just madness through bad coding. I am trying to present Arc to the business and this is a key feature we need for audit and investigations.

Feel free to reach out if you need specifics

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
477 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rahul Podila 1,825 Reputation points Microsoft Vendor
    2025-02-18T02:31:30.4866667+00:00

    Hi @GarethBeaumont-8270

    It seems that there is a discrepancy between the machine name stored in the ConfigurationData table and the FQDN stored in the Heartbeat table, causing the query to return empty results when trying to view all machines where a specific service is running.

    Based on the information you provided, it appears that the JOIN operation in the query is using the Computer field to link the two tables, which can lead to issues when the machine is onboarded using only the hostname instead of the FQDN. To resolve this issue, you suggested using _ResourceId in the query instead of the Computer field.

    I recommend continuing to work with the support team on your raised support call to address this issue. It's important to ensure that the data alignment between ConfigurationData and Heartbeat tables is accurate for proper functionality of Azure Arc for Change Tracking and Inventory.

    If you have any further queries, do let us know


    If the answer is helpful, please click "Upvote it"

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.