az acr create ends in storage account not found
Using the following command, trying to create a registry:
az acr create -g $RESOURCE_GROUP -n $REGISTRY_NAME -l eastus
Error:
At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details. {
"message": "Storage account <omitted>was not found in subscription <omiited>."
}
Same issue if a storage account is provided in the command.
az --version
azure-cli (2.0.0)
This is also reproducible with azure-cli (2.0.0+dev) @sozercan
@ritazh We have a fix for this and deploying soon
@sivagms ETA?
ETA is early next week. Will update this thread.
@sivagms is there a workaround for deploying ACR in the meantime? I've tried deploying through the portal, az/azure cli, ARM quick start templates and all fail with this error.
After a debugging session with @sivagms, he attributed it to using a subscription with a lot of storage accounts. I re-attempted deployment in a different subscription and that worked.
The fix is deployed to all regions. @ritazh Could you check if this solves the issue..
@sivagms Just tested my original script. It works now! 🎉 Closing this issue.