From 7027903471b707eba633b9f4f31dae3b6a4f1c77 Mon Sep 17 00:00:00 2001 From: "Lucian S." Date: Thu, 4 Jun 2026 16:54:15 +0300 Subject: [PATCH] fix(vmbackup): remove unsupported Status parameter Removed -Status Registered from Get-AzRecoveryServicesBackupContainer. The parameter is not supported by the Az module version used by GitHub Actions runners and caused the VM backup workflow to fail. --- automation/modules/VmBackup/VmBackup.psm1 | 1 - 1 file changed, 1 deletion(-) diff --git a/automation/modules/VmBackup/VmBackup.psm1 b/automation/modules/VmBackup/VmBackup.psm1 index 023eb4a..416d770 100644 --- a/automation/modules/VmBackup/VmBackup.psm1 +++ b/automation/modules/VmBackup/VmBackup.psm1 @@ -31,7 +31,6 @@ function Enable-VmBackupProtection { $container = Get-AzRecoveryServicesBackupContainer ` -ContainerType AzureVM ` -FriendlyName $VmName ` - -Status Registered ` -ErrorAction SilentlyContinue if ($container) {