Skip to content

when WAD installing the command succeed even though storageAccountSasToken is empty (in LAD, installation fail when storageAccountSasToken is empty) #21397

@dainomat

Description

@dainomat

Hi experts,

When az vm diagnostics set running, WAD installation will succeed even though storageAccountSasToken is empty. However, in LAD installation, it will fail.

"storageAccountSasToken is empty" mean like this:
set="{'storageAccountName':'$sa', 'storageAccountSasToken':''}"
extension=$(az vm diagnostics set --settings "$defcon" --protected-settings "$set" --subscription $subscription --resource-group $rg --vm-name $vm -o tsv --query name)

I think it should fail when storageAccountSasToken is empty because this value is essential. Please revise code not to install.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botComputeaz vm/vmss/image/disk/snapshotact-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions