Share via

ErrorLoadingExtensionAndDefinition when installing AMD GPU driver

tek 20 Reputation points
2026-05-27T14:19:17.18+00:00

Hi Team

Getting the following error when installing the AMD GPU driver (No other driver is installed)

  • Error reason ErrorLoadingExtensionAndDefinition
  • Details Error: Error loading content
  • Extension Microsoft_Azure_CreateUIDef

Tate

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


Answer accepted by question author

Jilakara Hemalatha 13,875 Reputation points Microsoft External Staff Moderator
2026-05-28T16:51:26.33+00:00

Hello tek,

Thank you for providing the detailed information and screenshots. I appreciate your patience while we reviewed the issue.

Based on the behavior observed, this issue does not appear to be related to the AMD GPU hardware or the VM provisioning itself. The error is occurring before the actual GPU driver installation starts.

The message ErrorLoadingExtensionAndDefinition associated with Microsoft_Azure_CreateUIDef generally indicates that the Azure Portal is unable to properly load the extension configuration UI required for deploying the AMD GPU driver extension. In these scenarios, the issue is typically related to the Azure Portal experience, extension metadata loading, browser cache/session issues, or compatibility validation with newer operating system builds.

As an initial step, please try clearing the browser cache and cookies, using an InPrivate/Incognito session, or switching to Microsoft Edge before retrying the operation. In many similar cases, this resolved the issue by forcing the Azure Portal to reload the extension UI components correctly.

We also recommend stopping (deallocating) the VM and starting it again once. This refreshes the Azure VM Guest Agent, which is responsible for handling extension deployments inside the VM.

Additionally, please verify that the Microsoft.Compute resource provider is properly registered in the subscription. We also recommend confirming that the Azure VM Guest Agent service inside the VM is running and set to Automatic, since VM extensions depend on the Guest Agent service for installation and execution.

If there are any partially failed or stale VM extensions already associated with the VM, please remove the existing extension entry before retrying the deployment. In similar reported cases, removing the failed extension and redeploying it resolved the issue successfully.

You may use the following command to remove the existing extension:

Remove-AzVMExtension `
  -ResourceGroupName "<ResourceGroupName>" `
  -VMName "<VMName>" `
  -Name "AmdGpuDriverWindows"

Since the issue appears to be limited to the Azure Portal UI experience, the recommended approach is to deploy the AMD GPU driver extension using Azure PowerShell or Azure CLI, which bypasses the Portal completely and invokes the extension deployment directly through the backend.

You may use the following PowerShell command after replacing the VM name and resource group details:

Set-AzVMExtension `
  -ResourceGroupName "<ResourceGroupName>" `
  -VMName "<VMName>" `
  -Location "uksouth" `
  -Publisher "Microsoft.HpcCompute" `
  -ExtensionName "AmdGpuDriverWindows" `
  -ExtensionType "AmdGpuDriverWindows" `
  -TypeHandlerVersion "1.1"

For additional troubleshooting, you can also review the VM extension logs inside the VM at the following location:

C:\WindowsAzure\Logs\Plugins

If the extension deployment still does not succeed, you can proceed with manual driver installation by connecting to the VM and following the Microsoft documentation below:

Install AMD GPU drivers on N-series VMs running Windows

NVIDIA GPU Driver Extension for Windows

AMD GPU Driver Extension for Windows

Troubleshooting Azure Windows VM extension failures

Was this answer helpful?

2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Alex Burlachenko 21,715 Reputation points MVP Volunteer Moderator
    2026-05-29T10:22:04.4833333+00:00

    hi tek & thanks for join me here at Q&A portal,

    this looks like an Azure Portal extension blade/UI loading problem, not necessarily a driver install failure. Microsoft_Azure_CreateUIDef and Error loading content usually means the portal failed to load the extension definition form. Try installing the AMD GPU extension from CLI instead of Portal.

    For Windows AMD GPU VMs

    az vm extension set `

    --resource-group <rg> `

    --vm-name <vm-name> `

    --publisher Microsoft.HpcCompute `

    --name AmdGpuDriverWindows `

    --version 1.0

    AMD GPU driver doc's https://learn.microsoft.com/en-us/azure/virtual-machines/windows/n-series-amd-driver-setup

    If this is Linux, use the Linux AMD GPU extension path https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/hpccompute-amd-gpu-linux

    Look the VM size actually supports AMD GPU driver extension. The AMD extension is for NVv4, NVads V710 v5 and NGads V620 type SKUs, not every GPU VM. If the VM is NVIDIA-backed, use NVIDIA driver extension instead.

    If CLI deployment also fails, then collect the extension status az vm extension list -g <rg> --vm-name <vm-name> -o table

    az vm get-instance-view -g <rg> -n <vm-name> If CLI works, ignore the portal error. It is just the portal blade being broken.

    rgds,

    Alex

    &

    If my answer was helpful pls mark it and additional thx if u follow me at Q&A portal
    

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.