From c3135f45ad46f28d17b9b7da4478d6d66b8d53f4 Mon Sep 17 00:00:00 2001
From: liamk13 <93683358+liamk13@users.noreply.github.com>
Date: Tue, 12 Aug 2025 11:23:32 +0200
Subject: [PATCH 1/2] Update copy-snapshots-to-storage-account.sh
Updated [accessSas] to "accessSAS" to avoid failures
---
.../copy-snapshots-to-storage-account.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/virtual-machine/copy-snapshots-to-storage-account/copy-snapshots-to-storage-account.sh b/virtual-machine/copy-snapshots-to-storage-account/copy-snapshots-to-storage-account.sh
index c05f8f0d..80d976a3 100644
--- a/virtual-machine/copy-snapshots-to-storage-account/copy-snapshots-to-storage-account.sh
+++ b/virtual-machine/copy-snapshots-to-storage-account/copy-snapshots-to-storage-account.sh
@@ -1,4 +1,4 @@
-# Verified per Raman Kumar as of 2/23/2022
+# Verified by Liam Kelly as of 12/08/2025
#
#Provide the subscription Id where snapshot is created
@@ -28,7 +28,7 @@ destinationVHDFileName=myvhdfilename
az account set --subscription $subscriptionId
-sas=$(az snapshot grant-access --resource-group $resourceGroupName --name $snapshotName --duration-in-seconds $sasExpiryDuration --query [accessSas] -o tsv)
+sas=$(az snapshot grant-access --resource-group $resourceGroupName --name $snapshotName --duration-in-seconds $sasExpiryDuration --query "accessSAS" -o tsv)
az storage blob copy start --destination-blob $destinationVHDFileName --destination-container $storageContainerName --account-name $storageAccountName --account-key $storageAccountKey --source-uri $sas
#
From c74a90f6182e1ce6d2cbb4d9c6d69e22d7dfdd93 Mon Sep 17 00:00:00 2001
From: liamk13 <93683358+liamk13@users.noreply.github.com>
Date: Tue, 12 Aug 2025 11:24:52 +0200
Subject: [PATCH 2/2] Update copy-managed-disks-vhd-to-storage-account.sh
Updated [accessSas] to "accessSAS" to avoid failures
---
.../copy-managed-disks-vhd-to-storage-account.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/virtual-machine/copy-managed-disks-vhd-to-storage-account/copy-managed-disks-vhd-to-storage-account.sh b/virtual-machine/copy-managed-disks-vhd-to-storage-account/copy-managed-disks-vhd-to-storage-account.sh
index 2ec12f1e..5c6cefd2 100644
--- a/virtual-machine/copy-managed-disks-vhd-to-storage-account/copy-managed-disks-vhd-to-storage-account.sh
+++ b/virtual-machine/copy-managed-disks-vhd-to-storage-account/copy-managed-disks-vhd-to-storage-account.sh
@@ -1,4 +1,4 @@
-# Verified per Raman Kumar as of 2/23/2022
+# Verified by Liam Kelly as of 12/08/2025
#
#Provide the subscription Id where managed disk is created
@@ -28,7 +28,7 @@ destinationVHDFileName=myvhdfilename.vhd
az account set --subscription $subscriptionId
-sas=$(az disk grant-access --resource-group $resourceGroupName --name $diskName --duration-in-seconds $sasExpiryDuration --query [accessSas] -o tsv)
+sas=$(az disk grant-access --resource-group $resourceGroupName --name $diskName --duration-in-seconds $sasExpiryDuration --query "accessSAS" -o tsv)
az storage blob copy start --destination-blob $destinationVHDFileName --destination-container $storageContainerName --account-name $storageAccountName --account-key $storageAccountKey --source-uri $sas
#