Windows Managed Deployment (Intune)

Updated: October 9, 2026

Deploy the FireTail Endpoint Agent to your Windows fleet with Microsoft Intune. The MSI installs the agent as a Windows service running as LocalSystem and, by default, installs the FireTail root CA into the machine trust store. Use the device (SYSTEM) installation context for deployment through Intune. Installation context is determined by the package and app settings; assigning an app to a device or user group does not, by itself, select that context.

You will need:

MSI properties

The MSI accepts the following properties. Pass them on the msiexec command line for a silent install.

Property Required Default Description
TOKEN On first installation - FireTail project token. The token prefix (FTPSB, FTPST, FTPPREU, FTPPRUS) selects the SaaS environment.
PROXY_PORT No 8081 Local port the agent uses to proxy traffic.
API_PORT No 8085 Local port for the agent's management API.
INSTALL_CERT_FLAG No -install_cert Set to empty (INSTALL_CERT_FLAG="") only when C:\ProgramData\FireTail\ca-cert.pem and its matching ca-key.pem have already been deployed, and the exact certificate is trusted in LocalMachine\Root. Installation fails if the pair or trust cannot be verified. A certificate-only policy is insufficient.
OVERWRITE_CERTS_FLAG No Empty Preserves an existing CA by default. Set to -overwrite-certs to generate and install a replacement CA when certificate installation is enabled. Redistribute the new certificate to any WSL distributions and tools that used the old one.
INTERCEPT_MODE No proxy on first installation Traffic interception mode. proxy uses the Windows system proxy; transparent (beta) captures traffic at the network interface, which also covers WSL and command-line tools. Silent upgrades preserve the current mode when this property is omitted.
RECONFIGURE No Empty Set to 1 when deploying a new MSI build to apply configuration changes while reusing the project token stored on the device.

A silent upgrade without TOKEN or RECONFIGURE=1 leaves the existing configuration unchanged. Reinstalling or repairing the same MSI does not rerun configuration, even when these properties are supplied.

If you provision the certificate and key separately, restrict private key access to SYSTEM and Administrators and deploy it through a channel intended for secrets. Do not include the private key in a package distributed to users.

Clients whose traffic is intercepted must trust the FireTail CA. Windows trust does not configure the separate trust stores inside WSL; some tools also need additional configuration. See Trusting the CA in WSL and developer tools below.

Recommended: Deploy as a Line-of-business app

The MSI is a standard Windows Installer package, so the simplest path is to upload it directly as a Line-of-business (LOB) app in Intune.

  1. In the Microsoft Intune admin center, go to Apps -> Windows -> Create.

  2. For App type, select Line-of-business app, then click Select.

  3. App package file: upload FireTail_Agent_x86_64.msi.

  4. App information: fill in Publisher (FireTail) and any other required fields. Confirm App install context is Device. Intune determines this from the MSI package; the setting may be read-only.

  5. Command-line arguments: enter the following, substituting your token. Do not include msiexec /i FireTailAgent.msi here - Intune adds that automatically.

    TOKEN=YOUR_PROJECT_TOKEN
  6. Assignments: assign to a device group as a Required install. User-group assignments can also use device installation context; keep the installation context set to Device.

  7. Click Next -> Create.

Intune will deliver and install the MSI silently on the next device check-in.

Alternative: Deploy as a Win32 app

Deploy as a Win32 app if you need more control over detection rules, requirements, or return codes.

Package the MSI as an .intunewin file

  1. Download the Microsoft Win32 Content Prep Tool.

  2. Place FireTail_Agent_x86_64.msi in a source folder, e.g. C:\firetail-source\.

  3. Run:

    .\IntuneWinAppUtil.exe -c C:\firetail-source -s FireTail_Agent_x86_64.msi -o C:\firetail-output

    This produces FireTail_Agent_x86_64.intunewin.

Read the MSI product code

