az resource tag failing to update replicated storage accounts #30522
Labels
ARM
az resource/group/lock/tag/deployment/policy/managementapp/account management-group
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Describe the bug
When trying to add tags to a storage account I get an error when the storage account is replicated to another region.
Command Name
az resource tag
Errors:
To Reproduce:
Steps to reproduce the behavior.
Geo-redundant storage (GRS)
az resource tag -g myGroup -n myStorageaccount --resource-type "Microsoft.Storage/storageAccounts" --tags Zoe=1
Expected Behavior
I expect the tags to be added to the storage account. I have no ability to provide (or omit) the
secondaryLocation
on theaz resource tag
command.This works perfectly fine for most storage accounts, but fails on the one that is setup for replication.
Environment Summary
Additional Context
Similar to an issue I have with tagging managed instances: #30095
The text was updated successfully, but these errors were encountered: