Hi Jessie,
Welcome to Microsoft Q&A Forum, thank you for posting your query here!
Please install the waagent on the Linux machine so that you can see the agent is ready and online, if it is agent already installed, please restart the waagent, please find the below documents how to install it.
Please refer to these docs on how to install Azure VM agent on Linux: https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-linux#installation
To update the Azure Linux Agent on a VM:
https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/update-linux-agent
Install the Azure Virtual Machine Agent in offline mode:
https://learn.microsoft.com/en-us/azure/virtual-machines/troubleshooting/install-vm-agent-offline
let us know if any help, we will always help as you needed.!