AutomoxAutomox

Azure Policy - Bulk deploy Agent if it doesn't exist

Paolo Andrade
February 27, 2025 at 10:54 pm UTC

Hello Automox Community1

Has anyone been able to deploy the agent using Azure Policy? I understand going the gold image route is the typical way. But I’d like to have other options of automating the Agent deployment if it’s missing on an Azure server VM.

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack

Replies (3)

AX-YazMorenoMarch 3, 2025
#1

Hello ​@Paolo Andrade, 

Thank you for your question. You can find information on deploying the Automox Agent to Intune-Enrolled Devices in the following link: https://docs.automox.com/product/Product_Documentation/Agents/Agent_Installation/Bulk_Agent_Deployment/Deploying_the_Automox_Agent_to_Intune_enrolled_Devices.htm

 

You’ll find a video walkthrough there as well. If you have any other questions please let me know!

Paolo AndradeMarch 3, 2025
#2

this would be for Azure server VMs - NON intune enrolled Server VMs. 

Paolo AndradeMarch 4, 2025
#3

chatgpt also recommended Azure Automation - Powershell runbooks but some stuff seems off from this script provided by chatgpt:

 

$AutomoxOrgKey = "YOUR_AUTOMOX_ORG_KEY"

$InstallerUrl = "https://console.automox.com/downloadInstaller.exe"

# Download the Automox agent installer $InstallerPath = "$env:TEMP\automox_installer.exe"

Invoke-WebRequest -Uri $InstallerUrl -OutFile $InstallerPath

# Install the agent

Start-Process -FilePath $InstallerPath -ArgumentList "/S /KEY=$AutomoxOrgKey" -Wait -PassThru

# Remove installer file after installation

Remove-Item -Path $InstallerPath -Force

 

(Obviously i have to replace the org key) but the URL i think has to be something else.