What is required to publish a VM extension to Azure?

Michael Niehaus 1 Reputation point
2023-07-07T20:27:57.3066667+00:00

We are interested in authoring and publishing a VM extension to install the Tanium client agent on Azure VMs. What is required to do this? It appears to require some additional permissions, as referenced in this separate thread:

https://learn.microsoft.com/en-us/answers/questions/1193465/how-can-i-add-my-own-implemented-extension-to-the

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,336 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Michal Marchlewski 0 Reputation points
    2023-07-07T22:13:28.7733333+00:00

    Hi Michael, To publish an Azure VM extension, you can follow these steps:

    1. Prepare a PowerShell script.
    2. Open a quickstart template in Azure Quickstart Templates.
    3. Edit the template by adding a virtual machine extension resource to the existing template.
    4. Deploy the template.
    5. Clean up resources.

    Alternatively, you can use the Azure CLI command to set a VM extension. You can also deploy the VM application to currently running VMs by selecting the Extensions + applications option under Settings in the left menu when viewing the VM details in the portal¹.

    You need to have Azure Virtual Machine Agent for Windows installed to handle extensions on the VM².

    If you want to become a VM Extension publisher in Azure Portal, you can follow this process:

    1. Create an account on Microsoft Partner Center.
    2. Register as a publisher.
    3. Create an Azure Marketplace offer.
    4. Submit your offer for validation and certification⁴.

    Let me know if this answer your question!

    (1) Deploy VM extensions with template - Azure Resource Manager. https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-deploy-vm-extensions.

    (2) Azure VM extensions and features for Windows - Azure Virtual Machines .... https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/features-windows.

    (3) Publishing VM Extensions in Azure Portal - Microsoft Q&A. https://learn.microsoft.com/en-us/answers/questions/702357/publishing-vm-extensions-in-azure-portal.

    (4) Azure virtual machine extensions and features. https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/overview.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.