Deploy the Tanium Client to Azure Arc-connected endpoints
You can use a Tanium Client Azure Arc extension to deploy the Tanium Client on Azure Arc-connected machines. The Azure Connected Machine agent on each machine handles the installation automatically.
Requirements
Operating system support
The Tanium Client Azure Arc extension supports both Windows and Linux Arc-connected machines. Supported versions and Linux distributions are the same as for any Tanium Client deployment; see Client version and operating system requirements.
Prerequisites
Before you install the extension, you need a tanium-init.dat file for your environment:
-
Enable the Microsoft Azure Arc integration in the Integrations Gallery. For more information, see Enable the integration.
-
Create a Tanium Client initialization profile to generate the tanium-init.dat file and copy the base64-encoded contents. For more information, see Create a Tanium Client initialization profile.
Installation methods
You can install the Tanium Client Azure Arc extension on Arc-connected machines using any of the following methods:
Manually install the extension using the Azure CLI
You can manually install the Tanium Client Azure Arc extension on an existing Arc-connected machine using the az connectedmachine extension create command.
For more information about managing extensions on Arc-connected machines, see Microsoft Azure Documentation: Manage VM extensions with Azure CLI.
For the properties to use in the command, see Resource properties for the Tanium Client Azure Arc extension and Tanium Client Azure Arc extension properties.
The following example shows how to install the Tanium Client Azure Arc extension on an Arc-connected machine using the Azure CLI:
Configure the extension as a resource in an Azure Policy
You can add the Tanium Client Azure Arc extension to an Azure Policy to deploy the Tanium Client on both new and pre-existing Arc-connected machines. Include the Tanium Client Azure Arc extension in the resources of a policy with the effect of deployIfNotExists, and specify the properties as appropriate. You can assign policies to management groups, subscriptions, resource groups, and resources.
For information about creating and assigning Azure Policies, see Microsoft Azure Documentation: Azure Policy documentation.
For the properties to use in the policy JSON, see Resource properties for the Tanium Client Azure Arc extension and Tanium Client Azure Arc extension properties.
Sample Azure Policy for Windows
This policy applies to Microsoft.HybridCompute/machines resources where osName is windows.
{
"mode": "All",
"policyRule": {
"if": {
"allOf": [
{ "field": "type", "equals": "Microsoft.HybridCompute/machines" },
{ "field": "Microsoft.HybridCompute/machines/osName", "equals": "windows" }
]
},
"then": {
"effect": "deployIfNotExists",
"details": {
"type": "Microsoft.HybridCompute/machines/extensions",
"evaluationDelay": "AfterProvisioningSuccess",
"existenceCondition": {
"allOf": [
{ "field": "Microsoft.HybridCompute/machines/extensions/type", "equals": "TaniumClientWindows" },
{ "field": "Microsoft.HybridCompute/machines/extensions/publisher", "equals": "Tanium.Client" }
]
},
"roleDefinitionIds": [
"[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/cd570a14-e51a-42ad-bac8-bafd67325302')]"
],
"deployment": {
"properties": {
"mode": "incremental",
"template": {
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"machineName": { "type": "string" },
"location": { "type": "string" },
"TaniumInitDat": { "type": "string" }
},
"resources": [
{
"name": "[concat(parameters('machineName'),'/TaniumClientWindows')]",
"type": "Microsoft.HybridCompute/machines/extensions",
"location": "[parameters('location')]",
"apiVersion": "2022-11-10",
"properties": {
"publisher": "Tanium.Client",
"type": "TaniumClientWindows",
"autoUpgradeMinorVersion": true,
"settings": {},
"protectedSettings": { "TaniumInitDat": "[parameters('TaniumInitDat')]" }
}
}
]
},
"parameters": {
"machineName": { "value": "[field('name')]" },
"location": { "value": "[field('location')]" },
"TaniumInitDat": { "value": "[parameters('TaniumInitDat')]" }
}
}
}
}
}
},
"parameters": {
"TaniumInitDat": { "type": "String", "metadata": { "displayName": "TaniumInitDat", "description": null } }
}
}
Sample Azure Policy for Linux
This policy applies to Microsoft.HybridCompute/machines resources where osName is linux.
{
"mode": "All",
"policyRule": {
"if": {
"allOf": [
{ "field": "type", "equals": "Microsoft.HybridCompute/machines" },
{ "field": "Microsoft.HybridCompute/machines/osName", "equals": "linux" }
]
},
"then": {
"effect": "deployIfNotExists",
"details": {
"type": "Microsoft.HybridCompute/machines/extensions",
"evaluationDelay": "AfterProvisioningSuccess",
"existenceCondition": {
"allOf": [
{ "field": "Microsoft.HybridCompute/machines/extensions/type", "equals": "TaniumClientLinux" },
{ "field": "Microsoft.HybridCompute/machines/extensions/publisher", "equals": "Tanium.Client" }
]
},
"roleDefinitionIds": [
"[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/cd570a14-e51a-42ad-bac8-bafd67325302')]"
],
"deployment": {
"properties": {
"mode": "incremental",
"template": {
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"machineName": { "type": "string" },
"location": { "type": "string" },
"TaniumInitDat": { "type": "string" }
},
"resources": [
{
"name": "[concat(parameters('machineName'),'/TaniumClientLinux')]",
"type": "Microsoft.HybridCompute/machines/extensions",
"location": "[parameters('location')]",
"apiVersion": "2022-11-10",
"properties": {
"publisher": "Tanium.Client",
"type": "TaniumClientLinux",
"autoUpgradeMinorVersion": true,
"settings": {},
"protectedSettings": { "TaniumInitDat": "[parameters('TaniumInitDat')]" }
}
}
]
},
"parameters": {
"machineName": { "value": "[field('name')]" },
"location": { "value": "[field('location')]" },
"TaniumInitDat": { "value": "[parameters('TaniumInitDat')]" }
}
}
}
}
}
},
"parameters": {
"TaniumInitDat": { "type": "String", "metadata": { "displayName": "TaniumInitDat", "description": null } }
}
}
Resource properties for the Tanium Client Azure Arc extension
The following table provides the resource properties to include when you install the Tanium Client Azure Arc extension on Arc-connected machines using the az connectedmachine extension create command.
|
ARM template JSON key |
|
Value |
|---|---|---|
publisher |
--publisher |
Tanium.Client |
type |
--type |
TaniumClientWindows or TaniumClientLinux |
typeHandlerVersion |
--type-handler-version |
The current version of the extension. To find the version, run the following command: az connectedmachine extension image list --location <your-azure-region> --publisher Tanium.Client --type <type-value> -o table For more information, see Microsoft Documentation: az connectedmachine extension image list. |
Tanium Client Azure Arc extension properties
The Tanium Client Azure Arc extension supports protected settings that you can use to configure the Tanium Client deployment when you manually install the extension.
|
Setting in Azure Portal |
JSON Key |
Required |
Description |
|---|---|---|---|
|
Base 64 of tanium-init.dat File |
TaniumInitDat |
Yes |
Provides the contents of the tanium-init.dat file that you use to deploy the Tanium Client, encoded as base64. You can create a Tanium Client initialization profile in Tanium™ Integrations Gallery to create this file and optionally download the contents already encoded as base64. For more information, see Create a Tanium Client initialization profile.
Tip: For methods to convert a tanium-init.dat file to base64 (if you did not copy the base64 from Integrations Gallery), see Convert the tanium-init.dat file to base64.
|
|
Server Name |
TaniumServerName |
Yes |
Specifies the FQDN or IP address of the FQDN from the first Tanium Cloud Client Edge URL with which the Client connects. If the tanium-init.dat file contains the ServerNameList setting, or if you specify a Server list for the VM, the first Server that the Tanium Client selects from the listed Servers overwrites this setting. For more information, see Configuring connections to the Tanium Core Platform. |
|
Server List |
TaniumServerList |
No |
Specifies the FQDNs from Tanium Cloud Client Edge URLs with which the Client can try to connect as a comma-separated list. This value is unnecessary if the tanium-init.dat file specifies Server names. For more information, see Configuring connections to the Tanium Core Platform. |
|
Server Port |
TaniumServerPort |
No |
Specifies the port to use for communication between Clients and between Clients and Tanium Cloud. Specify 17472, or omit this value. |
|
Client Listen Port |
TaniumClientListenPort |
No |
Specifies the port on which the Client listens for communications from peer Clients. Specify 17472, or omit this value. |
|
Proxy Servers |
TaniumProxyServers |
No |
Specifies the IP address or FQDN, and port number, of an HTTPS forward proxy server through which the Tanium Client connects to Tanium Cloud. You can specify multiple proxies as a comma-separated list in the format "<proxy1>:<port>,...,<proxyN>:<port>". The Client tries to connect to the proxies in the order that you list them. After any single connection succeeds, the Client stops trying to connect with more proxies. If no proxy is available, the Client falls back to connecting directly with Tanium Cloud. For more information, see Configure specific proxy servers during Client deployment. |
|
Client Version |
TaniumClientVersion |
No |
The version of the Tanium Client to install. If you omit this value, the latest version of the Tanium Client is installed.
Note: Omit this value and install the latest version of the Tanium Client.
|
|
Log Level |
TaniumClientLogLevel |
No |
The logging level of the Tanium Client, specified as an integer.
Note:
A value of 0 disables logging. As a best practice, do not disable logging. |
Convert the tanium-init.dat file to base64
If you did not copy the base64-encoded contents of the tanium-init.dat file from Integrations Gallery, use one of the following methods to supply the file in base64 format.
Convert to base64 to copy into the template JSON
You can use one of the following commands to base64-encode the tanium-init.dat file:
-
Windows: powershell "[Convert]::ToBase64String([IO.File]::ReadAllBytes('<absolute-path-to-init-file>\tanium-init.dat'))"
-
Non-Windows: base64 -i '<path-to-init-file>/tanium-init.dat'
Verify the installation
After the extension installation completes, verify that the Tanium Client is running and registered with the Tanium server.
Troubleshooting
If you encounter an issue with the Tanium Client Azure Arc extension installation on Arc-connected machines, check the following items:
- Confirm the Azure Connected Machine agent is installed on the target machine and the machine appears as an Arc-connected resource in the Azure portal. The extension cannot install if the agent is not present.
- If your Azure Arc environment uses an extension allow list, confirm Tanium.Client is an allowed publisher. A missing allow list entry silently blocks the installation without surfacing an error in the portal.
- If the Azure portal shows Provisioning instead of Succeeded after installation completes, the extension may still be installed and running correctly on the machine. Verify the Tanium Client status directly on the endpoint and in the Tanium Console.
- If the extension installation fails or the endpoint does not appear in the Tanium Console, contact Tanium Support for assistance.