Each build has its own MSI ProductCode. Use the code from the MSI you packaged for both the uninstall command and the detection rule. You can use the value Intune extracts from the package, or read it in Windows PowerShell without installing the MSI:

$msiPath = (Resolve-Path 'C:\firetail-source\FireTail_Agent_x86_64.msi').Path
$installer = New-Object -ComObject WindowsInstaller.Installer
$database = $installer.OpenDatabase($msiPath, 0)
$view = $database.OpenView('SELECT `Value` FROM `Property` WHERE `Property` = ''ProductCode''')
$view.Execute()
$record = $view.Fetch()
$record.StringData(1)
$view.Close()

Copy the returned GUID, including its braces, and use it for <PRODUCT_CODE> below. Update the uninstall command and detection rule whenever you package a new build. The package's UpgradeCode identifies the product family and cannot be used in place of ProductCode.

Create the Win32 app in Intune

Replace <PROJECT_TOKEN> in the install command with your project token.

  1. In the Intune admin center, go to Apps -> Windows -> Create and select Windows app (Win32).

  2. App package file: upload FireTail_Agent_x86_64.intunewin.

  3. Program:

    • Install command:

      cmd.exe /d /c msiexec.exe /i "FireTail_Agent_x86_64.msi" TOKEN= /qn /norestart /L*v "%SystemRoot%\Temp\FireTail-install.log"
    • Uninstall command:

      msiexec /x "" /qn /norestart
    • Install behavior: System.

    • Device restart behavior: No specific action.

  4. Requirements:

    • Operating system architecture: x64.
    • Minimum operating system: select a Windows version supported by your organization and tested with the agent. Target devices must also meet Intune's Win32 app requirements.
  5. Detection rules: select Manually configure detection rules, then add an MSI rule:

    • MSI product code: the ProductCode from the MSI you packaged, including its braces. Use the same value in place of <PRODUCT_CODE> in the uninstall command.
    • MSI product version check: No.
  6. Assignments: assign to a device group as a Required install.

  7. Click Next -> Create.

The install command writes its log to the existing Windows temporary directory. Windows Installer requires the log directory to exist before installation starts. The cmd.exe wrapper expands %SystemRoot% before running msiexec.

Updating the agent

To update the FireTail Endpoint Agent, deploy a newer MSI over the existing installation. The MSI handles replacing the previous version and restarting the service; a separate uninstall is not required. Download the newer package and verify its SHA-256 checksum using the Windows release details.

Use the update process for your deployment type:

  • Line-of-business app: select the existing app in Intune, open Properties, and edit App information. Use Select file to update to upload the newer MSI, confirm that App version reflects the new package, and save the change. See Microsoft's LOB update instructions.
  • Win32 app: package the newer MSI as an .intunewin file and create a new app using the steps above. Use the new MSI's ProductCode for its detection rule and uninstall command. Configure it to supersede the previous app with Uninstall previous version set to No, then assign the new app to the target device group as a Required install. See Microsoft's Win32 supersedence instructions.

For an update assigned only to devices where the agent is already configured, omit TOKEN and RECONFIGURE to preserve the existing configuration. For example, use this Win32 install command:

cmd.exe /d /c msiexec.exe /i "FireTail_Agent_x86_64.msi" /qn /norestart /L*v "%SystemRoot%\Temp\FireTail-install.log"

For a LOB update limited to those devices, leave Command-line arguments empty. Keep certificate overwrite disabled to retain the existing CA certificate and private key.

If the assignment also covers devices receiving their first installation, keep TOKEN=YOUR_PROJECT_TOKEN and any required configuration properties. Supplying TOKEN also reapplies configuration on upgraded devices, so review the port and traffic interception settings before deployment.

After the update, repeat the checks in Verifying the deployment below and confirm that new activity appears in Employee Logs.

Trusting the CA in WSL and developer tools

The default installation generates a CA for each device. Use that device's C:\ProgramData\FireTail\ca-cert.pem when configuring its WSL distributions and tools. Follow the certificate trust instructions after the agent has been installed.

