Azure virtual machine extensions and features - Azure Virtual Machines (2024)

  • Article

Extensions are small applications that provide post-deployment configuration and automation on Azure virtual machines (VMs). The Azure platform hosts many extensions covering VM configuration, monitoring, security, and utility applications. Publishers take an application, wrap it into an extension, and simplify the installation. All you need to do is provide mandatory parameters.

View available extensions

You can view available extensions for a VM in the Azure portal.

  1. In the portal, go to the Overview page for a VM.
  2. Under Settings, select Extensions + Applications.

The list of available extensions are displayed.To see the complete list of extensions, see Discovering VM Extensions for Linux and Discovering VM Extensions for Windows.

Install and use extensions

Azure VM extensions can be managed by using the Azure CLI, PowerShell, Azure Resource Manager (ARM) templates, and the Azure portal.

  1. From the Extensions + Applications for the VM, on the Extensions tab, select + Add.
  2. Locate the Custom Script Extension option. Select the extension option, then select Next.

You can then pass in a command or script to run the extension.

For more information, see Linux Custom Script Extension and Windows Custom Script Extension.

Check for prerequisites

Some individual VM extension applications might have their own environmental prerequisites, such as access to an endpoint. Each extension has an article that explains any prerequisites, including which operating systems are supported.

Manage extension application lifecycle

You don't need to connect to a VM directly to install or delete an extension. The Azure extension lifecycle is managed outside of the VM and integrated into the Azure platform.

Troubleshoot extensions

If you're looking for general troubleshooting steps for Windows VM extensions, refer to Troubleshooting Azure Windows VM extension failures.

Otherwise, specific troubleshooting information for each extension can be found in the Troubleshoot and support section in the overview for the extension. Here's a list of the troubleshooting information available:

NamespaceTroubleshooting
microsoft.azure.monitoring.dependencyagent.dependencyagentlinuxAzure Monitor Dependency for Linux
microsoft.azure.monitoring.dependencyagent.dependencyagentwindowsAzure Monitor Dependency for Windows
microsoft.azure.security.azurediskencryptionforlinuxAzure Disk Encryption for Linux
microsoft.azure.security.azurediskencryptionAzure Disk Encryption for Windows
microsoft.compute.customscriptextensionCustom Script for Windows
microsoft.ostcextensions.customscriptforlinux
microsoft.powershell.dscDesired State Configuration for Windows
microsoft.hpccompute.nvidiagpudriverlinuxNVIDIA GPU Driver Extension for Linux
microsoft.hpccompute.nvidiagpudriverwindowsNVIDIA GPU Driver Extension for Windows
microsoft.azure.security.iaasantimalwareAntimalware Extension for Windows
microsoft.enterprisecloud.monitoring.omsagentforlinuxAzure Monitor for Linux
microsoft.enterprisecloud.monitoring.microsoftmonitoringagentAzure Monitor for Windows
stackify.linuxagent.extension.stackifylinuxagentextensionStackify Retrace for Linux
vmaccessforlinux.microsoft.ostcextensionsVMAccess for Linux
microsoft.recoveryservices.vmsnapshotSnapshot for Linux
microsoft.recoveryservices.vmsnapshotSnapshot for Windows

Next steps

Azure virtual machine extensions and features - Azure Virtual Machines (2024)
Top Articles
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 5872

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.