Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Check that the Azure Monitor Agent is installed on your Linux VM. In the Azure portal, go to Extensions + applications for your VM and make sure it says "Provisioning succeeded" for AzureMonitorLinuxAgent.
Ensure you're using version 2.20 or higher of the Change Tracking extension for Linux. Upgrade it with this command:
az vm extension set -n {ExtensionName} --publisher Microsoft.Azure.ChangeTrackingAndInventory --ids {VirtualMachineResourceId}
Make sure you have a Data Collection Rule (DCR) for Change Tracking and Inventory, and that it is applied to your VM to collect data.
Create a User-Assigned Managed Identity with Contributor permissions on your VMs. This lets the AMA send data to the Log Analytics Workspace.
Assign this identity to your VM either manually or through a policy to give it the required permissions.
Make sure your VM can connect to Azure services. You can check this by running network tests or pinging Azure endpoints.
For reference, please review this documentation: -
https://learn.microsoft.com/en-us/azure/automation/change-tracking/overview-monitoring-agent?tabs=win-az-vm
https://learn.microsoft.com/en-us/azure/azure-monitor/agents/azure-monitor-agent-troubleshoot-linux-vm
https://learn.microsoft.com/en-us/azure/automation/change-tracking/manage-change-tracking-monitoring-agent?tabs=windows%2Csa-mi#code-try-0
If you have any further queries, do let us know.
If the answer is helpful, please click "Accept Answer" and "Upvote it".