Use an Intune script to configure Windows environment variables where a tool requires them. For example, run this as SYSTEM to add the device's CA for tools that support NODE_EXTRA_CA_CERTS:

[Environment]::SetEnvironmentVariable(
  'NODE_EXTRA_CA_CERTS',
  (Join-Path $env:ProgramData 'FireTail\ca-cert.pem'),
  'Machine'
)

Restart the affected applications and terminals after updating their environment. Configure trust inside each WSL distribution separately, using the Windows account that owns it; a Windows certificate profile does not update the Linux trust store. Distribute only the certificate to these clients. The agent's private key remains on the Windows device.

Verifying the deployment

On a target device, open 64-bit PowerShell as Administrator. The certificate verification command needs access to the agent's protected private key. For checks run through Intune, use the SYSTEM context and 64-bit PowerShell.

  1. Confirm the service is running:

    Get-Service FireTailAgent | Select-Object Name, Status, StartType

    Status should be Running, StartType Automatic.

  2. Verify that the certificate and private key on disk match, the certificate has not expired, and that exact certificate is present in the machine root store:

    & "$env:ProgramFiles\FireTail\firetail-installer.exe" -verify_cert
    "exit=$LASTEXITCODE"

    Expect exit=0. Resolve any certificate verification error before treating the deployment as complete.

  3. Review the agent's runtime log for startup or interception errors:

    Get-Content "$env:SystemRoot\Temp\FireTail\agent-service.log" -Tail 20 -Wait
  4. For Win32 deployments using the install command above, check %SystemRoot%\Temp\FireTail-install.log if installation fails. LOB deployments do not create this custom log; use Intune's installation status and diagnostics for those deployments.

  5. Interact with a supported AI provider and confirm activity appears in Employee Logs. A running service alone does not confirm that interception is active.

Troubleshooting

Certificate verification fails. Run the verification command above as Administrator or SYSTEM and read the reported error. If the certificate or private key is missing, mismatched, or expired, restore the matching managed pair or plan a CA replacement. If only the Windows trust entry is missing, restore trust for the existing certificate. Keep the certificate on disk and the trusted root consistent.

If verification reports only a missing root-store entry and the certificate on disk is the intended CA, import that existing certificate from elevated PowerShell:

Import-Certificate -FilePath "$env:ProgramData\FireTail\ca-cert.pem" -CertStoreLocation Cert:\LocalMachine\Root -ErrorAction Stop

After restoring the certificate, key, or trust entry, verify again and restart the service only if verification succeeds:

& "$env:ProgramFiles\FireTail\firetail-installer.exe" -verify_cert
if ($LASTEXITCODE -ne 0) { throw 'FireTail certificate verification failed.' }
Restart-Service FireTailAgent

Rerunning or repairing the same installed MSI does not rerun its certificate configuration step. Generate a replacement CA only when you intend to rotate it. The installed helper's -install_cert option can generate a new pair if the root is absent, even without -overwrite-certs. After a replacement, update every WSL distribution and tool that trusted the old certificate.

Windows certificate verification passes, but a tool reports HTTPS certificate errors. Check that tool's trust configuration. WSL and applications with their own CA bundles may need additional setup even when Windows trusts the CA. See Trusting the FireTail CA in WSL and developer tools.

The service is running in transparent mode, but no traffic is captured. Check the runtime log for TUN startup errors. Temporary failures are retried, but there is no automatic fallback to proxy mode. Resolve the reported failure and verify activity in Employee Logs.

Intune reports error 0x80070652. Another MSI install is in progress. Wait for it to finish and retry.

Intune reports error 1603. A fatal error during install. For the Win32 command above, retrieve %SystemRoot%\Temp\FireTail-install.log and inspect it for the failing custom action. Intune Management Extension diagnostics are available under C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\ for Win32 deployments.