File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
articles/virtual-machines/extensions Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ sed -i "s#__DIAGNOSTIC_STORAGE_ACCOUNT__#$my_diagnostic_storage_account#g" porta
78
78
sed -i " s#__VM_RESOURCE_ID__#$my_vm_resource_id #g" portal_public_settings.json
79
79
80
80
# Build the protected settings (storage account SAS token)
81
- my_diagnostic_storage_account_sastoken=$( az storage account generate-sas --account-name $my_diagnostic_storage_account --expiry 9999 -12-31T23:59Z --permissions wlacu --resource-types co --services bt -o tsv)
81
+ my_diagnostic_storage_account_sastoken=$( az storage account generate-sas --account-name $my_diagnostic_storage_account --expiry 2037 -12-31T23:59:00Z --permissions wlacu --resource-types co --services bt -o tsv)
82
82
my_lad_protected_settings=" {'storageAccountName': '$my_diagnostic_storage_account ', 'storageAccountSasToken': '$my_diagnostic_storage_account_sastoken '}"
83
83
84
84
# Finallly tell Azure to install and enable the extension
You can’t perform that action at this time.
0 commit comments