Hi @Alex ,
AFAIK the agent status that you are referring is about VM agent but not Log Analytics agent so go to Extensions tile of VM and see if status of Log Analytics agent is “Provisioning succeeded” or not.
Linux:
Windows:
If status is shown as “Provisioning succeeded” then go to VM connected Log Analytics workspace and run “Heartbeat” query to see if live heartbeat records are being logged or not. This, this and this are related references.