# Unable to install Windows OneAgent (extension) on Azure Virtual Machine

**URL:** <https://community.dynatrace.com/t/unable-to-install-windows-oneagent-extension-on-azure-virtual-machine/52007>\
**Category:** Cloud platforms\
**Tags:** windows, azure, oneagent\
**Created:** [June 10, 2025, 3:29pm UTC](https://community.dynatrace.com/t/unable-to-install-windows-oneagent-extension-on-azure-virtual-machine/52007 "2025-06-10T15:29:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jet](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@Jet](https://community.dynatrace.com/u/Jet)\
**Post date:** [June 10, 2025, 3:29pm UTC](https://community.dynatrace.com/t/unable-to-install-windows-oneagent-extension-on-azure-virtual-machine/52007/1 "2025-06-10T15:29:10Z")

</div>

We are attempting to install Dynatrace OneAgents on Azure Windows VMs using the extension but have been unsuccessful. We tried installing the OneAgent extension both via the Azure Portal and the Azure CLI, but neither method worked. We followed the instructions in this&nbsp;[Dynatrace documentation](https://docs.dynatrace.com/docs/ingest-from/microsoft-azure-services/azure-integrations/azure-vm#azure-vm-installation--azure-cli-2-0).

However, the extension installations work correctly for Azure App Services, Azure Virtual Machine Scale Sets (Windows Server 2019), and Azure Linux VMs.

On an affected Azure Virtual Machine, we found the following error in the Windows Event Log:

> **Error:** &nbsp;_“Product: Dynatrace OneAgent – OneAgent cannot be installed on an unsupported platform. If you want to install OneAgent anyway, use the flag&nbsp;SKIP\_OS\_SUPPORT\_CHECK=true.”_

We are using&nbsp;**Windows 11 Enterprise multi-session (23H2)**&nbsp;and&nbsp;**Windows 11 Pro N (23H2).**

Manual installation seems working. Amy chance to install OneAgent as VM extension and pass parameter&nbsp;_SKIP\_OS\_SUPPORT\_CHECK=true_ ?

---

<div class="post-metadata">

**Author:** ![marco\_irmer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marco_irmer/32/3038_2.png) [@marco\_irmer](https://community.dynatrace.com/u/marco_irmer)\
**Post date:** [June 16, 2025, 8:28pm UTC](https://community.dynatrace.com/t/unable-to-install-windows-oneagent-extension-on-azure-virtual-machine/52007/2 "2025-06-16T20:28:47Z")

</div>

Have you tried incorporating the necessary [flag](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/windows/installation/customize-oneagent-installation-on-windows#skipping-operating-system-support-check) into the installer arguments? I believe going through the CLI gives you the ability to add the ‘installerArguments’ parameter. An [example](https://docs.dynatrace.com/docs/ingest-from/microsoft-azure-services/azure-integrations/azure-vm#configure-network-zones) of doing this is available in the docs for adding in a network zone (see line #6). It would stand to reason that you could put the SKIP\_OS\_SUPPORT\_CHECK in there.

---

<div class="post-metadata">

**Author:** ![Jet](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@Jet](https://community.dynatrace.com/u/Jet)\
**Post date:** [June 18, 2025, 3:16am UTC](https://community.dynatrace.com/t/unable-to-install-windows-oneagent-extension-on-azure-virtual-machine/52007/3 "2025-06-18T03:16:19Z")

</div>

Thanks. Seems working for us.

az vm extension set `  
--resource-group \<resource-group\> `  
--vm-name \<vm-name. `  
--name “oneAgentWindows” `  
--publisher “dynatrace.ruxit” `  
--settings ‘{“token”: \<token\>, “tenantId”: \<tenant\>, “hostGroup”: \<hostgroup\>, “server”: \<server\>, “installerArguments”:“SKIP\_OS\_SUPPORT\_CHECK=true”}’
