Racheal, thank you for reaching out to Microsoft Q&A and apologies for the delayed response.
Confirm that you have followed the entire steps as mentioned in the guide, especially the following:
- Associate machines to your data collection rules:
- From the Monitor menu, select Data Collection Rules.
- From the Data Collection Rules screen, select your data collection rule.
- Select View resources > Add.
- Select your machines > Apply.
This step is required to be followed for all the DCRs to add VMs which are getting migrated from OMS agent to AMA.
Also, once the association in DCR is done, it may take 5-10 minutes for new data to come in.
Regarding your query for the result from Heartbeat table, I would suggest querying the data for the specific machine and verifying the result. Because, if AMA and OMS agent are both installed on the machine, duplicate data will be sent to LA workspace, which might create confusion.
Therefore, querying for a specific machine in Heartbeat table and orderd by timegenerated field should show entries from both tables - if any.
Heartbeat
| where Computer == '<Computer Name>'
| order by TimeGenerated desc
Hope this helps.
Please let us know if you are still facing this issue.