Praveen Ayyasamy, Could you please elaborate - how did you check the service status?
- I would suggest checking the azcmagent (Azure Arc) agent status using the cmd below on the machine -
Especially, look for the "Agent Status" property to check whether the agent is connected or not.
- In the portal, check if the machine is available under "Azure Arc" --> "Servers"
In case the agent shows status as "Disconnected", follow the troubleshooting guide below to diagnose it further - Troubleshoot Azure Connected Machine agent connection issues. The following highlights some of the basic tests to be done:
- Check the logs in the following files and see what errors are being received:
/var/opt/azcmagent/log/azcmagent.log
/var/opt/azcmagent/log/azcmagent.log
- If
azcmagent
tool is already available on the machine (you are able to run this cmd), I would suggest trying to connect again to Azure Arc using the cmd below:
This should give a detailed error message, if there are issues onboarding the machine to Azure Arc.azcmagent connect \ --service-principal-id "{serviceprincipalAppID}" \ --service-principal-secret "{serviceprincipalPassword}" \ --resource-group "{ResourceGroupName}" \ --tenant-id "{tenantID}" \ --location "{resourceLocation}" \ --subscription-id "{subscriptionID}" --verbose
- In case there are issues connecting to Azure Arc endpoints, ensure that the networking requirements are met.
Hope this helps. Please let us know if you have any questions.