As @jitter answered, if using kind = BlobStorage
, the accessTier in properties is required. reference
resource storageAccount1 'Microsoft.Storage/storageAccounts@2023-05-01' = {
name: 'satest111'
location: 'westus'
sku: {
name: 'Standard_LRS'
}
kind: 'BlobStorage'
properties: {
accessTier: 'Cold'
}
}
Try to use kind = 'StorageV2'
to make it easy if the kind not mandatory, v2 type is also recommanded.
resource storageAccount2 'Microsoft.Storage/storageAccounts@2023-05-01' = {
name: 'satest222'
location: 'westus'
sku: {
name: 'Standard_LRS'
}
kind: 'StorageV2'
}
here is a sample reference