Custom Script Extension
Last updated
Last updated
Extensions are "small applications" used to provide post deployment configuration and other management tasks. Custom Script Extension is used to run scripts on Azure VMs. The script is executed with SYSTEM privileges. Can be deployed to a running VM. Only one extension can be added to a VM at a time. So it is not possible to add multiple custom script extensions to a single VM.
Following permissions are required to create a custom script extension and read the output:
Microsoft.Compute/virtualMachines/extensions/write
Microsoft.Compute/virtualMachines/extensions/read