I'm unable to register SQL Server workload backup for any new VM built on Windows Server 2025 in a vault. The AzureBackupWindowsWorkload extension installs successfully, then crashes immediately with an unhandled NullReferenceException, and Azure Backup automatically rolls back and removes the extension. This is reproducible on two independently built VMs, both registering for SQL workload backup for the very first time.
Environment
- OS: Windows Server 2025 Datacenter, Build 26100
- SQL Server: 2022 (RTM-CU26), Standard Edition, default instance
- Extension:
Microsoft.Azure.RecoveryServices.WorkloadBackup.AzureBackupWindowsWorkload, version 1.1.0.145
- MSI: "Azure Workload Backup", installs as 2.0.9258.0, then updates in-place to 2.0.12000.0 immediately before the crash
- SQL IaaS Agent Extension: healthy, provisioning succeeded, Least Privilege Mode enabled
- Recovery Services vault: UK South region, Standard tier
- Basic VM-level (non-SQL) backup works fine on the same VM
What happens
- Backup Items → Add → SQL Database in Azure VM → select server → Start Discovery
- Portal returns:
The resource write operation failed to complete successfully, because it reached terminal
provisioning state 'Failed'. (Code: ResourceDeploymentFailure, Target: .../backupFabrics/Azure/
protectionContainers/VMAppContainer;Compute;<rg>;<vm-name>)
- VM Activity Log shows the extension actually installing successfully, then being deleted again by the Backup Management Service under a minute later.
- Windows Event Viewer (Application log) shows the real cause at the same timestamp:
Source: AzureWLBackupCoordinatorSvc
Service cannot be started. System.NullReferenceException: Object reference not set to an
instance of an object.
at Microsoft.Internal.CloudBackup.WorkloadExtension.Services.IaaSServiceBase.Initialize()
at Microsoft.Internal.CloudBackup.WorkloadExtension.Services.ExtensionCoordinatorServiceHost.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
This exact sequence (install → crash → automatic rollback) reproduces identically every time, including after a fully clean reinstall (manually removed the extension's package/log folders under C:\Packages\Plugins\... and C:\WindowsAzure\Logs\Plugins\... before retrying).I'm unable to register SQL Server workload backup for any new VM built on Windows Server 2025 in a particular subscription/vault. The AzureBackupWindowsWorkload extension installs successfully, then crashes immediately with an unhandled NullReferenceException, and Azure Backup automatically rolls back and removes the extension. This is reproducible on two independently built VMs, both registering for SQL workload backup for the very first time.
Environment
- OS: Windows Server 2025 Datacenter, Build 26100
- SQL Server: 2022 (RTM-CU26), Standard Edition, default instance
- Extension:
Microsoft.Azure.RecoveryServices.WorkloadBackup.AzureBackupWindowsWorkload, version 1.1.0.145
- MSI: "Azure Workload Backup", installs as 2.0.9258.0, then updates in-place to 2.0.12000.0 immediately before the crash
- SQL IaaS Agent Extension: healthy, provisioning succeeded, Least Privilege Mode enabled
- Recovery Services vault: UK South region, Standard tier
- Basic VM-level (non-SQL) backup works fine on the same VM
What happens
- Backup Items → Add → SQL Database in Azure VM → select server → Start Discovery
- Portal returns:
The resource write operation failed to complete successfully, because it reached terminal
provisioning state 'Failed'. (Code: ResourceDeploymentFailure, Target: .../backupFabrics/Azure/
protectionContainers/VMAppContainer;Compute;<rg>;<vm-name>)
- VM Activity Log shows the extension actually installing successfully, then being deleted again by the Backup Management Service under a minute later.
- Windows Event Viewer (Application log) shows the real cause at the same timestamp:
Source: AzureWLBackupCoordinatorSvc
Service cannot be started. System.NullReferenceException: Object reference not set to an
instance of an object.
at Microsoft.Internal.CloudBackup.WorkloadExtension.Services.IaaSServiceBase.Initialize()
at Microsoft.Internal.CloudBackup.WorkloadExtension.Services.ExtensionCoordinatorServiceHost.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
This exact sequence (install → crash → automatic rollback) reproduces identically every time, including after a fully clean reinstall (manually removed the extension's package/log folders under C:\Packages\Plugins\... and C:\WindowsAzure\Logs\Plugins\... before retrying).
I've been through all the network checks and account permissions, A full unregister/re-register of the SQL VM resource in azure.
Has anyone else seen IaaSServiceBase.Initialize() throw a NullReferenceException on Server 2025, or hit issues registering SQL workload backup specifically on Server 2025 + SQL 2022