Manually install the extension using the Azure Portal, Azure CLI, or Azure PowerShell
You can manually install the Tanium Client VM extension on an existing VM resource using the following methods:
-
Azure Portal: the Extensions + Applications menu
-
Azure CLI: the
az vm extension setcommand -
Azure PowerShell: the
Set-AzVMExtensioncommand
For more information about manually installing extensions, see the following Microsoft Azure documentation:
-
Microsoft Azure Documentation: Virtual machine extensions and features for Linux
-
Microsoft Azure Documentation: Virtual machine extensions and features for Windows.
For the properties to use to include the extension using Azure CLI or Azure PowerShell, see Resource properties for the Tanium Client VM extension. For the properties to configure the extension using any available method, see Tanium Client VM extension properties.
The following example demonstrates using the Azure CLI to manually install the Tanium Client VM extension on an existing Linux VM:
declare _base64_tanium_init_dat=$(base64 < "./tanium-init.dat")
az vm extension set --name TaniumClientLinux \
--publisher Tanium.Client \
--vm-name MyLinuxVM \
--resource-group MyResourceGroup \
--protected-settings '{"TaniumInitDat":"'$_base64_tanium_init_dat'","TaniumServer":"MyTaniumServer"}