Updating Dynatrace OneAgent on VM hosts
Azure Portal
- Log in to the Azure Portal.
- Navigate to the Virtual Machine host where you want to trigger the update.
- Select Extensions + applicationsfrom the left-hand menu. 
- Select the Dynatraceextension from the list of extensions. It may be called something else but the type should bedynatrace.ruxit.oneAgentLinux.
- Click on the Updatebutton to trigger the update. 
- The update will usually take a few minutes to complete. Once complete, you’ll get a notification in the Azure Portal and the version should have changed in the UI.
 
Azure CLI
- Open a terminal and log in to the Azure CLI with az login.
- Run the following command to update the OneAgent extension on the VM host:
# Linux VM
az vm extension set --subscription "mySubscription1" --resource-group "myResourceGroup1" --vm-name "myVM1" --name "Dynatrace" --publisher "dynatrace.ruxit.oneAgentLinux" --force-update
# Windows VM
az vm extension set --subscription "mySubscription1" --resource-group "myResourceGroup1" --vm-name "myVM1" --name "Dynatrace" --publisher "dynatrace.ruxit.oneAgentWindows" --force-update
      This page was last reviewed on 8 November 2024.
        It needs to be reviewed again on 8 November 2025
        by the page owner platops-build-notices
        .
    
    
      This page was set to be reviewed before 8 November 2025
       by the page owner platops-build-notices.
      This might mean the content is out of date.