Azure Azure Arc Hybrid Cloud Linux Windows Server

Azure Arc: Verify Azure Arc Connect Machine agent and specific Arc-enabled Server settings via the Azure Portal


In this blog post, you’ll learn how to easily verify Azure Arc Connected Machine agent settings and specific Arc-enabled server settings via the Azure Portal.

As most of you who are already familiar with using Azure Arc know, to ensure your Azure Arc-enabled servers are correctly configured, you can verify the Azure Arc Connected Machine agent and specific Arc-enabled server settings by running the following commands directly on the server in PowerShell as an Administrator:

Display the current status and connection details of the Azure Connected Machine agent:

azcmagent show


Display detailed configuration settings for the Azure Connected Machine agent:

azcmagent config list


But what if you don’t have access to log in to any servers locally, or you’re unable to connect to your office network via VPN, yet you still need to troubleshoot an Azure Arc-enabled server that isn’t responding? How can you gather the essential troubleshooting information without direct access?

In this blog post, I’ll show you how to verify the Azure Arc Connected Machine agent and check specific Arc-enabled server settings, all through the Azure Portal.


Verify Azure Arc Connected Machine agent and Arc-enabled server Settings via the Azure Portal

First, log in to the Azure Portal using an account with the appropriate Azure role-based access control (RBAC) permissions. At minimum, the Reader role is required.

To verify the agent and other server-specific settings, type “machines” in the global search bar and select “Machines – Azure Arc.” This will open the Azure Arc Machines page.

Then select the Server Object by clicking on the server name, as shown in my example, swpweb041.


This will open the Machines page, where you can find key information displayed under the Essentials section, such as the agent connection status, the agent version, all the applied Tags, and the license type.


But if you click on the JSON View link on the right side of the screen, you’ll find even more information related to the agent and other server-specific settings.


On the Resource JSON page you can not only find patchSettings and extensionsAllowList configuration settings, but also other agent properties and server-specific settings, such as configMode, networkProfile, and guestConfigurationEnabled, to verify the current agent configuration.






Conclusion

In situations where you don’t have local access to a server or can’t connect to your office network via VPN, troubleshooting an unresponsive Azure Arc-enabled server may seem challenging.

However, as we’ve explored in this blog post, you can still gather essential troubleshooting information by using the Azure Portal. By verifying the Azure Arc Connected Machine agent and checking key server settings, you can efficiently diagnose issues without needing direct access to the machine.

If you have any questions or suggestions about this blog post, feel free to reach out to me on X (@wmatthyssen) or leave a comment. I’ll be happy to assist!


Unknown's avatar

Wim is an Azure Technical Advisor and Trainer with over fifteen years of Microsoft technology experience. As a Microsoft Certified Trainer (MCT), his strength is assisting companies in the transformation of their businesses to the Cloud by implementing the latest features, services, and solutions. Currently, his main focus is on the Microsoft Hybrid Cloud Platform, and especially on Microsoft Azure and the Azure hybrid services.   Wim is also a Microsoft MVP in the Azure category and a founding board member of the MC2MC user group. As a passionate community member, he regularly writes blogs and speaks about his daily experiences with Azure and other Microsoft technologies.