Skip to main content
Question

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

  • February 27, 2025
  • 3 replies
  • 64 views

Forum|alt.badge.img

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.

3 replies

AX-YazMoreno
Forum|alt.badge.img
  • Automox Employee
  • March 3, 2025

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!


Forum|alt.badge.img

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


Forum|alt.badge.img

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.