Extension name (the extension in question)
image-copy
Description of issue (in as much detail as possible)
https://github.com/Azure/azure-cli-extensions/blob/master/src/image-copy/azext_imagecopy/create_target.py#L32
australiasoutheast + subscription_hash[:7] is longer as the limit for storage accounts
dirty work around in the create-target.py
subscription_hash = hashlib.sha1(subscription_id.encode("UTF-8")).hexdigest()
location_hash = hashlib.sha1(location.encode("UTF-8")).hexdigest()
unique_storage_account_string = location_hash[:11] + subscription_hash[:11]
# create the target storage account
logger.warn(
"%s - %s - Creating target storage account (can be slow sometimes)", location, unique_storage_account_string)
target_storage_account_name = unique_storage_account_string
should be uniqe enough, while still under the limit of 24 chars