Open
Description
Setting isHnsEnabled: false
throws an error:
The property 'isHnsEnabled' was specified in the input, but it cannot be updated as it is read-only. For more information, see - https://aka.ms/storageaccountupdate
When setting isHnsEnabled: true
, you can successfully redeploy the storage account.
Tested when deploying and redeploying storage accounts via Bicep using 'Microsoft.Storage/storageAccounts@2021-08-01' against pre-existing non-Hns storage accounts (created with API v. 2021-04-01) and when creating an Hns storage account.
Also see other people reporting the same issue:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment